Author: techb4
Bulk Delete Nodes by Type in Drupal 8
For this to work you’ll need to execute it in PHP. A quick way to…
View and Sort Files in Linux; Arrange by Size on Mac
Mac: brew install coreutils du -sh ./* | gsort -h
Change Git Commit Date and Git Commit Author Date
To see the author and commit date, do the following in terminal: git log --pretty=fuller…
Force SSL/HTTPS on Apache2 within VirtualHosts
At the end of this brief tutorial, you should be able to redirect all non-https…
PHP-FPM Error Log
Where is this located? By default this is nowhere to be found. Open /etc/php5/fpm/pool.d/www.conf and…
Generating AWS Access Key ID and AWS Secret Access Key
Open the AWS Console Click on your username in the top right and select My…
Resolving Cherry-Pick Git Conflicts with Incoming Changes
It’s as easy as pie: git cherry-pick --strategy=recursive -X theirs {hash}
Retrieving Your Encryption Passphrase – Ubuntu 16.04
Retrieving your encryption passphrase, assuming you chose to encrypt your home folder can be done…
Switch to the www-data user in terminal (using bash)
su -s /bin/bash www-data