Skip to content

Instantly share code, notes, and snippets.

View sherbondy's full-sized avatar

Ethan Sherbondy sherbondy

View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta name="if:Infinite scroll" content="1">
<!-- Default colors -->
<meta name="color:Primary" content="#af0000"/>
<meta name="color:Secondary" content="#000066"/>
<meta name="color:Background" content="#ffffff"/>
<meta name="color:Boxes" content="#e4e4e4"/>
actor: l’acteur/l’actrice
announcer: l’annonceur (m)
architect: l’architecte (m/f)
artisan: l’artisan(e)
artist: l’artiste (m/f)
author: l’auteur (m)
lawyer: l’avocat(e)
banker: le banquier
shepherd: le berger/ère
jeweler: le bijoutier/ière
eagle: l'aigle (m)
ostrich: l'autruche (f)
duck: le canard, la cane
canary: le canari
stork: la cigogne
dove: la colombe
rooster: le coq
crow, raven: le corbeau
swan: le cygne
turkey: le dindon, la dinde
teller's window: la caisse
savings bank: la caisse d'épargne
teller: le caissier/la caissière
checkbook: le carnet de chèques
collateral: la caution
vault: la chambre forte
check: le chèque
traveler's check: le chèque de voyage
safe: le coffre-fort
in cash: comptant
# lines: make lots of lines on the screen
import pippy, pygame, sys, math
from pygame.locals import *
from random import *
# XO screen is 1200x900
size = width, height = 1200, 900
# always need to init first thing
@sherbondy
sherbondy / tumblr.html
Created December 29, 2010 18:07
Compatriot New
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{Title}
{block:DayPage}
// On {ShortMonth} {DayOfMonth}, {Year}
{/block:DayPage}
{block:TagPage}
// Tagged as &ldquo;{Tag}&rdquo;
@sherbondy
sherbondy / server.coffee
Created February 22, 2011 10:24
The example socket.io server, rewritten in CoffeeScript
http = require 'http'
url = require 'url'
fs = require 'fs'
io = require 'socket.io'
sys = require if process.binding('natives').util then 'util' else 'sys'
server = http.createServer (req, res) ->
path = url.parse(req.url).pathname
switch path
when '/'
@sherbondy
sherbondy / gist:850472
Created March 2, 2011 04:15
traceback
Error: Cannot find module 'coffeekup'
at Function._resolveFilename (module.js:290:11)
at Function._load (module.js:242:25)
at require (module.js:318:19)
at Object.<anonymous> (/usr/local/lib/node/.npm/coffeekup/0.2.2/package/bin/coffeekup.coffee:3:15)
at Object.<anonymous> (/usr/local/lib/node/.npm/coffeekup/0.2.2/package/bin/coffeekup.coffee:76:4)
at Module._compile (module.js:374:26)
at Object.run (/usr/local/lib/node/.npm/coffee-script/1.0.1/package/lib/coffee-script.js:55:19)
at /usr/local/lib/node/.npm/coffee-script/1.0.1/package/lib/command.js:115:29
at /usr/local/lib/node/.npm/coffee-script/1.0.1/package/lib/command.js:85:26
set nocompatible
set number
set ruler
syntax on
" Set encoding
set encoding=utf-8
" Whitespace stuff