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
blake@Blake-Smiths-MacBook-Pro:~/src/ghc » ./configure --target=arm-linux-gnueabihf --enable-unregisterised | |
checking for gfind... no | |
checking for find... /usr/bin/find | |
checking for sort... /usr/bin/sort | |
checking for GHC version date... inferred 7.7.20131029 | |
checking for ghc... /usr/bin/ghc | |
checking version of ghc... 7.4.2 | |
checking build system type... x86_64-apple-darwin12.5.0 | |
checking host system type... x86_64-apple-darwin12.5.0 | |
checking target system type... arm-unknown-linux-gnueabihf |
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
blake@Blake-Smiths-MacBook-Pro:~ » ghc-pkg check | |
Warning: haddock-interfaces: /usr/local/Cellar/haskell-platform/2012.2.0.0/share/doc/haskell-platform-2012.2.0.0/html/haskell-platform.haddock doesn't exist or isn't a file | |
Warning: haddock-html: /usr/local/Cellar/haskell-platform/2012.2.0.0/share/doc/haskell-platform-2012.2.0.0/html doesn't exist or isn't a directory | |
There are problems in package zlib-0.5.3.3: | |
Warning: library-dirs: /usr/local/Cellar/haskell-platform/2012.2.0.0/lib/ghc/zlib-0.5.3.3/ghc-7.4.2 doesn't exist or isn't a directory | |
Warning: haddock-interfaces: /usr/local/Cellar/haskell-platform/2012.2.0.0/share/doc/zlib-0.5.3.3/html/zlib.haddock doesn't exist or isn't a file | |
Warning: haddock-html: /usr/local/Cellar/haskell-platform/2012.2.0.0/share/doc/zlib-0.5.3.3/html doesn't exist or isn't a directory | |
import-dirs: /usr/local/Cellar/haskell-platform/2012.2.0.0/lib/ghc/zlib-0.5.3.3/ghc-7.4.2 doesn't exist or isn't a directory | |
file Codec/Compression/GZip.hi is missing | |
file Codec/Compress |
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 | |
export PGPASSWORD=<%= password %> | |
USER=<%= user %> | |
DATABASE=<%= database %> | |
HOST=<%= host %> | |
MIGRATIONS_TABLE=<%= migrations_table %> | |
MIGRATIONS_LOCATION=<%= migrations_location %> |
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
Do What You Want | |
Those are the most frightening four words brought to us by the connection revolution. | |
If you want to sing, sing. | |
If you want to lead, lead. | |
If you want to touch, connect, describe, disrupt, give, support, build, question... do it. | |
You will not be picked. | |
But if you want to pick yourself, go for it. | |
The cost is that you own the results | |
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 ( | |
"fmt" | |
"time" | |
) | |
func intervalMessage(msg string, dur time.Duration) chan string { | |
outc := make(chan string) | |
go func() { |
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" | |
"code.google.com/p/go.net/websocket" | |
"crypto/sha1" | |
"fmt" | |
"image/gif" | |
"image/png" | |
"io" |
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
[root@host bsmith]# traffic_line -r proxy.config.cache.ram_cache.size | |
32212254720 | |
[root@host bsmith]# traffic_line -r proxy.process.cache.bytes_total | |
0 | |
[root@host bsmith]# traffic_shell | |
Successfully Initialized MgmtAPI in /var/trafficserver/trafficserver | |
% trafficserver> show:cache-stats | |
Bytes Used --- 0 GB | |
Cache Size --- 0 GB |
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
USERNAME [a-zA-Z0-9_-]+ | |
USER %{USERNAME} | |
INT (?:[+-]?(?:[0-9]+)) | |
BASE10NUM (?<![0-9.+-])(?>[+-]?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))) | |
NUMBER (?:%{BASE10NUM}) | |
BASE16NUM (?<![0-9A-Fa-f])(?:[+-]?(?:0x)?(?:[0-9A-Fa-f]+)) | |
BASE16FLOAT \b(?<![0-9A-Fa-f.])(?:[+-]?(?:0x)?(?:(?:[0-9A-Fa-f]+(?:\.[0-9A-Fa-f]*)?)|(?:\.[0-9A-Fa-f]+)))\b | |
POSINT \b(?:[0-9]+)\b | |
WORD \b\w+\b |
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 ( | |
"net/http" | |
"log" | |
"io/ioutil" | |
"fmt" | |
) | |
func main() { |
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 "fmt" | |
// fibonacci is a function that returns | |
// a function that returns an int. | |
func fibonacci() func() int { | |
a := 0 | |
b := 1 | |
f := func() int { |