Skip to content

Instantly share code, notes, and snippets.

narbs

Block or report user

Report or block narbs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .vimrc
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
behave xterm
set selectmode=mouse
set lines=50
set co=80
set vb
set ignorecase
set lcs=tab:>-,trail:-
set nolist
View taskpaper .vimrc
:fu! Taskpaper()
:return setline(line("."), getline(line(".")) . "@done(" . strftime("%Y-%m-%d") . ")")
:endf
:map <F11> <ESC>:call Taskpaper()<CR><ESC>
:imap <F11> <ESC>:call Taskpaper()<CR><ESC>
@narbs
narbs / suck.sh
Created Aug 24, 2011
iTunes connect auto ingress bash script
View suck.sh
#!/bin/bash
itc_username=some_username
itc_password=some_password
itc_account=12345678
yesterday=`date -v-1d +"%Y%m%d"`
if [ "$1" == "" ]; then
echo downloading file for yesterday: $yesterday
@narbs
narbs / ip2chrome.vim
Created May 2, 2012
This vim script converts an Instapaper csv file to a list of chrome bookmark links as html. Paste these into an empty chrome bookmark template and use this to import your links from Instapaper into Pinboard
View ip2chrome.vim
%s/URL,Title,Selection,Folder\n//
%s/",[^,]*,[^,]*$/"/
%s/\(.*\),"\(.*\)"$/<DT><A HREF="\1">\2<\/A>/
You can’t perform that action at this time.