This file contains 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
$ eval `ssh-agent -s` | |
$ ssh-add |
This file contains 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
rebase基本用法: | |
http://git-scm.com/book/en/Git-Branching-Rebasing | |
git co xxx | |
git rebase master : patch modification of xxx on base of master branch | |
rebase远程分支: | |
http://stackoverflow.com/questions/7929369/how-to-rebase-local-branch-with-remote-master | |
1. | |
>git fetch origin | |
>git rebase origin/master |
This file contains 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
Wrap your JavaScript around {literal}{/literal} tags so it won't get interpreted by Smarty. |
This file contains 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
tcpdump host 114.80.132.160 and (tcp port 80 or tcp port 443) -nnX -s 1600 |
This file contains 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 push origin :refs/tags/12345 |
This file contains 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
raspdebian-> /boot/config.txt | |
display_rotate=0 Normal | |
display_rotate=1 90 degrees | |
display_rotate=2 180 degrees | |
display_rotate=3 270 degrees | |
display_rotate=0x10000 horizontal flip | |
display_rotate=0x20000 vertical flip | |
This file contains 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 http.postBuffer 104857600 |
This file contains 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 show origin | |
If the remote branch you want to checkout is under "New remote branches" and not "Tracked remote branches" then you need to fetch them first: | |
git remote update | |
git fetch | |
Now it should work: | |
git checkout -b local-name origin/remote-name |
This file contains 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
mvn install:install-file -DgroupId=org.zmq -DartifactId=zmq -Dversion=2.2.2 -Dpackaging=jar -Dfile=/usr/local/share/java/zmq.jar |
This file contains 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 fetch origin | |
git co gh-pages | |
NewerOlder