Skip to main content
124
results
Andrew Fletcher
In Vim, following is an outline of the vi(m) functions you can utilise whilst in command mode - yes they are case sensitive action outcome a change to insert mode (after cursor) A change to insert mode (at end of line) dd delete one line G go to end of the file 1G go to top of the file i change to insert mode (before cursor) J merge next line with this one p paste deleted or yanked text after cursor P paste deleted or yanked text before cursor r replace one...
Andrew Fletcher
The os.makedirs(directory_path) function in Python can be used with both...
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', the following error Creating directory /usr/local/share/man/man1 /usr/bin/install -c -m 644 ./Misc/python.man \    /usr/local/share/man/man1/python3.11.1 if test "xupgrade" != "xno" ; then \    case upgrade in \        upgrade) ensurepip="--altinstall --upgrade" ;; \        install|*) ensurepip="--altinstall" ;;...
Andrew Fletcher
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
Ubuntu 20.04 comes with Python 3.8 installed.  If you run the update...
Andrew Fletcher
Adding an SSL wildcard certificate to an Ubuntu server involves several steps....
Andrew Fletcher
When logging into Ubuntu server you will see a response similar to Welcome to...
Andrew Fletcher
Forcing https and www or non-www is a process that I was a custom to through .htaccess.  In fact I had become very strong at managing and working my .htaccess files.  However, what I had become strong in one area, I was oblivious to using other methods.  My bad. Well that was until I had to change my way.  Working on an Nginx server, .htaccess was not in play.  Instead, I needed to configure the /etc/nginx/sites-available directory. For me to force SSL and www I...
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
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
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...