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
// see templates/application.hbs |
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
<form action="http://imageshack.us/rest_api/v2/user" method="POST"> | |
<input value="" type="text" size="26" name="email" placeholder="Enter your email address" style=" | |
border: solid 1px #ccc; | |
height: 30px; | |
width: 250px; | |
border-radius: 4px; | |
padding: 0 7px; | |
"> | |
<input type="hidden" name="action" value="register"> |
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
function levenshtein( a, b ) | |
{ | |
var i; | |
var j; | |
var cost; | |
var d = new Array(); | |
if ( a.length == 0 ) | |
{ | |
return b.length; |
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
function make() { | |
var text = ""; | |
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | |
for( var i=0; i < 25; i++ ) | |
text += possible.charAt(Math.floor(Math.random() * possible.length)); | |
return text; | |
} |
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
function make() { | |
var text = ""; | |
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | |
for( var i=0; i < 25; i++ ) | |
text += possible.charAt(Math.floor(Math.random() * possible.length)); | |
return text; | |
} |
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
var areIdentical = function(arr1, arr2) { | |
if (arr1.length != arr2.length) { return false; } | |
arr1.forEach(function(val, index) { | |
if (!arr2[index] || arr2[index] !== val) { return false; } | |
}); | |
return true; | |
}; |
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
var addthis_config = { | |
"data_track_clickback":true, | |
"ui_cobrand":'yfrog', | |
services_exclude: 'print' | |
}; | |
var addthis_share = { | |
templates: { twitter: 'yfrog Photo : http://yfrog.com/h07cwtwj Shared by @meilinglam via @yfrog' }, | |
url: 'http://yfrog.com/h07cwtwj', | |
title: 'yfrog Photo : http://yfrog.com/h07cwtwj Shared by @meilinglam via @yfrog', | |
email_vars: { server: 612, filename: '7cwtw.jpg' } |
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
var addthis_config = { | |
"data_track_clickback":true, | |
"ui_cobrand":'yfrog', | |
services_exclude: 'print' | |
}; | |
var addthis_share = { | |
templates: { twitter: 'yfrog Photo : http://yfrog.com/h07cwtwj Shared by @meilinglam via @yfrog' }, | |
url: 'http://yfrog.com/h07cwtwj', | |
title: 'yfrog Photo : http://yfrog.com/h07cwtwj Shared by @meilinglam via @yfrog', | |
email_vars: { server: 612, filename: '7cwtw.jpg' } |
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
var addthis_config = { | |
"data_track_clickback":true, | |
"ui_cobrand":'yfrog', | |
services_exclude: 'print' | |
}; | |
var addthis_share = { | |
templates: { twitter: 'yfrog Photo : http://yfrog.com/h07cwtwj Shared by @meilinglam via @yfrog' }, | |
url: 'http://yfrog.com/h07cwtwj', | |
title: 'yfrog Photo : http://yfrog.com/h07cwtwj Shared by @meilinglam via @yfrog', | |
email_vars: { server: 612, filename: '7cwtw.jpg' } |
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
<div class="addthis_toolbox addthis_default_style"> | |
<a class="addthis_button_preferred_1"></a> | |
<a class="addthis_button_preferred_2"></a> | |
<a class="addthis_button_preferred_3"></a> | |
<a class="addthis_button_preferred_4"></a> | |
<a class="addthis_button_compact"></a> | |
</div> |
NewerOlder