Skip to main content
28
results
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've grown used to the patterns in PHP, these cannot be applied in Twig.  Instead I had to merge the new array elements. Non associative arrays Working from a base level, I'll begin as if the original array hasn't been set.  The merge filter expects as first argument an array whose content will be merged with the assigned variable: {% set myArray = [] %} {% set myArray = myArray|merge(['tw-flex-inline'])...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
Using shell access you the site you want to add the Spyc library.  Then go to the libraries directory and add the following commands: mkdir spyc cd spyc wget https://github.com/mustangostang/spyc/blob/master/Spyc.phpTo verify that Spyc is active, go to the status area of admin (admin/reports/status)
Andrew Fletcher
Adding a pem file to secure ejabbered on the server for chat connection. Getting...
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....
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 I came across Kyle Browning Waterwheel Pod.  I flipped down to installation and there it is in three steps.  Super.  But wait.  Step one, CocoaPods.  What are pods? https://cocoapods.org/ Easy to follow, in no time cocoapods are added. Using terminal you need to initialise the pod to the directory where the Xcode project is located. cd ~/Path/To/Your/Project/ pod init pod update This...
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...