Skip to content

Instantly share code, notes, and snippets.

View kdwinter's full-sized avatar

Kenneth De Winter kdwinter

  • Belgium
  • 18:06 (UTC +02:00)
View GitHub Profile
@kdwinter
kdwinter / sunburst.vim
Created December 18, 2009 10:30 — forked from roman/sunburst.vim
" Vim color file
" Maintainer: Roman Gonzalez <romanandnreg at gmail dot com>
" Last Change: 2009 Aug 11
" Version: 0.0.1
" Screenshot: http://img.skitch.com/20090811-ti4b27qbftjybmau32ruygjjwx.jpg
" URL: http://blog.romanandreg.com
" For now this will only work on gvim
set background=dark
@kdwinter
kdwinter / gist:258191
Created December 16, 2009 21:22 — forked from peterc/gist:40246
# NAME: authinabox
# VERSION: 1.01 (Dec 27, 2008)
# AUTHOR: Peter Cooper [ http://www.rubyinside.com/ github:peterc twitter:peterc ]
# DESCRIPTION: An "all in one" Sinatra library containing a User model and authentication
# system for both session-based logins OR HTTP Basic auth (for APIs, etc).
# This is an "all in one" system so you will probably need to heavily tailor
# it to your own ideas, but it will work "out of the box" as-is.
# COMPATIBILITY: - Tested on 0.3.2 AND the latest rtomayko Hoboken build! (recommended for the latter though)
# - NEEDS DataMapper!
# - Less work needed if you use initializer library -- http://gist.github.com/40238
# Ruby/ProgressBar - a text progress bar library
#
# Copyright (C) 2001 Satoru Takabayashi <satoru@namazu.org>
# All rights reserved.
# This is free software with ABSOLUTELY NO WARRANTY.
#
# You can redistribute it and/or modify it under the terms
# of Ruby's licence.
#
# Edited pkgver and md5sum to grab 1.9.1-p376
# for reasons mentioned here:
# http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/
# http://www.ruby-lang.org/en/news/2009/12/07/ruby-1-9-1-p376-is-released/
# -----
# Danny Tatom <dannytatom2gmail.com>
# $Id: PKGBUILD 53111 2009-09-26 06:56:09Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
class Defaults
# Getters/setters
attr_accessor :theme, :lang, :page
def initialize
# ....
end
def clone
$stderr.puts 'Cloning the registry is forbidden'
import os
#import sys
from urllib2 import urlopen
#import simplejson
DownloadPath = os.environ['HOME']+'/abs'
class Aur(object):
'''AUR handling methods'''
def __init__(self, options):
t = {}
--t.font = 'MonteCarlo 8'
t.font = 'Terminus 8'
t.bg_normal = '#000000'
t.fg_normal = '#888888'
t.border_normal = '#000000'
t.bg_focus = '#000000'
Xcursor.theme: Neutral_Plus
!-------------------------------------------------------------------------------
!
!
! U R X V T
!
!
!URxvt*font: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
!URxvt*boldFont: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
#== spec/spec_mpd.rb
$:.unshift File.dirname(__FILE__) + '/..'
require 'lib/rbmpd/mpd'
describe RbMPD do
before :all do
@mpd = RbMPD::MPD.new 'localhost', 6600
end
python-mpd
==========
Getting python-mpd
------------------
The latest release of python-mpd can be found at
http://pypi.python.org/pypi/python-mpd/[].