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
•
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
•
By default the maximum file upload size is set to 2MB. It is not a...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
This article references some of the common commands via CLI (command-line...
Andrew Fletcher
•
How can you find out if the Cordova plugins have been loaded?
Begin by running...
Andrew Fletcher
•
Updating the Cordova plugins... there are two locations to manage the plugins
config.xml
package.json
I was finding some Cordova functionality was not coming through... through further investigation the two files above had conflicting data.
Review the data
package.json
"cordova-browser": "6.0.0",
"cordova-plugin-advanced-http": "3.3.1",
"cordova-plugin-android-permissions": "^1.1.3",
"cordova-plugin-device": "2.1.0",
"cordova-plugin-file": "^7.0.0",
...
Andrew Fletcher
•
Creating a message log using Drupal watchdog.
Simple log
// Logs a...
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...
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access denied on creating field 'uid'.". You probably can sense the love I have for this error. This was a painful error that took a little while to resolve. First off I also had this error display as:
"Access denied on creating field 'uid'
"Access denied on creating field 'name'
"Access denied on creating field 'entity_id'
And I would have had more if I continued down the resolution path I was on....
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
•
In Drupal 8.x hiding the subject line is a quick task.
In the admin area of your...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are...