cd ~/Desktop/workspace/git
git clone http://github.com/resmo/git-ftp.git
sudo make install
'instanceof' tests results on the objects returned from the method/property below. | |
IE 8 | |
NodeList HTMLCollection StaticNodeList | |
all X | |
children X | |
childNodes X | |
getElementsByName X | |
getElementsByTagName X | |
getElementsByClassName X |
<?php | |
/** | |
* GD Watermark Lib Plugin Definition File | |
* | |
* This file contains the plugin definition for GD Watermark | |
* Usage: | |
* <?php | |
* require_once 'path/to/ThumbLib.inc.php'; | |
* $pic = PhpThumbFactory::create('path/to/pic/destination'); | |
* $watermark = PhpThumbFactory::create('path/to/watermark/destination'); |
Moved to: http://github.com/gf3/dotfiles/blob/master/bash_prompt |
@import "compass/utilities/sprites/base"; | |
// General Sprite Defaults | |
// You can override them before you import this file. | |
$icon-sprite-base-class: ".icon-sprite" !default; | |
$icon-sprite-dimensions: false !default; | |
$icon-position: 0% !default; | |
$icon-spacing: 0 !default; | |
$icon-repeat: no-repeat !default; |
@import "compass/utilities/sprites/base"; | |
// General Sprite Defaults | |
// You can override them before you import this file. | |
$emblem-sprite-base-class: ".emblem-sprite" !default; | |
$emblem-sprite-dimensions: false !default; | |
$emblem-position: 0% !default; | |
$emblem-spacing: 0 !default; | |
$emblem-repeat: no-repeat !default; |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
[[ -s "/Users/saulo/.rvm/scripts/rvm" ]] && source "/Users/saulo/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
PATH=$PATH:/usr/local/mysql/bin/ | |
DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# Make bash check its window size after a process completes | |
shopt -s checkwinsize |
cd ~/Desktop/workspace/git
git clone http://github.com/resmo/git-ftp.git
sudo make install
if [ "iTerm.app" == "$TERM_PROGRAM" ] ; then | |
# set up an array of RGB values | |
tabcolors[0]="244,0,200" | |
tabcolors[1]="0,200,244" | |
tabcolors[2]="68,250,132" | |
tabcolors[3]="250,68,132" | |
tabcolors[4]="250,132,68" | |
tabcolors[5]="220,200,100" | |
TTYNUM=`ps -p $$ -o tty= | cut -c 5,6,7` |
app.get('/', function(req, res){ | |
var ua = req.header('user-agent'); | |
if(/mobile/i.test(ua)) { | |
res.render('mobile.html'); | |
} else { | |
res.render('desktop.html'); | |
} | |
}); |