Skip to main content
28
results
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the copy [cp] command.  This came about due to 'upgrading' the server from Centos 6 to 7.  Once I had migrated a domain, I ran the following command yes | cp -rf 'stg/core' 'tmpdir'To my surprise, the first run of this command took over 38 minutes to complete.  Crap!  Yes a simple cp -a command is a very painful and slow process.  Read more about the pain and times under Centos 7 in this...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
Accessing a remote server using PEM key, and I had the following...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your mac? Check by running the command puttygen -VWhich will generate a response similar to  puttygen: Release 0.76 Build platform: 64-bit Unix Compiler: clang 12.0.5 (clang-1205.0.22.9) Source commit: 1fd7baa7344bb....Don't have Putty, well easily fixed with homebrew. brew install putty  Generate the key We will use puttygen to generate the key. puttygen key.ppk -O private-openssh -o key.pem key.ppk the...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this step.  I'm going to focus one of these steps. From your web directory root, look for your .git directory.  Then open the .git... cd .gitNext using your shell prompt (iTerm2), view the contents of the config file vim configPresently the config file looks like the following [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ...
Andrew Fletcher
  Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
Step 1: Install Homebrew Homebrew is the missing package manager for macOS. As...