Skip to content

Instantly share code, notes, and snippets.

Brock Whitten sintaxi

Block or report user

Report or block sintaxi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View training.md

PhoneGap Training Day

 9:30 -  9:45 ... introductions
 9:45 - 10:30 ... intro to the phonegap project and mobile development (brian)
10:30 - 10:45 ... break
10:45 - 12:30 ... in depth code tutorial 
12:30 -  1:30 ... lunch
 1:30 -  2:30 ... phonegap apis walkthru, gotchas, etc
 2:30 -  3:00 ... complimentary tools (xui, lawnchair)
View gist:426588
# 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
View gist:205242
begin
require File.join(File.dirname(__FILE__), "gems/environment")
rescue LoadError
begin
require 'minigems'
rescue LoadError
require 'rubygems'
end
end
View build_ruby19.sh
# This is a script to install both ruby 1.8.7 and 1.9.1, with suffixed binaries and symlinks
mkdir -p /usr/local/src ; cd /usr/local/src
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p160.tar.bz2
tar -xjvf ruby-1.8.7-p160.tar.bz2
cd ruby-1.8.7-p160
./configure --prefix=/usr --program-suffix=18 --enable-shared
make && sudo make all install
cd /usr/local/src
You can’t perform that action at this time.