Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<script>
function loaded() {
var canvas = document.getElementById("canvas")
var img = document.getElementById("ascii")
ctx = canvas.getContext("2d")
ctx.drawImage(img,0,0)
//window.open(canvas.toDataURL(), "new")
//alert(canvas.toDataURL());
<html>
<head>
<style>
*{
margin: 0;
padding: 0;
}
#input {
position: absolute;
top: 0;
<!doctype html>
<html>
<head>
<script src="jquery.js"></script>
<script src="json2.js"></script>
<script>
var start = 1269823940545
function rand(x) {
@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;
}
julieta: 396896
bands: 398365
todo: 399506
pure: 399609
lines: 400867
scripter: 407668
rv: 409898
<style>
.text {
font-family: Helvetica, Arial;
}
</style>
<h1>My favorite Spanish singers/bands</h1>
<pre class="text">
• Julieta Venegas
• Aterciopelados
<h1>To do</h1>
lots of stuff
<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.
<!doctype html>
<html>
<head>
<style>
textarea {
  width: 500px;
  height: 400px;
}
</style>
<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"