This file contains hidden or 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
| http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=10781 | |
| Adjust your environment to include: | |
| GOARM=5 | |
| GOOS=linux | |
| GOARCH=arm | |
| GOPATH=<root for packages> | |
| $ sudo apt-get install mercurial # get mercurial | |
| $ sudo apt-get install git # for go get ... |
This file contains hidden or 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
| /Users/moderation/Library/Github/node-spdy/lib/spdy/server.js:279 | |
| if (settings.initial_window_size) { | |
| ^ | |
| TypeError: Cannot read property 'initial_window_size' of undefined | |
| at Connection.setDefaultTransferWindow (/Users/moderation/Library/Github/node-spdy/lib/spdy/server.js:279:15) | |
| at Parser.<anonymous> (/Users/moderation/Library/Github/node-spdy/lib/spdy/server.js:197:14) | |
| at Parser.emit (events.js:87:17) | |
| at onFrame (/Users/moderation/Library/Github/node-spdy/lib/spdy/parser.js:185:12) | |
| at Framer.execute (/Users/moderation/Library/Github/node-spdy/lib/spdy/protocol/v2/framer.js:50:5) | |
| at Parser.execute (/Users/moderation/Library/Github/node-spdy/lib/spdy/parser.js:179:19) |
This file contains hidden or 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
| var fs = require('fs'), | |
| spdy = require('spdy'), | |
| httpProxy = require('http-proxy'); | |
| var options = { | |
| key: fs.readFileSync(__dirname + '/moderation-key.pem'), | |
| cert: fs.readFileSync(__dirname + '/moderation-cert.pem'), | |
| ca: fs.readFileSync(__dirname + '/moderation-csr.pem') | |
| }; |
This file contains hidden or 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 node | |
| var util = require('util'), | |
| http = require('http'), | |
| events = require('events'), | |
| oauth = require('oauth').OAuth, | |
| fs = require("fs"), | |
| crypto = require("crypto"), | |
| ws = require('websocket-server'); |
This file contains hidden or 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 ( | |
| "fmt" | |
| "time" | |
| ) | |
| func fibonacci(n int) int { | |
| var a int |
This file contains hidden or 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 ( | |
| "fmt" | |
| "websocket" | |
| ) | |
| // const message = "A message" | |
| func main() { |
This file contains hidden or 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 twitterstream | |
| type Hashtags struct { | |
| Indices []int | |
| Text string | |
| } | |
| type Urls struct { | |
| Url string | |
| Indices []int |
This file contains hidden or 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
| { | |
| "user": { | |
| "profile_text_color": "333333", | |
| "url": null, | |
| "listed_count": 4, | |
| "created_at": "Tue Jun 10 13:03:54 +0000 2008", | |
| "profile_sidebar_fill_color": "efefef", | |
| "screen_name": "virgiliocorrado", | |
| "contributors_enabled": false, | |
| "profile_background_tile": true, |
This file contains hidden or 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
| body { font-family: Helvetica; text-rendering: optimizeLegibility; } | |
| section { display: block; width: 24.5%; float: left; border-left: 1px dotted #dcdcdc; } | |
| a { text-decoration: none; } | |
| img { border: 0; } | |
| #tweets, #retweets, #favorites, #conversations { font-size: 14px; padding: 0; margin: 0; } | |
| #tweets a, #retweets a, #favorites a, #conversations a { color: #2277bb; } | |
| #tweets .meta a, #retweets .meta a, #favorites .meta a, #conversations .meta a { color: #999; background: #f7f7f7; } |
NewerOlder