Skip to content

Instantly share code, notes, and snippets.

" turn syntax on when possible
if has("syntax")
syntax on
endif
" disable use of mouse, this prevent swtiching to visual mode on mouse selection
set mouse=
" do not show line numbers
set nonumber
@fiskus
fiskus / 1001-albums-you-must-hear-before-you-die.csv
Created November 11, 2012 15:25
1001 Albums You Must Hear Before You Die
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
year|album|artist
1955|In The Wee Small Hours|Frank Sinatra
1956|Ellington at Newport _56|Duke Ellington
1956|Elvis Presley|Elvis Presley
1956|Songs For Swingin' Lovers|Frank Sinatra
1956|Birth of the Cool|Miles Davis
1956|Tragic Songs Of Life|The Louvin Brothers
1957|The Atomic Mr Basie|Count Basie
1957|This is Fats Domino|Fats Domino
1957|Here_s Little Richard|Little Richard
@fiskus
fiskus / gist:3698225
Created September 11, 2012 12:52
find extended objects
#!/bin/bash
CLASS=`cat $1 | grep -P '(OTA.[^.]*) = function' | cut -f1 -d'=' | sed 's/^ *//;s/ *$//'`
git grep "OTA\.extend(OTA\..*, $CLASS)" | grep -oP '\(\KOTA\.([^,]*)'
@fiskus
fiskus / i3-config
Created August 23, 2012 09:22
i3 config
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#
@fiskus
fiskus / zen-coding-sort.css
Created August 22, 2012 15:30
Zen coding dictionary sort
position
top
right
bottom
left
z-index
display
visibility
-webkit-flex-direction
-moz-flex-direction
@fiskus
fiskus / gist:3236798
Created August 2, 2012 12:48
dummy dotfiles config
#!/bin/bash
# link rc files
configs=(\
".bashrc"\
".beetsconfig"\
".conkyrc"\
".gtkrc-2.0"\
".gvimrc"\
".hgrc"\
@fiskus
fiskus / README.md
Created February 9, 2012 08:35
Pentadactyl user style for Twitter.com

You should embed content of this file to your ~/.pentadactylrc