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 format-patch -1 HEAD | |
patch -p1 < file.patch |
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
/Applications/Beamer2.app/Contents/Resources/ffmpeg -ss 0 -i file:/Users/smirnov/Downloads/Х?M^@ани?M^Bели ?M^Aнов [Rise of the Guardians] (2012) BDRip-Hi10P 1080p by_F.HD.mkv -t 5352.38900 -f mpegts --segment-length 5 --segment-offset 0 -vcodec libx264 -x264opts vbv-bufsize=12000:vbv-maxrate=12000:ratetol=inf -force_key_frames expr:gte(t,n_forced*5) -pix_fmt yuv420p -map 0:0 -acodec aac -strict experimental -ac 2 -ab 160k -matrix_encoding dplii -ar 48000 -async 1 -map 0:1 pipe:1 |
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
echo -e "\00035Some\03" > test | |
The syntax of the color attribute in text has the format ^CN[,M] | |
Note: if you want to color text that begins with numbers, this syntax requires that you specify the color value as two digits. | |
The color indexes 0 to 15 represent the following colors: | |
0 white | |
1 black | |
2 blue (navy) | |
3 green |
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
open /Applications/Google\ Chrome.app --args --explicitly-allowed-ports=6667 |
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
ssh -p 29418 smirn0v@johann gerrit plugin remove hooks-jira | |
ssh -p 29418 smirn0v@johann gerrit plugin enable hooks-jira |
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
unset CC | |
unset CXX | |
unset LIBRARY_PATH | |
unset LD_LIBRARY_PATH | |
make manuconfig | |
...choose appropriate target architecture... | |
make |
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
echo -n I | hexdump -o | awk '{ print substr($2,6,1); exit}' | |
# 0 for big endian | |
# 1 for little endian |
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 log --format=%B -n 1 9edb88ba0c9ce09df0212371cefee5f1a6914cb5 |
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 co feature-branch | |
git log --oneline HEAD --not parent-branch |
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
sudo su gerrit2 | |
java -jar gerrit.war init -d /path/to/your/gerrit_application_directory |