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
# require 'coffeenode-stacktrace' | |
# require 'longjohn' | |
log = console.log | |
fs = require 'fs' | |
Q = require 'q' | |
coa = require 'coa' # https://github.com/veged/coa | |
process.on 'uncaughtException', ( error ) => |
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
zero | |
one | |
two | |
three | |
four | |
five | |
six | |
seven | |
eight | |
nine |
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
############################################################################################################ | |
### % [ title ] ( src ) ### | |
video_matcher = /^%\[([^\]]*)\]\s*\(([^)]+)\)/ | |
#----------------------------------------------------------------------------------------------------------- | |
parse_video = ( state, silent ) -> | |
return false if state.src[ state.pos ] isnt '%' | |
match = video_matcher.exec state.src[ state[ 'pos' ] .. ] | |
return false unless match? | |
unless silent |
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
// Generated by CoffeeScript 1.8.0 | |
(function() { | |
var $, D, db, db_route, feed, fs, gte, keys, log, new_db, read, rmrf, rpr, through2; | |
fs = require('fs'); | |
log = console.log; | |
rpr = (require('util')).inspect; |
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
( $ 'document' ).ready -> | |
log = console.log.bind console | |
nominal_line_height = 25 | |
line_count = 36 | |
panel = $ '.panel' | |
cork = $ '.cork' | |
panel_rectangle = panel[ 0 ].getBoundingClientRect() | |
cork_rectangle = cork[ 0 ].getBoundingClientRect() | |
real_panel_height = panel_rectangle[ 'height' ] | |
real_cork_bottom = cork_rectangle[ 'bottom' ] |
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"> | |
<title>font-face-test</title> | |
<style> | |
@font-face { | |
font-family: 'cjk'; | |
src: local('Sun-ExtA'); | |
unicode-range: U+4e00-9fff; |
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
weird: | |
...-emoticon: | |
...-emoticon-frowning-face: 囧 | |
...-emoticon-frowning-king: 崮 | |
...-emoticon-frowning-queen: 莔 | |
...-emoticon-frowning-withhat: 商 | |
...-emoticon-frowning-turtle: 囧興 | |
...-emoticon-bomberman: 卣 | |
...-emoticon-verydull: 槑 | |
...-arbitrary: 𠖬𠄓𠔇𦫺𦫷𦫻𠄑𠦑𠅂𢀗𠃟𨱘𠇬𥎨𠛷𠃡𡭡𡉵𠮸𠅑 |
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
drop schema if exists X cascade; | |
create schema X; | |
create domain X.an_illegal_regex as text check ( value ~ '(' ); | |
create table X.table_with_illegal_constraint ( | |
a text, | |
constraint "column a must have a bogus value" check ( a::X.an_illegal_regex = a ) ); |
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
'use strict' | |
############################################################################################################ | |
log = console.log | |
warn = console.warn | |
fn = ( new Intl.NumberFormat 'en-US' ).format | |