Skip to content

Instantly share code, notes, and snippets.

@owenthereal
owenthereal / run-test262-nailgun.sh
Created October 17, 2012 03:21
Run ecmascript test262 suite for Dynjs with nailgun
#!/bin/sh
# Usage:
#
# * copy this file to the test262 folder
# * start nailgun server with `ng-server`
# * run suite with `sh run-test262-nailgun.sh <dynjs-folder>`
if [ $# = 0 ]
then
@letmaik
letmaik / .travis.yml
Last active December 15, 2021 23:10
Deploy snapshots to Sonatype after Travis CI build
language: java
env:
global:
- SONATYPE_USERNAME=yourusername
- secure: "your encrypted SONATYPE_PASSWORD=pass"
after_success:
- python addServer.py
- mvn clean deploy --settings ~/.m2/mySettings.xml
@mnicky
mnicky / clojure-blip-videos-orig-urls.txt
Created December 14, 2012 11:30
Direct links to Clojure videos on Blip TV
http://blip.tv/file/get/Richhickey-ClojureDataStructuresPart1411.flv
http://blip.tv/file/get/Richhickey-ClojureDataStructuresPart2306.flv
http://blip.tv/file/get/Richhickey-ClojureSequences733.flv
http://blip.tv/file/get/Richhickey-ClojureConcurrency252.flv
http://blip.tv/file/get/Richhickey-ClojureForJavaProgrammers2Of2680.mov
http://blip.tv/file/get/Richhickey-ClojureForJavaProgrammers1Of2174.flv
http://blip.tv/file/get/Richhickey-ClojureForLispProgrammersPart2299.mov
http://blip.tv/file/get/Richhickey-ClojureForLispProgrammersPart1372.flv
http://blip.tv/file/get/Richhickey-HammockdrivenDevelopment465.mov
http://blip.tv/file/get/Richhickey-MichaelFogusFertileGroundTheRootsOfClojure492.mov
@raggi
raggi / .gitignore
Last active March 30, 2017 05:50
Example plain text gem indexer
specs.4.8
prerelease_specs.4.8
versions.list
names.list
specs
deps
gems
@maxandersen
maxandersen / archive.lua
Created March 3, 2013 18:54
somewhat complete archiving mails per quarter
archiveblocks = {
Q1 = { '01-Jan', '31-Mar' },
Q2 = { '01-Apr', '30-Jun' },
Q3 = { '01-Jul', '30-Sep' },
Q4 = { '01-Oct', '31-Dec' }
}
function archive(startyear, endyear, mailbox, account)
if (mailbox=='INBOX/_inbox') then return end
print('Archiving ' .. mailbox .. ' from ' .. startyear .. ' ' .. endyear)
@luke
luke / migrate_zerigo_to_route53.py
Last active February 6, 2016 19:44
Migration script for moving from Zerigo DNS to Amazon Route 53.
import logging
import zerigodns
import boto
from boto.route53.record import ResourceRecordSets
from boto.s3.website import RedirectLocation
# There is no API for these so we have to embed and lookup
# https://forums.aws.amazon.com/thread.jspa?threadID=116724
# http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region