
sharing the power of code

sharing the power of code
Category Cheat Sheets
Gradle Cheat Sheet
Delete the gradle cache. List currently running gradle processes Stop all gradle processes.
GIT Commands Cheat Sheet
Windows Command Line Cheat Sheet
Change Drive from Command Line You are here: D:\ You want to go here: C:\ Type just: C: and hit enter. You are here: C:\Windows\System32\drivers\ You want to go here: C:\ Type: C:\ and hit enter. Notice you have to…
LERNA Cheat Sheet
Nginx Cheat Sheet
Test and restart an nginx configuration change The reload will not happen if the test fails. sudo nginx -t && service nginx reload or, on a bitnami image: sudo nginx -t && sudo restart nginx Redirect all subdomains…
Linux Commands Cheat Sheet
This outputs your stuff in a folder called ‘packageName’: tar -xvzf packageName.tar.gz This can help tell you what version of linux or at least linux kernel you are running: uname -a Find a process and kill it: Run…
Handy MySQL Commands
Log into mysql: (enter password on next prompt) Show all databases on server: To reset an auto_increment field to 1: To load a local csv file into an empty existing table: (This assumes you’ve already created your empty table with…