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
Q: Git fails when pushing commit to github | |
A: git config --global http.postBuffer 524288000 | |
$ man git config | |
http.postBuffer | |
Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system. For | |
requests larger than this buffer size, HTTP/1.1 and Transfer-Encoding: chunked is used to avoid creating a | |
massive pack file locally. Default is 1 MiB, which is sufficient for most requests |
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
int __attribute__((section(".khook_origin,\"awx\",@progbits#"))) function(void) { ... } |
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
sar -u 1 | grep --line-buffered all | awk -W interactive '{printf("%s %s\n", $1, $5);}' |
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
#rename local branch | |
git branch -m old-branch-name new-branch-name | |
#delete remote branch with old name | |
git push origin :old-branch-name | |
#create remote renamed branch | |
git push origin new-branch-name |
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
http://people.ee.ethz.ch/~arkeller/linux/kernel_user_space_howto.html |
NewerOlder