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
15
results
Andrew Fletcher
•
The error you're encountering indicates an issue with the ffi gem during the CocoaPods update. The error message suggests trying to run the gem pristine command to fix it.
Using terminal - run the following command:
gem pristine ffi --version 1.16.3This command will attempt to restore the ffi gem to its pristine state, resolving any issues with its extensions. After running this command, try running pod update again
pod updateIf you encounter any permission issues, you might need to use...
Andrew Fletcher
•
The error message "Attempting to re-run cron while it is already running" in...
Andrew Fletcher
•
In Vim, following is an outline of the vi(m) functions you can utilise whilst in...
Andrew Fletcher
•
Find by file name
To perform a find command in terminal use
find / -name...
Andrew Fletcher
•
Getting Started with Cocoapods
Installation
Built with Ruby, Cocopods is...
Andrew Fletcher
•
Regular expressions (regex) are extremely useful in extracting information from any text by searching for one or more matches of a specific search pattern.
The basic anchors - ^ and $
expression
action
^The
matches any string that starts with The
end$
matches a string that ends with end
^The end$
exact string match (starts and ends with The end)
pragmatic
matches any string that has the text pragmatic in it
The basic quantifiers — * + ? and...
Andrew Fletcher
•
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
•
Setting up the mail configuration in October CMS is a quick progress....
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
•
Common commands
Themes and plugins have similar command lines. So rather than note them individually and miss clarity, the reference {type} can be replaced with the term plugin or theme.
install
php artisan {type}:install AuthorName.PluginName
list
php artisan {type}:list
refresh plugins
php artisan plugin:refresh AuthorName.PluginName
Utility references
Clear cache
php artisan cache:clear
Clear config
php artisan config:clear
Restart...
Andrew Fletcher
•
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
•
Using October CMS to migrate your site and update the tables with the plugins...
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this...
Andrew Fletcher
•
Ha you have read it before, one of those throw away lines that is written "just...