Skip to content

Instantly share code, notes, and snippets.

View Acconut's full-sized avatar

Marius Acconut

View GitHub Profile
var ast = {
type: "Addition",
firstSummand: 5,
secondSummand: {
type: "Multiplication",
firstFactor: 3,
secondFactor: 5
}
};
var chart = require('chart');
var data = [];
var labels = [
"hello",
"from",
"labels",
null,
"",
"upps...",
var chart = require('chart');
var data = [];
var labels = [];
labels[0] = "hello";
labels[3] = "world";
labels[7] = "foo";
labels[8] = "bar";
var i = 10;
var chart = require('chart');
var data = [];
var labels = [];
labels[0] = "hello";
labels[1] = "world";
labels[2] = "foo";
var i = 10;
while(i--) {
@Acconut
Acconut / foo.md
Last active August 29, 2015 14:05
go-chunked ========== go-chunked ==========

go-chunked

@Acconut
Acconut / -
Created October 15, 2014 13:57 — forked from anonymous/-
identify lolcat.eps using IM from apt-get
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)
@Acconut
Acconut / -
Last active August 29, 2015 14:07 — forked from anonymous/-
identify lolcat.eps using IM from brew
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)
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'
@Acconut
Acconut / Poulfile
Created October 24, 2014 22:20
Templates
# 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
}