Skip to content

Instantly share code, notes, and snippets.

View Acconut's full-sized avatar

Marius Acconut

View GitHub Profile
@Acconut
Acconut / playground.rs
Created November 15, 2015 19:14 — forked from anonymous/playground.rs
Shared via Rust Playground
use std::convert::From;
use std::str;
fn main() {
let packet = ServerInfoPacket{
version: 42,
description: "hello",
};
let mut bytes = encode_packet(packet);
@Acconut
Acconut / imagemagick.rb
Last active August 29, 2015 14:08 — forked from anonymous/-
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"
@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)
@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)