View ski.scala
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
/** | |
* Good luck! | |
* | |
* This represents the tersest possible translation of the SK[I] combinator | |
* calculus into Scala's version of the typed lambda calculus. Previous | |
* attempts used the direct encoding of the calculus into fully parameterized | |
* FunctionX objects, but that was both incomprehensible and unreadable. | |
* This version is still sort of hard to follow, given all of the type | |
* annotations, but is considerably more concise. | |
* |
View Experiment.scala
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
package com.sportaneous.snippet | |
import java.util.Calendar | |
import java.text.SimpleDateFormat | |
import net.liftweb.http.js.JsCmds.ReplaceOptions._ | |
import com.sportaneous.snippet.SelectValue._ | |
import net.liftweb.http.js.{JE, JsCmd} | |
import net.liftweb.http.js.JsCmds.After._ | |
import xml.{Null, PrefixedAttribute, NodeSeq} | |
import net.liftweb.http.{StatefulSnippet, SHtml, S} |
View archive-doublecheck.txt
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
> find . -name "*.a" -print | xargs otool -L | |
Archive : ./node_modules/sqlite/build/default/deps/sqlite/libsqlite3-bundled.a | |
./node_modules/sqlite/build/default/deps/sqlite/libsqlite3-bundled.a(sqlite3_1.o): | |
Archive : ./node_modules/sqlite/deps/mpool-2.1.0/libmpool.a | |
./node_modules/sqlite/deps/mpool-2.1.0/libmpool.a(mpool.o): |
View mongod-ldd-output.txt
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
> ldd mongod | |
not a dynamic executable |
View mongod-ldd-output.txt
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
$ ldd mongod | |
not a dynamic executable |
View mktarball
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
#!/usr/bin/env python | |
import sys | |
import os | |
import urllib | |
import glob | |
import subprocess | |
mongodb_urls = {'Linux': {'i686': 'http://fastdl.mongodb.org/linux/mongodb-linux-i686-static-1.8.2.tgz', | |
'x86_64': 'http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-static-legacy-1.8.2.tgz'}, |
View simple-test.sh
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/bash | |
. ./taps/tap-functions | |
plan_tests 7 | |
PASSPHRASE="HamxSnadwich" | |
PASSPHRASE_HASH="2cfd41c20096d148" | |
is ${USER} 'ubuntu' |
View gist:1184990
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
Core can proxy handles Unicode A GET to /Me/testUnicode/test | |
✗ should respond with 200 | |
» expected 200, | |
got 404 (==) // api-easy.js:233 | |
✗ returned unicode JSON should be parsable | |
Error: Could not parse json correctly: Cannot GET /test | |
at Object.<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/tests/locker-core-api-test.js:174:31) | |
at [object Object].<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/api-easy/lib/api-easy.js:225:16) | |
at runTest (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows.js:93:26) | |
at EventEmitter.<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows.js:71:9) |
View gist:1185030
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
♢ Google Contacts Connector | |
Adding a listener for gcontacts/faked to contact/google | |
FAKEWEB: Unhandled GET request to https://www.google.com/m8/feeds/contacts/default/full?updated-min=1970-01-01T00%3A00%3A00Z&showdeleted=true&sortorder=ascending&orderby=lastmodified&max-results=3000&oauth_token=abc&alt=json | |
Synclet testSynclet starting for testSynclet-1 | |
Synclet testSynclet finished for testSynclet-1 | |
Synclet testSynclet starting for testSynclet-1 | |
Synclet testSynclet finished for testSynclet-1 | |
31 Aug 16:03:16 - debug: Firing an event for testSync/testSynclet from synclet/testSynclet-1 action(delete) | |
Synclet testSynclet starting for testSynclet-1 |
View gist:1185077
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
Core can proxy handles Unicode A GET to /Me/testUnicode/test | |
✗ should respond with 200 | |
» expected 200, | |
got 404 (==) // api-easy.js:233 | |
✗ returned unicode JSON should be parsable | |
Error: Could not parse json correctly: Cannot GET /test | |
at Object.<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/tests/locker-core-api-test.js:174:31) | |
at [object Object].<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/api-easy/lib/api-easy.js:225:16) | |
at runTest (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows.js:93:26) | |
at EventEmitter.<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows.js:71:9) |
OlderNewer