This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you don't want to pay for a google coupon code then here is a tutorial for you. | |
| Step 1: https://gcp-coupon-redemption.appspot.com/redeemCoupon | |
| Step 2: Fill up the form and add any of these codes | |
| SOTEC | |
| SystemsUp | |
| Paradigma | |
| Avere | |
| MiTAC | |
| PuppetLabs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gcloud compute instances create lispy \ | |
| --machine-type n1-standard-8 \ | |
| --zone asia-east1-c \ | |
| --local-ssd interface=SCSI \ | |
| --image ubuntu-14-04 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.26.tar.gz | |
| tar xvf mysql-5.6.26.tar.gz | |
| cd mysql-5.6.26 | |
| cmake -DCMAKE_INSTALL_PREFIX=/data/mysql \ | |
| -DSYSCONFDIR=/etc \ | |
| -DMYSQL_TCP_PORT=3306 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gcloud compute instances create lispy \ | |
| --machine-type n1-standard-8 \ | |
| --zone asia-east1-c \ | |
| --local-ssd interface=SCSI \ | |
| --image ubuntu-14-04 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mysqldump --databases hypr -h blah-blah.rds.amazonaws.com -u hypr -P 3306 -p > rds.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gsutil -o GSUtil:parallel_composite_upload_threshold=150M cp bigfile gs://your-bucket |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defun clojure-test-filename () | |
| (concat (projectile-project-root) | |
| "test/" | |
| (mapconcat #'identity | |
| (butlast (split-string (cider-current-ns) "\\.")) "/") | |
| "/" | |
| (file-name-nondirectory (file-name-sans-extension (buffer-file-name))) | |
| "_test.clj")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File Handling Commands | |
| C-x C-v find-alternate-file Read a different file. | |
| C-x i insert-file Insert a file at the cursors position. | |
| C-x C-w write-file Write the contents of the buffer to a file. | |
| C-z suspend-emacs Suspend emacs. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git remote | xargs -L1 git push --all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;reagent input two way binding with chinese characters . | |
| ;reagent 中文输入问题 |