Skip to content

Instantly share code, notes, and snippets.

/* Red button theme for JQuery Mobile
* - Use data-theme="r" for red versions of the default JQuery Mobile Buttons.
******************************************************************************************/
.ui-btn-up-r {
border: 1px solid #721414;
background: #AB2525;
font-weight: bold;
color: #fff;
text-shadow: 0 -1px 1px #000;
@mlzboy
mlzboy / gist:656656
Created October 31, 2010 14:33 — forked from fredwu/gist:580095
source 'http://rubygems.org'
# --------------------
# Rails
# --------------------
gem 'rake'
gem 'arel', :git => 'git://github.com/rails/arel.git'#, :branch => '1-0-stable'
# gem 'rails', '~> 3.0.0'
gem 'rails', :git => 'git://github.com/rails/rails.git', :branch => '3-0-stable'
#! /bin/sh
### BEGIN INIT INFO
# Provides: supervisord
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
/* Ejs parser for Nodejs
*
* Copyright (c) 2009, Howard Rauscher
* Licensed under the MIT License
*/
// PUBLIC METHODS
function parse(input) {
var output = [];
var innerOutput = [];
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby
# - a browser with WebSocket support
#
# Usage:
# ruby redis_pubsub_demo.rb
#