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
syntax on | |
set mouse=a | |
set background=dark | |
set showmatch | |
set showcmd | |
set ai | |
set tabstop=4 | |
set foldcolumn=3 | |
"set expandtab | |
let &shiftwidth=&softtabstop |
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
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[02;33m\]\u@\h\[\033[01;31m\]:\w \$\[\033[00m\] ' | |
# User specific aliases and functions |
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
nmap <Leader>d "_d | |
nmap <Leader>x "_x | |
nmap <Leader>c "_c | |
nmap <Leader>s "_s | |
nmap <Leader>r "_r | |
nmap <Leader>D "_D | |
nmap <Leader>X "_X | |
nmap <Leader>C "_C | |
nmap <Leader>S "_S | |
vmap <Leader>d "_d |
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
.claim.#{claim.confirmation} | |
h2= claim.claimant.name | |
p= claim.claim |
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
$.fn.nInputs = function(options) { | |
var $self = this; | |
options = $.extend({ | |
number: $self.val(), | |
container: $self.parent(), | |
}, options); | |
var $existing = options.container.find('input'); | |
if ($existing.length < options.number) { |
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
[user] | |
email = | |
name = | |
signingkey = | |
[alias] | |
lg = log --graph --decorate --branches --oneline --remotes --tags --all | |
qlog = log --graph --decorate --branches --oneline --tags | |
st = status | |
co = checkout | |
ci = commit |
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
set statusline=all\ the\ stuff\ %{FindSub()}\ and\ more\ stuff | |
function! FindSub() | |
let subpattern = '\(sub\|function\) \w\+' | |
let subline = search(subpattern, 'bnW') | |
if !subline | |
return 'not in sub' | |
else | |
return matchstr(getline(subline), subpattern) | |
endif |
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
master o-o-o-o-o-A | |
A - original master |
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
$ tar tzf Dropbox/Public/mc-client-buildcraft\[additional\]-forestry-wireless-ic2-redpower-enderchests.tar.gz | |
.minecraft/ | |
.minecraft/bin/ | |
.minecraft/bin/minecraft.jar | |
.minecraft/buildcraft/ | |
.minecraft/buildcraft/blueprints/ | |
.minecraft/buildcraft/blueprints/direwolf20.list | |
.minecraft/buildcraft/blueprints/rycudas.list | |
.minecraft/buildcraft/blueprints/index.txt | |
.minecraft/buildcraft/blueprints/Altreus.list |
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
my $sc = Scraper->new($url); | |
while (my $manu = $sc->next_manufacturer()){ | |
while (my $cat = $manu->next_category()) { | |
while (my $prod = $cat->next_product()) { | |
# woot | |
} | |
} | |
} |