For some years I had problems when updating or installing a site with composer from my vagrant box.
Put all pdf's you want to combine in a directory. Name them in the order, you want to combine them.
qpdf --empty --pages *.pdf -- NameOfMergedFile.pdf
To resize all *.jpg images in a directory into a new directory, keeping aspect ratio do:
mkdir web && mogrify -resize 2200x -quality 95 -path web *.jpg
For testing or for basic deployment setup for small sites I often use two remotes. Origin for my backup and live or test as a second remote. To remove a remote named test use:
To delete a remote branch, you can’t use the git branch command. Instead, use the git push command with --delete flag, followed by the name of the branch you want to delete.
Easy way to repeat often used commands on the linux console ... add history search backwards to .inputrc in your home directory:
It's a one liner in your vagrant file:
config.ssh.forward_agent = true
For drupal 8, take a look into composer.json and checkout for 'extra' section. Add the file_mapping:
sudo apt purge nodejs npm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
Open new terminal
df shows you the percentage per volume which is in use - but to clean up your diskspace it's much more practical to see the directories which are filled with 'tons' of filegarbage ...