Tips &Tricks

0

Linux set environment variables

I will show you how to update your PATH variable on Linux machine so it can always find the node and npm. export NPM_HOME=/FOO/npm/node-v0.12.5-linux-x64/bin export PATH=$PATH:$NPM_HOME You do not need to update your PATH...

0

npm ERR! weird error 1

Do you get the following error while installing a node package? npm ERR! weird error 1 Try removing the phantom.js from your machine using the following command. sudo rm -rf T/phantomjs/ And then try...

0

git stash changes and apply to new branch

Save current changes to the stash git stash Checkout the branch where you want to apply the changes git checkout -b <branch_name> See the files which are modified in the stash. git stash show...

0

Menumeter in El-capitan 10.11 (and later)

Have you upgraded to OS X El Capitan from App Store ? Did your favorite menu meter stopped working for you? Then download the latest version of menu meter from the following : Menumeter...

0

su: Authentication Failure

Instead of su use sudo to become root : >sudo -i root account is disabled by default in Ubuntu, so there is no root password associated with it. Use the exit command to logout...