Skip to main content
15
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
 ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...
Andrew Fletcher
Working through an app project I inherited using Ionic, Angular and ngx-leaflet...
Andrew Fletcher
The issue Text through the app is being rendered as <p>Depletion...
Andrew Fletcher
Regular expressions (regex) are extremely useful in extracting information from...
Andrew Fletcher
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.   Cleaning the cache sudo yum clean all rm -rf /var/cache/yum/* To make the cache sudo yum clean all; sudo yum makecacheIf you want to run several commands use semi-colon as noted above.   Updating When running an update command run sudo yum -y...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
Whatever you are coding - code clarity is your goal. Before you scream and...
Andrew Fletcher
To create a .pem file, is quick once you have your .p12 certificate.  I...
Andrew Fletcher
I had the issue where I needed to filter an array list by a specific column.  In my instance, the column is language.  To be able to reduce the query to the language column the code required is levels = selectedCategory?.levels.filter("language = %@", language)Language can be any string, in this instance for me language is a two alpha character such as 'fr', 'en' or 'de'. Further to this you can continue to chain this query through including sort as per levels =...
Andrew Fletcher
A handy resource list of fonts for iOS: iOS Font List -...
Andrew Fletcher
https://github.com/kylebrowning/waterwheel.swift After a short amount searching...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...