Skip to content

Instantly share code, notes, and snippets.

@drewlesueur
drewlesueur / index.html
Created May 22, 2010 07:54
Readable Validator
<!doctype>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="jquery.readable-validator.js"></script>
<script>
$(document).ready(function(){
$('form').readable_validator({
(function($) {
function tokenize(line) {
line = line.split("");
i = 0;
var state = "out";
var cur_token = []
var tokens = [];
var last_chr = "";
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
textarea {
width: 500px;
height: 500px;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
@drewlesueur
drewlesueur / index.html
Created May 16, 2010 19:31
iPhone editor
<!doctype html>
<html>
<head>
<meta name = "viewport"
content = "user-scalable = no, maximum-scale=1.0, initial-scale = 1.0, width = device-width, height = device-height">
<script>
lt="qwertyuiopasdfghjklzxcvbnm "
lt+="1234567890"
<!doctype html>
<html>
<head>
<style>
textarea {
  width: 500px;
  height: 400px;
}
</style>
<script>
<h1>Quote by Peter Seibel</h1>
<pre style="font-family: Helvetica, Arial">
Yet there's often a tension between small, elegant jewels
and sprawling practical balls of mud.
A small, perfect jewel is easy to understand and it doesn't have
any warts but then you have to build more stuff
on top of it to do anything. So everybody reimplements the same things over and over
and that leads to a different kind of bloat and ugliness.
<h1>To do</h1>
lots of stuff
<style>
.text {
font-family: Helvetica, Arial;
}
</style>
<h1>My favorite Spanish singers/bands</h1>
<pre class="text">
• Julieta Venegas
• Aterciopelados
julieta: 396896
bands: 398365
todo: 399506
pure: 399609
lines: 400867
scripter: 407668
rv: 409898
@drewlesueur
drewlesueur / css.css
Created May 11, 2010 03:50
Julieta Venegas
@font-face {
font-family: 'Steinem';
src: url('http://kernest.com/embed/steinem'), url('http://kernest.com/embed/steinem#steinem') format('svg');
}
*{
font-family: Steinem !important;
}