This file contains 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
# 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 |
This file contains 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
<!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- |
This file contains 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
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, | |
This file contains 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
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 |