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
0xFc571a5fA85fd82393FbD3Ff9d74583a000C174c |
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 config --global credential.helper store | |
echo "https://${GITHUB_TOKEN}:[email protected]" >> ~/.git-credentials |
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
#!/bin/bash | |
# Go build script that runs cloc, cpd, lint, vet, test and coverage for Jenkins | |
# | |
# Outside tools include: | |
# gocov: go get github.com/axw/gocov | |
# gocov-xml: go get github.com/t-yuki/gocov-xml | |
# go2xunit: go get bitbucket.org/tebeka/go2xunit | |
# jscpd: npm i jscpd -g | |
# cloc: npm i cloc -g |
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
[root@local ~]# dmidecode | grep -A 5 "System Slot" | |
System Slot Information | |
Designation: PCI1 | |
Type: x4 PCI Express Gen 2 x8 | |
Current Usage: Available | |
Length: Long | |
Characteristics: | |
-- | |
System Slot Information | |
Designation: PCI2 |
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 中文输入问题 |
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
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
(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
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
mysqldump --databases hypr -h blah-blah.rds.amazonaws.com -u hypr -P 3306 -p > rds.sql |