Skip to content

Instantly share code, notes, and snippets.

=== modified file 'static/xslt/export/gpx.xsl'
--- static/xslt/export/gpx.xsl 2010-01-17 11:11:12 +0000
+++ static/xslt/export/gpx.xsl 2010-01-17 15:19:19 +0000
@@ -1,12 +1,13 @@
<xsl:stylesheet version="1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/1"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
->
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
[web2pyTM] admin
site
edit
about
errors
logout
help
Error ticket for "sahana"
Ticket 127.0.0.1.2010-01-17.14-35-27.94e7175f-1cdd-411e-af1e-aefc82fbee3e
;; A meta-circular evaluator with first-class macros.
;; Author: Matthew Might
;; Site: http://matt.might.net/
;; http://www.ucombinator.org/
;; This evaluator runs in R5RS Scheme, or itself.
#lang scheme
(require (planet wmfarr/simple-matrix:1:1/matrix))
(define (symbol-list . elements)
(map symbol-accumulate-and-number elements))
(define (create-adjacency-matrix environment x y)
(define created-matrix (make-matrix x y))
(for/matrix x y symbol-list)
(set! environment (cons environment created-matrix)))
r2q2@sorbis:~/trunk/kernels/oskit-20020317$ CC=gcc-2.95 CFLAGS="-g -O2" ./configure --enable-debug --enable-modulefile=modules.x86.pc
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) c89
checking for ld... (cached) ld
checking for ar... (cached) ar
checking for strip... (cached) strip
checking for objcopy... (cached) objcopy
@zitterbewegung
zitterbewegung / app.py
Created June 6, 2012 13:57
Question about validate.js
from bottle import Bottle, route, run, static_file, post
@route('/static/<filename>')
def server_static(filename):
return static_file(filename, root='.')
@post('/post')
'''What do I do here? '''
def post():
<script>
function SelectText(element) {
var doc = document
, text = doc.getElementById(element)
, range, selection
;
if (doc.body.createTextRange) {
range = document.body.createTextRange();
range.moveToElementText(text);
range.select();
@zitterbewegung
zitterbewegung / heavy.ax
Created August 20, 2015 13:56
jmc beyond lisp email
COMMENT \otimes VALID 00002 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00002 00002 DECLARE INDCONST UU
C00010 ENDMK
C\otimes ;
DECLARE INDCONST UU;
DECLARE INDCONST \lambda \in SET;
DECLARE INDVAR w w0 w1 w2 w3 w4 z z0 z1 z2 z3 z4;
DECLARE INDVAR a a0 a1 a2 a3 a4 b b0 b1 b2 b3 b4
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zitterbewegung
zitterbewegung / bigqueryhnpts-comments.sql
Last active January 24, 2017 17:32
Computes the average amount of points of comments per month.
SELECT
CONCAT(STRING(YEAR(time_ts)),'-',RIGHT(STRING(100 + MONTH(time_ts)), 2)) AS Month,
AVG(ranking) AS rank,
EXACT_COUNT_DISTINCT([by]) AS CommentSum,
AVG(ranking) / EXACT_COUNT_DISTINCT([by]) AS PerCapita
FROM
[bigquery-public-data:hacker_news.comments]
GROUP BY
1
ORDER BY