Skip to content

Instantly share code, notes, and snippets.

View jacobfogg's full-sized avatar

Jacob Fogg jacobfogg

View GitHub Profile
@jacobfogg
jacobfogg / setup-statsd.sh
Created May 23, 2011 20:39 — forked from jasonroelofs/setup-statsd.sh
Turn an Ubuntu 10.10 EC2 into a StatsD/Graphite server
# install git
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
# download the Node source, compile and install it
git clone https://github.com/joyent/node.git
cd node
./configure
make
sudo make install
# install the Node package manager for later use
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Sliding CAPTCHA example">
<title>Sliding CAPTCHA Example</title>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?3.1.1/build/cssreset/reset-min.css&3.1.1/build/cssbase/base-
YUI.add('gallery-slider-captcha', function(Y){
var isString = Y.Lang.isString,
isBoolean = Y.Lang.isBoolean;
Y.SliderCaptcha = Y.Base.create('slider-captcha', Y.Widget, [], {
message : null,
handle : null,
YUI.add('gallery-slider-captcha', function(Y){
var isString = Y.Lang.isString,
isBoolean = Y.Lang.isBoolean;
Y.SliderCaptcha = Y.Base.create('slider-captcha', Y.Widget, [], {
// P U B L I C //
initializer : function() {
// publish release-success event
// publish release-failure event