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
$ go test -race ./... | |
? github.com/mitchellh/packer [no test files] | |
ok github.com/mitchellh/packer/builder/amazonebs 1.065s | |
ok github.com/mitchellh/packer/builder/common 1.044s | |
ok github.com/mitchellh/packer/builder/digitalocean 1.065s | |
ok github.com/mitchellh/packer/builder/virtualbox 1.083s | |
ok github.com/mitchellh/packer/builder/vmware 1.061s | |
ok github.com/mitchellh/packer/command/build 1.036s | |
? github.com/mitchellh/packer/command/validate [no test files] | |
================== |
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 main | |
import ( | |
"crypto/rand" | |
"testing" | |
) | |
type item struct { | |
A, B, C string | |
} |
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
From: Jonathan Rudenberg <jonathan@titanous.com> | |
Subject: HEAD responses contain body | |
Date: Thu, 13 Jun 2013 12:09:43 -0400 | |
To: mongrel-unicorn@rubyforge.org | |
RFC 2616 section 9.4[1] states: | |
> The HEAD method is identical to GET except that the server MUST NOT | |
> return a message-body in the response. |
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 main | |
import ( | |
"database/sql" | |
"fmt" | |
_ "code.google.com/p/go-sqlite/go1/sqlite3" | |
) | |
var a string |
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 main | |
import ( | |
"bytes" | |
"io/ioutil" | |
"net/http" | |
. "launchpad.net/gocheck" | |
) |
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
au Filetype go set noexpandtab ts=4 sw=4 sts=4 nolist makeprg=go textwidth=80 | |
autocmd FileType go autocmd BufWritePre <buffer> Fmt |
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 main | |
import ( | |
"crypto/sha256" | |
"fmt" | |
"strconv" | |
"time" | |
"github.com/tent/hawk-go" | |
) |
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
/* | |
* Generated by class-dump 3.4 (64 bit). | |
* | |
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard. | |
*/ | |
@protocol NSProgressPublisher <NSObject> | |
- (oneway void)appWithBundleID:(id)arg1 didAcknowledgeWithSuccess:(BOOL)arg2; | |
- (oneway void)pause; | |
- (oneway void)cancel; |
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
{ | |
{I have|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found any interesting article like yours. {It's|It | |
is} pretty worth enough for me. {In my opinion|Personally|In my view}, if all {webmasters|site owners|website owners|web owners} and bloggers made good content as | |
you did, the {internet|net|web} will be {much more|a lot more} | |
useful than ever before.| | |
I {couldn't|could not} {resist|refrain from} commenting. {Very well|Perfectly|Well|Exceptionally well} written!| | |
{I will|I'll} {right away|immediately} {take hold of|grab|clutch|grasp|seize|snatch} | |
your {rss|rss feed} as I {can not|can't} {in finding|find|to find} your {email|e-mail} subscription {link|hyperlink} or {newsletter|e-newsletter} service. Do {you have|you've} any? | |
{Please|Kindly} {allow|permit|let} me {realize|recognize|understand|recognise|know} {so that|in order that} I {may just|may|could} subscribe. | |
Thanks.| |
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
here's tent running side-by-side with two express node.js apps: | |
tent is on 1002 | |
my site is on 80 | |
promo page for a game i'm working on is on 1003 | |
upstream tent { | |
server 0.0.0.0:1002; | |
} |