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
18
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
•
Loading the code in a platform - in this article, I'll be focusing on Android...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
JSON structure
Outlining the structure of the elements common attributes: type, title, name and required;
Text area
{
"type": "webform_multiple",
"title": "What's new?",
"name": "what_s_new_",
"required": false
}Text field
An additional attribute for the text field is maxlength
{
"type": "textfield",
"title": "Text field (optional)",
"name": "text_field_optional_",
"required": false,
"maxlength": 255
}Select field
Options attribute is an additional...
Andrew Fletcher
•
If you are using theme_get_settings, such as:
$value =...
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
•
Localization is the process of showing other languages in your app and is surprisingly painless in iOS. For most of us the base version of the app will be written in English. Then you will localize the app to other languages. The process of localization in this article is based on the latest Xcode which is 12.1. One of the most challenging aspects to localization is ensuring that the app's text is translated by respective languages native...
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 -...