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
Dump disk into zip file | |
======================= | |
# /bin/dd if="$DEVICE" conv=sync,noerror bs=64K | /bin/gzip -c > "$FILE" | |
Restore from zip file | |
======================= | |
# gunzip -c "$FILE" | dd of="$DEVICE" conv=sync,noerror bs=64K |
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
Get a patch from a git branch | |
============================= | |
Create a branch, or go to the branch in which we want to modify code | |
# git checkout -b fix_empty_poster | |
Make your changes, and see your commits in log | |
# git log --pretty=oneline -3 |
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
du -k -d1 * | sort -nr | cut -f2 | xargs -d '\n' du -sh |
NewerOlder