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
" 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 |
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
# 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 |
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
# Ruby/ProgressBar - a text progress bar library | |
# | |
# Copyright (C) 2001 Satoru Takabayashi <[email protected]> | |
# 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. | |
# |
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
# 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 <[email protected]> | |
# Contributor: John Proctor <[email protected]> |
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
class Defaults | |
# Getters/setters | |
attr_accessor :theme, :lang, :page | |
def initialize | |
# .... | |
end | |
def clone | |
$stderr.puts 'Cloning the registry is forbidden' |
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
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): |
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
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' |
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
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-*-* |
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
#== 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 |
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
python-mpd | |
========== | |
Getting python-mpd | |
------------------ | |
The latest release of python-mpd can be found at | |
http://pypi.python.org/pypi/python-mpd/[]. | |