DB:
MySQL copy database
# Dump to .sql file (-p for database)
mysqldump -u YOURAWESOMENAME -p YOURAWESOMEOLDDB > dump.sql
# Create DB
mysqladmin -u YOURAWESOMENAME create YOURAWESOMENEWDB
# Import
mysql -u YOURAWESOMENAME YOURAWESOMENEWDB < dump.sql
Python:
- Pretty print .json
python -m json.tool my_json.json
- Special format with brackets
- Global pip install
Chrome:
- Install from terminal – I’m lovin it
Git:
- Handle git ‘curl 52’ issue (given exhcange over http)
git config --global http.postBuffer 524288000
Well the best approach would be – using SSH key directly …
Murmur:
- Cant use special identity to earn CS MS supply from the gov … (need the same living-id)
- Prometheus basics
- This is how to use gdrive
"Log out": rm .gdrive/
- View cron jobs log in syslog.gz
zcat /var/log/syslog.gz | grep CRON