Engineering my mind a little every day.
Tech fodder
Tech fodder

Tech fodder

Some times you just need to know what your globally installed npm packages are:

npm list -g --depth=0

Setting your branch to exactly match the remote branch can be done in two steps:

git fetch origin
git reset --hard origin/[branch-name]

To make an existing branch dev exactly match another branch production (losing all changes on current, dev):

git checkout production
git branch -D dev
git checkout -b dev
git branch -u origin/dev
git push origin dev --force

On Mac OS, El Capitan or greater, to find a process using port 3000:

sudo lsof -i tcp:3000

Revert last four commits

git revert HEAD~4..HEAD~1

Edit browser cache for specific site…

Chrome: Settings > Privacy and security > Site settings > Cookies and site data > See all cookies and site data > [search]

AWS

Amazon services best description ever.

Random assortment of tech links

What Did Ada Lovelace’s Program Actually Do?

Leave a Reply

Bitnami