I hereby claim:
- I am lepht on github.
- I am petec (https://keybase.io/petec) on keybase.
- I have a public key whose fingerprint is C7B7 846B E6D4 E0E6 C606 801D D27F 4A79 7675 81EB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| filetype on | |
| filetype plugin indent on | |
| set autoindent | |
| set copyindent |
| #!/bin/sh | |
| # The vim binary you would like to use | |
| # eg `mvim -f` will run macvim | |
| VIM_BIN="mvim -f" | |
| echo "vim-scp FTW" | |
| if [ $# -ne 2 ]; then | |
| echo "usage : `basename $0` user@host /path" | |
| exit 1 |
| سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ |
| Capitalized, short (50 chars or less) summary | |
| More detailed explanatory text, if necessary. Wrap it to about 72 | |
| characters or so. In some contexts, the first line is treated as the | |
| subject of an email and the rest of the text as the body. The blank | |
| line separating the summary from the body is critical (unless you omit | |
| the body entirely); tools like rebase can get confused if you run the | |
| two together. | |
| Write your commit message in the present tense: "Fix bug" and not "Fixed |
| git config alias.diffc "log -u -1" |
| require 'rubygems' | |
| require 'net/imap' | |
| require 'tmail' | |
| require 'parsedate' | |
| # NOTE: Set these values before you run the script | |
| # Your gmail username | |
| USERNAME = "YOUR_USERNAME" | |
| # Your gmail password |
| # Perl named, self-documenting subroutine arguments with default values | |
| sub foo { | |
| my %args = ( | |
| # Set your defaults/doc your accepted args here | |
| arg1 => 'default' | |
| arg2 => undef, | |
| somelist => [qw( some stuff )], | |
| @_ # Passed-in args replace your defaults |