Skip to content

Instantly share code, notes, and snippets.

View jacobfogg's full-sized avatar

Jacob Fogg jacobfogg

View GitHub Profile
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
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,
<!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-
<?
// use tabstop=4
/*
Rich Text Format - Parsing Class
================================
(c) 2000 Markus Fischer
<[email protected]>
http://josefine.ben.tuwien.ac.at/~mfischer/
<?php
/*
Plugin Name: DataJoe Hawaii Buyer's Guide Plugin
Plugin URI: http://joe4-jacob.datajoe.com/wp
Description: Custom plugin built for Hawaii Buyer's Guide to embed a custom interface for their directory on their site. To add the directory to your site, simply include "%%DJ_HBG_page%%" on any page.
Version: 0.03
Author: Jacob Fogg
Author URI: http://jacobfogg.blogspot.com
*/
require_once(dirname(dirname(__FILE__)).'/DataJoe_Main/DataJoe_helper.inc');
@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