I hereby claim:
- I am calavera on github.
- I am calavera (https://keybase.io/calavera) on keybase.
- I have a public key whose fingerprint is 08EB 11A9 8A0D 3949 F782 F802 226B 1419 545E F203
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
calavera@dcp ~/src/libssh2 (userauth_memory●)$ ./configure --enable-debug | |
checking whether to enable maintainer-specific portions of Makefiles... no | |
checking for sed... /usr/bin/sed | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk |
diff --git i/remote.go w/remote.go | |
index 74ebe27..d7e10c7 100644 | |
--- i/remote.go | |
+++ w/remote.go | |
@@ -5,6 +5,7 @@ package git | |
#include <git2/errors.h> | |
extern void _go_git_setup_callbacks(git_remote_callbacks *callbacks); | |
+extern int _go_git_remote_ls(git_remote *remote, const git_remote_head **refs); | |
execve("bin/ggrpc", ["bin/ggrpc"], [/* 24 vars */]) = 0 | |
uname({sys="Linux", node="b50b7ae42849", ...}) = 0 | |
brk(0) = 0x1f29000 | |
brk(0x1f2a1c0) = 0x1f2a1c0 | |
arch_prctl(ARCH_SET_FS, 0x1f29880) = 0 | |
set_tid_address(0x1f29b50) = 1299 | |
set_robust_list(0x1f29b60, 24) = 0 | |
futex(0x7fffd5ac76e0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 1f29880) = -1 EAGAIN (Resource temporarily unavailable) | |
rt_sigaction(SIGRTMIN, {0x83a540, [], SA_RESTORER|SA_SIGINFO, 0x8399a0}, NULL, 8) = 0 | |
rt_sigaction(SIGRT_1, {0x83a5d0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x8399a0}, NULL, 8) = 0 |
LIBGIT2=${LIBGIT2:-$(pwd)/vendor/libgit2} | |
export BUILD="$LIBGIT2/build" | |
export PCFILE="$BUILD/libgit2.pc" | |
FLAGS=$(pkg-config --static --libs $PCFILE) || exit 1 | |
export CGO_LDFLAGS="$BUILD/libgit2.a -L$BUILD ${FLAGS}" | |
export CGO_CFLAGS="-I$LIBGIT2/include" | |
godep go build -x --ldflags '-extldflags "-static"' -o $dest |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
"path/filepath" | |
) | |
func main() { |
docker import
to load from local filesvagrant@gfs-client-1:~$ sudo cat /proc/self/mountinfo | |
17 22 0:15 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw | |
18 22 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw | |
19 22 0:5 / /dev rw,relatime - devtmpfs udev rw,size=245916k,nr_inodes=61479,mode=755 | |
20 19 0:12 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000 | |
21 22 0:16 / /run rw,nosuid,noexec,relatime - tmpfs tmpfs rw,size=50176k,mode=755 | |
22 1 8:1 / / rw,relatime - ext4 /dev/disk/by-uuid/09fbe148-d7d9-4648-8f45-d9376fdb051e rw,data=ordered | |
23 17 0:17 / /sys/fs/cgroup rw,relatime - tmpfs none rw,size=4k,mode=755 | |
24 17 0:18 / /sys/fs/fuse/connections rw,relatime - fusectl none rw | |
25 17 0:6 / /sys/kernel/debug rw,relatime - debugfs none rw |
require 'paperclip/geometry' | |
module Paperclip | |
module ClassMethods | |
# Places ActiveRecord-style validations on the width of the file assigned. The | |
# possible options are: | |
# * +in+: a Range of pixels (i.e. +10..100+), | |
# * +less_than+: equivalent to :in => 0..options[:less_than] | |
# * +greater_than+: equivalent to :in => options[:greater_than]..Infinity | |
# * +message+: error message to display, use :min and :max as replacements | |
def validates_attachment_width name, options = {} |
From 6cd3c50ba52e50bcc577fe729a927718734ce3a6 Mon Sep 17 00:00:00 2001 | |
From: David Calavera <david.calavera@gmail.com> | |
Date: Thu, 3 Sep 2009 20:00:57 +0200 | |
Subject: [PATCH] Encoding specs for IO and FILE initialization | |
--- | |
core/file/initialize_spec.rb | 16 +++++++++++++ | |
core/io/initialize_spec.rb | 51 ++++++++++++++++++++++++++++++++++++++++++ | |
2 files changed, 67 insertions(+), 0 deletions(-) |