Skip to main content
62
results
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is where I've held the code since the beginning.  The second has come on board recently and is the client repo.  However, rather than shut the original down, I want to keep both running with the same code.  How do I synchronise them so that they contain the same thing? Configure a remote that points to the upstream repository in Git to sync changes you make in a fork with the original repository....
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...
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 file. Using a symbol : is a shell built-in command that is essence equivalent to the true command and it can be used as a no-op (no operation).  It can be used as follows: # : > filename.txtOR  # true > filename.txt  My initial file was as follows: 21548342 16 Mar 20:27 code.logPost using the command  : > filename.txtThe response was  0 16 Mar 20:27...
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
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Have you noticed through your Google account that there are items being indexed...
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
How to apply a gradient tint over a background image? Set the background...
Andrew Fletcher
Working on formatting the date in Xcode, and you come across the situation where...
Andrew Fletcher
Adding a floating decimal point for n number of places is quite easy to achieve....
Andrew Fletcher
During the process of building the app, there are warnings about the code....