- Subscription to Hacker Monthly
- Daylesford Small Glass Tea Pot With Strainer
Books
[debug] module - ListBuffer(go.xsd) | |
[debug] xsd - toSchema: SchemaDecl( | |
topElems(ElemDecl(Some(http://www.thoughtworks-studios.com/ns/go),result,String,None,None,1,1,None,true,true,None,None), | |
ElemDecl(Some(http://www.thoughtworks-studios.com/ns/go),state,String,None,None,1,1,None,true,true,None,None), | |
ElemDecl(Some(http://www.thoughtworks-studios.com/ns/go),id,String,None,None,1,1,None,true,true,None,None), | |
ElemDecl(Some(http://www.thoughtworks-studios.com/ns/go),pipeline,ReferenceTypeSymbol({http://www.thoughtworks-studios.com/ns/go}@pipeline/pipeline),None,None,1,1,None,true,true,None,None), | |
ElemDecl(Some(http://www.thoughtworks-studios.com/ns/go),link,ReferenceTypeSymbol({http://www.thoughtworks-studios.com/ns/go}@link/link),None,None,1,1,None,true,true,None,None), | |
ElemDecl(Some(http://www.thoughtworks-studios.com/ns/go),jobs,ReferenceTypeSymbol({http://www.thoughtworks-studios.com/ns/go}@jobs/jobs),None,None,1,1,None,true,true,None,None), | |
ElemDecl(Some(http://www.thoughtworks-studios.com/ns/go),approvedB |
@prefix dc: <http://purl.org/dc/elements/1.1/>. | |
# this resource is a hypothesis, with common metadata (title, author, date) and | |
# some links to related concepts | |
<> a :Hypothesis; | |
dc:author <http://hypothify.com/martwine>; | |
dc:author <http://hypothify.com/user5d66>; | |
dc:author <http://hypothify.com/user9ac7>; | |
dc:date "2012-03-06T10:25:00"; | |
dc:title "The ocean atmosphere of exchange of ammonia is controlled by the emission of Dimethysulfide"@en; |
#!/bin/bash | |
# Add yourself to the list of authorized ssh users on a host | |
host=$1 | |
tmpfile=`mktemp /tmp/authorized_keys.XXXXXX` || exit 1 | |
notice() { | |
echo -e "\033[33m# $1\033[0m" | |
} | |
notice "Adding you to authorized_keys for $host" |
#!/usr/bin/env python | |
from argparse import ArgumentParser | |
from ConfigParser import ConfigParser, NoSectionError, NoOptionError | |
from datetime import datetime | |
from flickrapi import FlickrAPI | |
from os import environ | |
from os.path import abspath, basename, expanduser | |
from sys import argv | |
#!/usr/bin/env python | |
from fnmatch import fnmatch | |
from os import walk | |
from os.path import join | |
from hashlib import md5 | |
from sys import argv | |
def recursive_glob(rootdir='.', pattern='*'): | |
for rootdir, dirnames, filenames in walk(rootdir): |
From 5942a6b9041cce90c326664f206592782157353f Mon Sep 17 00:00:00 2001 | |
From: Ben Godfrey <bpgodfrey@gmail.com> | |
Date: Mon, 1 Oct 2012 17:18:31 +0100 | |
Subject: [PATCH] Use Scalate to render templates | |
--- | |
app/controllers/Application.scala | 4 +-- | |
app/lib/ScalateIntegration.scala | 53 +++++++++++++++++++++++++++++++++++++++ | |
app/views/index.jade | 3 +++ | |
app/views/index.scala.html | 7 ------ |
#!/bin/bash | |
# | |
# User data script which sets up Jenkins on Ubuntu using Puppet | |
# | |
# For example: | |
# | |
# $ ec2-run-instances ami-5a19976a -t m1.small --region us-west-2 \ | |
# --key ec2-keypair --user-data-file Desktop/jenkins-user-script.sh | |
# $ ssh -i ~/.ssh/ec2-keypair-us-west-2 \ | |
# ubuntu@ec2-xxx-xxx-xxx-xxx.us-west-2.compute.amazonaws.com |
Pig Stack Trace | |
--------------- | |
ERROR 1200: Pig script failed to parse: | |
<file test.pig, line 8, column 11> pig script failed to validate: java.lang.RuntimeException: could not instantiate 'org.apache.pig.piggybank.storage.avro.AvroStorage' with arguments 'null' | |
org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error during parsing. Pig script failed to parse: | |
<file test.pig, line 8, column 11> pig script failed to validate: java.lang.RuntimeException: could not instantiate 'org.apache.pig.piggybank.storage.avro.AvroStorage' with arguments 'null' | |
at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1597) | |
at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1540) | |
at org.apache.pig.PigServer.registerQuery(PigServer.java:540) |
Books
sys = require("sys") | |
http = require("http") | |
nodemachine = require("nodemachine") | |
class EchoMachine extends nodemachine.App | |
canHandleResource: (context) -> true | |
getResource: (context, callback) -> | |
context.res.sendBody(context.req.url) | |
callback(context, true) |