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
#include <stdio.h> | |
#include <ctype.h> | |
int htoi(char hex_string[]); | |
int expect(int got, int wanted); | |
void debuggerino(void); | |
int htoi(char hex_string[]) { | |
/* calculate len first and check for 0x offset */ |
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
#!/usr/bin/env jimsh | |
set SOCKET /tmp/ipc.sock | |
set client [socket unix $SOCKET] | |
set msg [list db put foo baz] | |
variable msg2 { | |
db put blah 1 | |
db put blah 99 | |
db get blah |
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/chopfile", ["chopfile", "-chop", "52000000", "-input", "rails.log"], [/* 24 vars */]) = 0 | |
arch_prctl(ARCH_SET_FS, 0x57bcd0) = 0 | |
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0 | |
sigaltstack(NULL, {ss_sp=0, ss_flags=SS_DISABLE, ss_size=0}) = 0 | |
sigaltstack({ss_sp=0xc000002000, ss_flags=0, ss_size=32768}, NULL) = 0 | |
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 | |
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0 | |
rt_sigaction(SIGHUP, {0x4533f0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x453520}, NULL, 8) = 0 | |
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0 | |
rt_sigaction(SIGINT, {0x4533f0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x453520}, NULL, 8) = 0 |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
# Make sure you have the specs for this! | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "4096" |
OlderNewer