Skip to main content
107
results
Andrew Fletcher
The os.makedirs(directory_path) function in Python can be used with both absolute and relative paths. Whether you should use an absolute or relative path depends on your specific use case and the location where you want to create the directory:   Absolute Path Use an absolute path when you want to specify the exact location in the file system, starting from the root directory (e.g., /path/to/new/directory). It ensures that the directory is created at the specified location, regardless of...
Andrew Fletcher
Permission error Traceback (most recent call last): File...
Andrew Fletcher
You can move a file from one directory to another in Python using the shutil...
Andrew Fletcher
To set an environment variable on Ubuntu, can be achieved via a few options....
Andrew Fletcher
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall',...
Andrew Fletcher
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code Command Line Interface (CLI) called code. With the code CLI, you can install, list, uninstall, and manage extensions from the command line.   To check you have the code prompt running, run code --versionResponse you're looking for is 1.83.0 d3a019177ff8833cf320e334265dfea540098a3a arm64If not, to install, in VS Code press command + shift + p to open the command palette, then type "install code", click Shell...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Logging into the server, and there are packages to be updated.  You know...
Andrew Fletcher
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that required accessing an external package.  Actually initially all external traffic was being blocked.  The error was similar to curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.se/docs/sslcerts.htmlThis error was also generated when running a basic command curl https://www.google.com.auSeems like the updated Netskope client Windows machine is blocking...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
In the terminal type, the following command: sudo apt updateAfter typing the...
Andrew Fletcher
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...