[ Launch: path test ] 5061490 by jonahx[ Launch: geometry daily #129 ] 5056075 by jonahx[ Launch: geometry daily #129 ] 4942307 by enjalot
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>yguyghggjkgh</title> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<style type="text/css"> | |
.axis path, | |
.axis line { |
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 touchHandler(event) { | |
var touch = event.changedTouches[0]; | |
var simulatedEvent = document.createEvent("MouseEvent"); | |
simulatedEvent.initMouseEvent({ | |
touchstart: "mousedown", | |
touchmove: "mousemove", | |
touchend: "mouseup" | |
}[event.type], true, true, window, 1, | |
touch.screenX, touch.screenY, |
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 'sinatra' | |
require 'github/markdown' | |
get '/' do | |
@markdown_file = ENV['file'] | |
@markup = GitHub::Markdown.render_gfm(File.read(@markdown_file)) | |
erb :index | |
end | |
__END__ |
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
# check1 - print total deposits and checks | |
/~check/ { ck = 1; next } | |
/~deposit/ { dep = 1; next } | |
/~amount/ { amt = $2; next } | |
/~$/ { addup() } | |
END { | |
addup() | |
printf("deposits $%.2f, checks $%.2f'n", deposits, checks) | |
} | |
function addup() { |
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
#!/bin/sh | |
#0 :0 | |
trap '' PIPE | |
exec /usr/lib/j8/bin/jconsole "$0" "$@" | |
# vim:ft=j | |
) | |
NB.SUMMARY: awk-like table data processing | |
NB.USAGE: $ ./$0 [-b 'beg-exprs'..] [-e 'end-exprs'..] ['line-exprs'...] | |
NB. TODO: gather all files (and stdin by '-') into single list of boxes with data |