developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
27
results
Andrew Fletcher
•
This page shows a growing list of common commands for viewing and managing your Centos server.
ls syntax
$ ls [options] [file|dir]
ls command main options:
ls -a
list all files including hidden file starting with '.'
ls --color
colored list [=always/never/auto]
ls -d
list directories - with ' */'
ls -F
add one char of */=>@| to enteries
ls -i
list file's inode index number
ls -l
list with long format - show permissions
ls -la
list long format including hidden files
ls...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
•
Registering a user via REST is an important process particularly when 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 you need to check or test the date format. NSDateFormatter is a great site to check your date format string. I wanted to transform the 2019-08-15 10:34:49+1000 to Aug 15, 12:34 AM.
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "MMM d, h:mm a"
let dateFormatted = dateFormatter.string(from: run.timestamp!)dateFormatted prints Aug 15, 12:34...
Andrew Fletcher
•
Adding a floating decimal point for n number of places is quite easy to achieve....
Andrew Fletcher
•
Using shell access you the site you want to add the Spyc library. Then go...
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 shared library (dylib).
The error is a product where the library path cannot be found at run time. Most likely you have installed a framework to your project and there is an issue in the standard location (such as /Library/Frameworks) on your build and the framework that you have added.
When I had this issue, I researched and researched but found no solutions for my issue. So I reviewed...
Andrew Fletcher
•
We had an issue recently where saving a page in the admin area produced one of...