To avoid confusion and remember how semanic versioning woks in npm the following is useful: (source: https://docs.npmjs.com/about-semantic-versioning) Code status Stage Rule Example version First release…
So… you deleted a file last week in your git repo and now you want it back? No problem: 1. Use git log –diff-filter=D –summary to get…
Everything needs HTTPS nowadays, and even working locally can require HTTPS to function correctly. As was the case recently as I was trying to build…
PhpStorm is awesome but setting it up to run the test suite with Homestead is annoying and something I always forget. It’s something you usually…
Homebrew can be used to install various software very easily. Use this to install Homebrew ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Use this to uninstall Homebrew…
Here are some useful one liners which I can never remember: Reset Server Time sudo date -s “$(wget -qSO- –max-redirect=0 google.com 2>&1 | grep Date:…
Building requests with axios.js which include cancellation tokens is quite straight forward. You create a token and pass it in along with any other parameters.…
To convert .ppk to .pem on mac follow these steps: Install putty via homebrew ‘brew install putty’ Convert with: ‘$ puttygen key.ppk -O private-openssh -o…
Importing vue components and files is easy however sometimes when in nested components import statements look like: import ../../../components/mycomponent This can be a problem, especially…
Speed up access via SSH by making aliases. This means that typing something like: ssh -i ‘~/.ssh/your-private-key’ user@myexampleserver.com Can be replaced with something simple to…