- lengthy
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
Object | |
Behavior | |
ClassDescription | |
Class | |
Metaclass | |
BlockClosure | |
Boolean | |
False | |
True | |
Browser |
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
def tip(msg); puts; puts msg; puts "-"*100; end | |
# | |
# 30 Ruby 1.9 Tips, Tricks & Features: | |
# http://www.igvita.com/2011/02/03/new-ruby-19-features-tips-tricks/ | |
# | |
tip "Upgrading to Ruby 1.9 is simple: rvm install 1.9.2 && rvm --default 1.9.2" | |
tip "Ruby 1.9 supports named captures in regular expressions!" |
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
MySQL commands (from http://www.pantz.org/software/mysql/mysqlcommands.html) | |
Create a database on the sql server. | |
mysql> create database [databasename]; | |
List all databases on the sql server. | |
mysql> show databases; | |
Switch to a database. | |
mysql> use [db name]; |
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
// need to mess with document.defaultAction = true/false to block default action; | |
// idea from http://www.quirksmode.org/js/keys.html | |
window.onload = function () { | |
var keyCodeUp, | |
keyCodeDown, | |
currentIndex, | |
fonts, | |
currentFont, | |
setGlobalFont, |
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
SpiderMonkey, implementation in C, ECMA-262 Edition 3 (Gecko) | |
Rhino, implementation in Java, ECMA-262 Edition 3 (none) | |
Nitro aka SquirrelFish (WebKit) | |
V8 (WebKit) | |
TraceMonkey (FF) | |
JagerMonkey (FF, Nitro/TraceMonkey cross child) | |
Futhark | |
Carakan (Presto) | |
Chakra (IE) |
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
"Chris Rathman / [email protected] | |
************************************************************************ | |
* Allowable characters: * | |
* - a-z * | |
* - A-Z * | |
* - 0-9 * | |
* - .+/\*~<>@%|&? * | |
* - blank, tab, cr, ff, lf * | |
* * | |
* Variables: * |
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
.mouse, #preview{ | |
position: absolute; | |
background-repeat: no-repeat; | |
height: 22px; | |
min-width: 15px; | |
z-index: 100; | |
} | |
.mouse{ | |
background-image: url('../images/cursor.png'); |
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
Sauder, Maloof, O'Sullivan, and Stickley. Four names that have one thing in common: furniture. Two of these build cheap knock-together furniture that can be found at IKEA or any office furniture store, the other two build one-of-a-kind instant classics. Sauder and O'Sullivan are companies that make pre-cut pieces of composite wood and veneer using CNC machines, and package them with a hardware kit and assembly instructions. Sam Maloof and Gustav Stickley were furniture craftsmen. Both have passed on, but their legacy of impeccable craftsmanship remains, and demand for their work only increases with time. | |
The two companies mass-produce identical copies of economical furniture for sale in large retail stores, where customers can purchase them cheaply. The relative quality of the products is reflected in their prices and availability. While both companies make a serviceable product at a reasonable price, it's likely people buy it for its convenience and availability and price, not its fine craft |
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
var sys, | |
url, | |
querystring, | |
http, | |
searchUser, | |
listRepos, | |
postHandler; | |
sys = require('sys'); | |
url = require('url'); | |
querystring = require('querystring'); |