Skip to main content
44
results
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your computer to do something.  In this instance, I want to rename a batch files in a directory.  Such as changing:   37351001 - BlueSpotted.jpg 37351008 -SpangledEmporer _ 0133A.jpg 37353003 -Black-Bream_3481 .jpg 37353004   -35 - Yellowfin.jpgInstead having these files appear as: 37351001.jpg 37351008.jpg 37353003.jpg 37353004.jpgHowever, I don't have four files.  Wouldn't be worth my time...
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...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers locate and connect to web addresses quickly. If your browser Safari or Chrome still fails to load websites, this can be the result of an obsolete DNS cache may be causing the issue. In this instance you want to focus clearing the cache.  Using Terminal or iTerm2 enter the following command: sudo killall -HUP mDNSResponder 
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...
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.  The key to understand is the receive an outcome of a fraction the numbers need to be Double.  So Int numbers will result in a whole number product.  By way of example: 80 / 3 = 26 We know that this result is incorrect.  To get the correct outcome the equation needs to be as follows: 80.0 / 3.0 = 26.666666666666667 If you have a whole number - add Double to the whole number.  So...
Andrew Fletcher
During the process of building the app, there are warnings about the code....
Andrew Fletcher
https://github.com/kylebrowning/waterwheel.swift After a short amount searching...
Andrew Fletcher
If you have this error, the core issue is the dyld issue. dyld dyld is a...