Skip to main content
27
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
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...
Andrew Fletcher
  Z shell (Zsh) is a Unix shell built on top of bash (the default shell for macOS) with a large number of improvements. In this article, I'll run through how to configure iTerm2 with ZSH and its dependencies.   Step 1: Install Homebrew Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS. Before installing Homebrew, we need to install the CLI tools for Xcode. Open your terminal and run the...
Andrew Fletcher
While I have posted an article about how to POST an image using REST in Drupal...