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
use std::convert::From; | |
use std::str; | |
fn main() { | |
let packet = ServerInfoPacket{ | |
version: 42, | |
description: "hello", | |
}; | |
let mut bytes = encode_packet(packet); |
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
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 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 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) |