When you're like me and running oh-my-zsh on mac in your iTerm console you won't get auto updates, because you just don't restart your console very often. There is a way to still get oh-my-zsh updates with running this command: Old (Deprecated) upgra...
A developer works from the terminal most of the times because it is faster and more productive. If you haven’t started using the terminal as much, Bruuh you should! Two things greatly inspire me to code at any time of the day and on weekends. They ar...
Sometimes when you run a bash/shell command and you get errors, it might be that your shell is using dash. We have a script to check and install npm modules: if [[ ${NPM_INSTALL} == 'YES' ]] then echo "$(tput setaf 4)Doing NPM Install...$(tput sg...
On managing a Ubuntu server in production you do not always want to just run update and upgrade etc as this will sometimes break your installed or configured sites, systems. So to get a good idea what packages will be upgraded and for you then to mak...
Sometimes we would like to dump all the MySQL databases. MySQL provides an easy solution to this problem: mysqldump -u root -p --all-databases > all_dbs.sql However this will dump stuff into one file. How to dump all databses into separate files? Wel...
Connecting to MSSql form a linux environment is a very common thing now a days especially in the business/work environment. But run into more and more situations where I need this. Setting this up was a pain every time, and you would think this would...