# cp debian.iso /dev/sdX
# sync
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
pdftk <SOURCE>.pdf cat <INIPAGE1>-<ENDPGAE1> <INIPAGE2>-<ENDPGAE2> output <DEST>.pdf | |
pdftk <SOURCE>.pdf burst |
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 tag -d <TAGNAME> | |
git push --delete origin <TAGNAME> | |
git tag -a <TAGNAME> | |
git push --follow-tags |
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
config cfg; | |
design top; | |
instance top.aux_inst.mod_inst use mod2; | |
endconfig | |
module top (input a, output b); | |
aux aux_inst (.a(a), .b(b)); | |
endmodule | |
module aux (input a, output b); |
Optional checks:
dpkg --print-foreign-architectures
dpkg -l | grep i386
Remove:
apt-get purge ".*:i386"
dpkg --remove-architecture i386
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 [--global] user.email "new@email.com"` | |
* git config [--global] user.name "New name" | |
* git log (find previous commit reference) | |
* git rebase -i <previous commit reference> -x "git commit --amend --reset-author -CHEAD" | |
* Verify and close the opened editor | |
* git log (to verify) | |
* git push --force |
GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa_example" git clone example
cd example
git config core.sshCommand 'ssh -i ~/.ssh/id_rsa_example'
It is normally useful when you need a new user, so probably a new email, so in the repo directory:
$ git config user.email "new@email.com"
Join:
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=newfile.pdf file1.pdf file2.pdf
Split:
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dFirstPage=15 -dLastPage=30 -sOutputFile=newfile.pdf origfile.pdf
Mainly a summary from Managing Multiple Python Versions With pyenv
In a Debian based systems, as root:
apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl