Skip to main content
94
results
Andrew Fletcher
This short guide explains to you how to extract/unzip .zip archive files to a specific or different directory in Linux.   Install zip sudo apt-get install zip   Zip a directory Zip your folder: zip -r {filename.zip} {directory}   Unzip  unzip {filename.zip}   Extract zip file to a different directory mkdir -p /tmp/unziped $ unzip {filename.zip} -d...
Andrew Fletcher
I prefer htop over top on my Linux server.  Running a Solr index got...
Andrew Fletcher
The generally accepted answer to a mysqldump is: mysqldump -h [host] -u...
Andrew Fletcher
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
On a git pull from remote dev environment to a staging environment running off...
Andrew Fletcher
I needed the check if a file existed in a directory as the migrate script wasn't recognising the file.  To check if a file exists: FILE={your-directory-path} if test -f "$FILE"; then echo "$FILE exists." fi  If your directory path is /Users/{your name}/Sites/migrate/local_dest_dir/fish/../media/apple-store.png FILE=/Users/{your name}/Sites/migrate/local_dest_dir/fish/../media/apple-store.png if test -f "$FILE"; then echo "$FILE...
Andrew Fletcher
Joining a new company / team there is always a lot of new items to...
Andrew Fletcher
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
As outlined in an earlier article composer php version, when installing the...
Andrew Fletcher
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
Core Data - customising our data model When you are using Core Data, and let's say that you have a requirement to have an attribute where the options available should be a defined list.  Such as "Not Started", "Pending", "In Development" and "Completed".  How do you create this as an option in Core Data?   Thinking out loud, the practical solution would be to use an enum.  But how do you use a enum in this instance?  As you might have noticed, unfortunately, it...
Andrew Fletcher
Regular expressions (regex) are extremely useful in extracting information from...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
Don't worry this is an issue that many Drupal developers have come across....
Andrew Fletcher
Working on a new CentOS 7 server, Node wasn't installed.  You can...