How to Uninstall Android Studio 2.2 on Ubuntu 16.04

Delete the android-studio folder; Delete the sdk folder if it is in not inside the android-studio directory; Delete ~/.AndroidStudio2.2/, which contains config and system; Delete ~/.android; Delete ~/.local/share/applications/jetbrains-studio.desktop, if you created a shortcut using Configure->Create Desktop Entry. Note: The android-studio folder is normally in /usr/local/ for your user profile, or /opt/ for shared users. The sdk folder is normally at ~/Android. References: askubuntu.com

Setting up React Native Android on Ubuntu 16.04

Install Nodejs $ sudo apt-get update $ sudo apt-get install build-essential libssl-dev The version number of nvm may be different, but in general, you can download it with curl: $ curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh $ nano install_nvm.sh $ bash install_nvm.sh $ source ~/.profile $ nvm ls-remote //To find out the versions of Node.js that are available for installation $ nvm install 6.0.0 References: DigitalOcean Install Java JDK $ sudo apt-get install default-jdk References: DigitalOcean Read more…

Ubuntu Useful Tips

1.  Create alias Adding alias line at the end of the file: ~/.bashrc alias [alias_name]='[something_you_want]’ Ex: alias elasticsearch=’~/Downloads/elasticsearch/bin/elasticsearch’ 2. Tmux control terminator’s sessions https://gist.github.com/MohamedAlaa/2961058 3. Terminator cheat sheet http://www.knuckleheadtech.com/terminator-cheat-sheet/ 4.  Check memory (RAM) $ free -m # To monitor memory usage with updates every five seconds. $ watch -n 5 free 5.  Check disk size $ df -h 6.  Remove an none-empty directory $ rm -rf mydirectory 7.  Remove sudo prompts password for current user Read more…