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
•
I need to set the default php-version of a subscription to php7.3. The current server php version is PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS ).
Using a shell program (I used Terminal) from the home directory I ran:
export PATH=/opt/plesk/php/7.3/bin:$PATH;
centos 6 use
service httpd restartcentos 7 use
sudo systemctl restart httpd.serviceHowever, through shell when I ran php -v the version remained at 7.1.33.
Incase the restart wasn't enough I rebooted the server...
Andrew Fletcher
•
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
•
Whatever you are coding - code clarity is your goal.
Before you scream and run out the door, I'm not going to reinvent the wheel! A couple of style guides on GitHub are great way to start... github - swift-style-guide (however not maintained) and raywenderlich - swift-style-guide. Swift team at Apple have API Design Guidelines on how to write better Swift...
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...
Andrew Fletcher
•
Ha you have read it before, one of those throw away lines that is written "just create a cartfile". So your thinking carthage update, carthage init, create a plain text document, etc... all wrong. How do you know... when you run carthage update, you receive the following error
Get this error: "No such file in directory"
So how do you "just" create a Cartfile?
Oh, there are no instructions on the Carthage page either. Feeling a little ticked off, how do I "just create" a...
Andrew Fletcher
•
After coding for 16 years... I have decided to have a go at building apps in...