Skip to content

Instantly share code, notes, and snippets.

View Incognito's full-sized avatar

Brian Graham Incognito

View GitHub Profile
@Incognito
Incognito / .gitignore
Last active August 3, 2020 07:33
random-without-winning-streaks
node_modules
@Incognito
Incognito / plot.awk
Created August 1, 2020 06:21 — forked from katef/plot.awk
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
make: x86_64-rumprun-netbsd-gcc: Command not found
make -C ../sqlite
make[1]: Entering directory '/home/brian/rumprun-packages/sqlite'
make[1]: x86_64-rumprun-netbsd-gcc: Command not found
make -C build
make[2]: Entering directory '/home/brian/rumprun-packages/sqlite/build'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/brian/rumprun-packages/sqlite/build'
make install -C build
make[2]: Entering directory '/home/brian/rumprun-packages/sqlite/build'
make -C ../sqlite
make[1]: Entering directory '/home/brian/rumprun-packages/sqlite'
make -C build
make[2]: Entering directory '/home/brian/rumprun-packages/sqlite/build'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/brian/rumprun-packages/sqlite/build'
make install -C build
make[2]: Entering directory '/home/brian/rumprun-packages/sqlite/build'
make[3]: Entering directory '/home/brian/rumprun-packages/sqlite/build'
/usr/bin/mkdir -p '/home/brian/rumprun-packages/pkgs/lib'
make: Nothing to be done for 'all'.
include ../Makefile.inc
UPSTREAM=http://ca1.php.net/get/php-5.6.11.tar.bz2/from/this/mirror
all: bin/php images
bin/php: build/sapi/cli/php
mkdir -p bin
cp $< $@
build/sapi/cli/php: build/Makefile
@Incognito
Incognito / gist:5dd90d602e8179f6b633
Created July 21, 2015 01:25
make a writeable filesystem for rumprun
dd if=/dev/zero bs=1M count=1K of=mypartition.img
mke2fs mypartition.img
mkdir fs; sudo mount -o loop mypartition.img ./fs
sudo cp -r images/data/* fs/
include ../Makefile.inc
UPSTREAM=http://ca1.php.net/get/php-5.6.11.tar.bz2/from/this/mirror
all: bin/php images
bin/php: build/sapi/cli/php
mkdir -p bin
cp $< $@
build/sapi/cli/php: build/Makefile
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/collect2 -plugin /usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsuKoMC.res -o sapi/cgi/php-cgi -L/home/brian/unik/rumprun-packages/php/libxml2.la -r -u main ext/date/php_date.o ext/date/lib/astro.o ext/date/lib/dow.o ext/date/lib/parse_date.o ext/date/lib/parse_tz.o ext/date/lib/timelib.o ext/date/lib/tm2unixtime.o ext/date/lib/unixtime2tm.o ext/date/lib/parse_iso_intervals.o ext/date/lib/interval.o ext/ereg/ereg.o ext/ereg/regex/regcomp.o ext/ereg/regex/regexec.o ext/ereg/regex/regerror.o ext/ereg/regex/regfree.o ext/libxml/libxml.o ext/pcre/pcrelib/pcre_chartables.o ext/pcre/pcrelib/pcre_ucd.o ext/pcre/pcrelib/pcre_compile.o ext/pcre/pcrelib/pcre_config.o ext/pcre/pcrelib/pcre_exec.o ext/pcre/pcrelib/pcre_fullinfo.o ext/pcre/pcrelib/pcre_get.o ext/pcre/pcrelib/pcre_globals.o ext/pcre/pcrelib/pcre_maketables.o ext/pcre/pcrelib/pcre_newline.o ext/pcre/p
36577a36578,36631
> if test "$cross_compiling" = yes; then :
> { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
> as_fn_error $? "cannot run test program while cross compiling
> See \`config.log' for more details" "$LINENO" 5 ; }
> else
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h. */
>