Skip to content

Instantly share code, notes, and snippets.

View hasundue's full-sized avatar
💻
Refactoring my Nix stuff

Shun Ueda hasundue

💻
Refactoring my Nix stuff
View GitHub Profile
@hasundue
hasundue / .vimrc
Created June 30, 2012 00:13
vimrc
" appearance
colorscheme desert
set number
syntax enable
" searching
set incsearch
set hlsearch
" indent
" appearance
colorscheme desert
set number
syntax enable
" searching
set incsearch
set hlsearch
" indent
@hasundue
hasundue / dorriaen.scm
Created April 15, 2012 07:10
A gauche script generating html from text files written in wiliki format
#!/usr/bin/gosh
(use srfi-1)
(use srfi-13)
(use www.cgi)
(use text.html-lite)
(use file.util)
(use sxml.serializer)
(use wiliki.parse)
@hasundue
hasundue / tweet_notifier.rb
Created April 15, 2012 06:28
Notify every tweet (earthquake.gem plugin)
# tweet notifier plugin
Earthquake.init do
output do |item|
next unless item["_stream"]
if item["text"]
notify "#{item["text"]}", :title => "#{item["user"]["screen_name"]}"
end
end
end