Skip to content

Instantly share code, notes, and snippets.

View jbergstroem's full-sized avatar

Johan Bergström jbergstroem

View GitHub Profile
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Date: Wed, 06 May 2015 04:56:35 GMT
Content-Type: text/html
Content-Length: 174
Last-Modified: Tue, 05 May 2015 16:11:55 GMT
Connection: keep-alive
ETag: "5548ebcb-ae"
Strict-Transport-Security: max-age=63072000
X-Frame-Options: DENY
/Volumes/sink/io.js ±feature/configure_optgroups $ ./configure --help
Usage: configure [options]
Options:
-h, --help show this help message and exit
--prefix=PREFIX select the install prefix [default: /usr/local]
--debug also build debug build
--dest-cpu=DEST_CPU CPU architecture to build for (arm, arm64, ia32, mips,
mipsel, x32, x64)
--dest-os=DEST_OS operating system to build for (win, mac, solaris,
tar -cf iojs-v1.7.2.tar iojs-v1.7.2
rm -rf iojs-v1.7.2
gzip -c -f -9 iojs-v1.7.2.tar > iojs-v1.7.2.tar.gz
xz -c -f -9 iojs-v1.7.2.tar > iojs-v1.7.2.tar.xz
^Cmake: *** Deleting file `iojs-v1.7.2.tar'
make: *** [iojs-v1.7.2.tar] Interrupt: 2
zsh: interrupt make tar
% /Volumes/sink/io.js ϟ XZ_COMPRESSION=6 make tar
<snip>
% /Volumes/sink/io.js ϟ ./configure --help
Usage: configure [options]
Options:
-h, --help show this help message and exit
--prefix=PREFIX select the install prefix (defaults to /usr/local)
--debug also build debug build
--dest-cpu=DEST_CPU CPU architecture to build for. Valid values are: arm,
arm64, ia32, mips, mipsel, x32, x64
--dest-os=DEST_OS operating system to build for. Valid values are: win,
@jbergstroem
jbergstroem / diff.diff
Created April 6, 2015 12:55
libucl py2.7 support
diff --git a/python/src/uclmodule.c b/python/src/uclmodule.c
index fb1dbda..23499f7 100644
--- a/python/src/uclmodule.c
+++ b/python/src/uclmodule.c
@@ -136,6 +136,7 @@ static PyMethodDef uclMethods[] = {
{NULL, NULL, 0, NULL}
};
+#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef uclmodule = {
@jbergstroem
jbergstroem / ioping-0.9.diff
Created April 5, 2015 23:44
ioping version bump
--- /usr/portage/app-benchmarks/ioping/ioping-0.8.ebuild 2014-05-06 17:36:00.000000000 +1000
+++ /usr/local/portage/app-benchmarks/ioping/ioping-0.9.ebuild 2015-04-06 09:39:20.980995686 +1000
@@ -1,14 +1,14 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ioping/ioping-0.8.ebuild,v 1.1 2014/05/06 07:36:00 patrick Exp $
+# $Header: $
EAPI=5
fbsd64-10.1% cat BSDmakefile
all: .DEFAULT
.DEFAULT:
echo "FLAGS: ${.MAKEFLAGS}"
builder% make -j7
--- .DEFAULT ---
echo "FLAGS: -j 7 -J 15,16"
FLAGS: -j 7 -J 15,16
eg++ '-DV8_TARGET_ARCH_IA32' '-DENABLE_DISASSEMBLER' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I../deps/v8 -pthread -Wall -Wextra -Wno-unused-parameter -m32 -fno-strict-aliasing -I/usr/local/include -m32 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /home/jbergstroem/io32/out/Release/.deps//home/jbergstroem/io32/out/Release/obj.target/v8_base/deps/v8/src/allocation.o.d.raw -c -o /home/jbergstroem/io32/out/Release/obj.target/v8_base/deps/v8/src/allocation.o ../deps/v8/src/allocation.cc
In file included from /usr/local/include/c++/4.9.0/bits/move.h:57:0,
from /usr/local/include/c++/4.9.0/bits/stl_pair.h:59,
from /usr/local/include/c++/4.9.0/bits/stl_algobase.h:64,
from /usr/local/include/c++/4.9.0/bits/char_traits.h:39,
from /usr/local/include/c++/4.9.0/string:40,
from ../deps/v8/src/base/platform/platform.h:25,
@jbergstroem
jbergstroem / iojs-1.6.4.ebuild
Last active August 29, 2015 14:18
io.js 1.6.4
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
MY_PV="v${PV}"
MY_P="${PN}-${MY_PV}"
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
MY_PV="v${PV}"
MY_P="${PN}-${MY_PV}"