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
97
results
Andrew Fletcher
•
Using a Centos 6 or 7 server, how to check the current version of Apache?
httpd -vThis command will return a string that is similar to the following:
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 16 2020 16:18:20If you want to find where the httpd binaries are located use the following:
whereis httpdThis command will return something like:
httpd: /usr/sbin/httpd.worker /usr/sbin/httpd.event /usr/sbin/httpd /etc/httpd /usr/lib64/httpd ...
Andrew Fletcher
•
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
•
Working through migration on a new Centos 7 server, the default mailbox size is...
Andrew Fletcher
•
Running a common composer command, post an upgrade on the server to Centos 7 and...
Andrew Fletcher
•
I'm receiving a server not found when logging in to Plesk from shell or...
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
•
For what reason would you need to find the identity of the current user? You are...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
Blocks are a great way to add pieces or chunks of content to your Drupal site....
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app... shortly afterwards you'll be getting yourself knee deep in changing the language on the fly. Followed by the question – how do you change the language of the app without having to restart the app? To change the language of the app there are a couple of key steps involved:
Adding / managing languages
Managing the app bundle
By the way I have added to GitHub a demo app - switch languages showing how...
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
•
I had an issue where logging in from the app disconnected. The error that...
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I...
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is...