go-chunked
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 ( | |
"github.com/Acconut/sqlorm" | |
) | |
type User struct { | |
Id string `sql:"id"` | |
Name string `sql:"name"` | |
} |
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
sudo apt-get remove icedtea-6-jre-cacao icedtea-6-jre-jamvm openjdk-6-jre-headless openjdk-6-jre-lib openjdk-7-jre openjdk-7-jre-headless | |
sudo apt-get remove default-jdk openjdk-6-jre openjdk-6-jre | |
rm .cache/ -r | |
sudo apt-get remove $(dpkg --get-selections | grep -v deinstall | grep "\-dev" | awk '{print $1}') |
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
require "formula" | |
class Imagemagick < Formula | |
homepage "http://www.imagemagick.org" | |
# upstream's stable tarballs tend to disappear, so we provide our own mirror | |
# Tarball and checksum from: http://www.imagemagick.org/download | |
url "https://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6.8.9-7.tar.xz" | |
mirror "http://www.imagemagick.org/download/ImageMagick-6.8.9-7.tar.xz" | |
sha256 "45670f37ebd3354d64e45df5462b929b5b843dee2b038b0ad524491492bffbf9" |
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
# An example for a web project using | |
# Poul to process Less, JS and Jade | |
# files. | |
frontend (copy-includes/css, js) { | |
dist/hello.html | |
dist/foo.html | |
dist/try.hzml | |
dist/style.css | |
} |
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
require 'formula' | |
# Use a mirror because of: | |
# http://lists.cairographics.org/archives/cairo/2012-September/023454.html | |
class Cairocustom < Formula | |
homepage 'http://cairographics.org/' | |
url 'http://cairographics.org/releases/cairo-1.12.16.tar.xz' | |
mirror 'https://downloads.sourceforge.net/project/machomebrew/mirror/cairo-1.12.16.tar.xz' | |
sha256 '2505959eb3f1de3e1841023b61585bfd35684b9733c7b6a3643f4f4cbde6d846' |
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
execve("/home/brewer/.linuxbrew/bin/identify", ["identify", "lolcat.eps"], [/* 17 vars */]) = 0 | |
brk(0) = 0xd76000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2ce9f61000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/home/brewer/.linuxbrew/lib/tls/x86_64/libMagickCore-6.Q16.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/brewer/.linuxbrew/lib/tls/x86_64", 0x7fffbee69890) = -1 ENOENT (No such file or directory) | |
open("/home/brewer/.linuxbrew/lib/tls/libMagickCore-6.Q16.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/brewer/.linuxbrew/lib/tls", 0x7fffbee69890) = -1 ENOENT (No such file or directory) | |
open("/home/brewer/.linuxbrew/lib/x86_64/libMagickCore-6.Q16.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) |
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
execve("/usr/bin/identify", ["identify", "test/output/lolcat.eps"], [/* 22 vars */]) = 0 | |
brk(0) = 0x228f000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc8e458b000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=45292, ...}) = 0 | |
mmap(NULL, 45292, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc8e457f000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) |
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
test |
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 chart = require('chart'); | |
var data = []; | |
var labels = []; | |
labels[0] = "hello"; | |
labels[1] = "world"; | |
labels[2] = "foo"; | |
var i = 10; | |
while(i--) { |