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
| openssl s_client -crlf -connect imap.gmail.com:993 | |
| tag login [email protected] passwordhere | |
| tag list "" "*" | |
| tag select "inbox" | |
| tag fetch 1:3 body[header] | |
| tag fetch 3 body[header] | |
| tag fetch 3 body[text] | |
| tag fetch 2 all | |
| tag fetch 2 fast | |
| tag fetch 2 full |
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
| delete .git folder inside gerrit app folder | |
| ssh -p 29418 smirn0v@johann gerrit flush-caches --cache projects |
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
| atag = "!atag() { git tag -a -m $1 $1 $2; }; atag" |
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
| xxd -p file | tr -d '\n' |
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
| memory read --force --outfile /Users/smirnov/original.bin --binary (0x10d981400) (0x10d981400+25872) |
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
| git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative master..branch-X |
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
| osascript -e 'tell application "Messages" to send "HHH" to buddy "Александр Смирнов"' | |
| документация в приложении Script Editor | |
| Script Editor, and go to File -> Open Dictionary, and select the app you want to find out more about. |
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
| :%!python -m json.tool |
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
| :g/^/execute '.w '.line('.').'.txt' |
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
| #!/usr/bin/env ruby | |
| require 'set' | |
| require_relative 'issue-tracking' | |
| files = `git log --name-only --oneline HEAD^..HEAD | tail -n+2`.split("\n") | |
| head_hash = `git rev-parse HEAD` | |
| tasks_affected=Set.new | |
| files.each{|f| |