Skip to content

Instantly share code, notes, and snippets.

random_seed= 493287980
TODO: I think this was for 0.4.4, need to update for 0.4.5 now that colonization has changed.
============+===+===+===+===+===+===+===+===+===+===+===+===========+
species |c/s|mtb|ind|res|pop|sup|trp|wep|det|st |env| |
============+===+===+===+===+===+===+===+===+===+===+===+===========+
abaddoni | | L | | - | | | - | | | | I| |
acirema | - | S |++ | + | |++ | | | | | R| |
beigegoo |-- | R |++ |-- | + | |++ | | | | R| |
chato | * | P | |++ | | | - | | | |++X|++-++ -| large
cray | * | R | - | + | | | + | | | |++B|-++++ | large
@o11c
o11c / README.md
Last active March 10, 2016 02:37
Thoughts on distribution

Problem:

  • You are deploying a tree from a single master to a broad number of clients.
  • You want to minimize the CPU and network cost to the master.
  • You may use dumb caching mirrors to assist.
  • It is assumed that there is no need to keep any of the objects secret.

Alternatives:

  • rsync: doesn't take advantage of special knowledge of previous versions.
@o11c
o11c / term-attr-test.sh
Created November 20, 2015 01:51
Test terminal attributes
#!/bin/bash
CHARS=" "
PRE="\e[48;5;"
SUF=m
VARIANT=${1:-RGB}
case $VARIANT in
RGB)
;;
RBG)
;;
@o11c
o11c / Makefile
Last active November 3, 2015 19:30
# Make sure the indentation is tabs
override CC += -fPIE
override LDFLAGS += -pie
all: foo
file $<
nm *.o
foo: foo.o
foo.o: foo.c
make[1]: Entering directory '/home/ben/build/gdb-cxx'
make[2]: Entering directory '/home/ben/build/gdb-cxx/libiberty'
make[3]: Entering directory '/home/ben/build/gdb-cxx/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ben/build/gdb-cxx/libiberty/testsuite'
make[2]: Leaving directory '/home/ben/build/gdb-cxx/libiberty'
make[2]: Entering directory '/home/ben/build/gdb-cxx/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ben/build/gdb-cxx/intl'
make[2]: Entering directory '/home/ben/build/gdb-cxx/zlib'
389-ds-base: /lib/systemd/system/dirsrv-snmp.service
389-ds-base: /lib/systemd/system/dirsrv.service
389-ds-base: /lib/systemd/system/dirsrv.target
389-ds-base: /lib/systemd/system/dirsrv@.service
accountsservice: /lib/systemd/system/accounts-daemon.service
acpi-fakekey: /lib/systemd/system/acpi-fakekey.service
acpi-fakekey: /lib/systemd/system/acpi-fakekey.socket
acpid: /lib/systemd/system/acpid.path
acpid: /lib/systemd/system/acpid.service
acpid: /lib/systemd/system/acpid.socket
@o11c
o11c / character-sheet-devon.md
Last active November 5, 2015 01:36
HFY RPG Character Sheets

Player nick: galrock0

Character Name: Devon Tremblayn

Devon Tremblayn is an adventurous adrenaline junky type person. He roams the galaxy in search of thrills, adventures, and stories, never liking to stay in one place for too long. Consequently he tends to pick up random skills along the way from the people(or xenos) he meets. Most of his adventures involve extreme sports, he loves to skydive, space dive, scuba dive, and is a fairly competent marksman in both earth and lunar gravity as well as galactic standard gravity.

Physical stats:

  • Strength: NORMAL
  • Dexterity: STRONG
  • Hardiness: WEAK
Bus 005 Device 002: ID 17e9:02ff DisplayLink
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x17e9 DisplayLink
// valid values for each: 0-2, where 0 is "do nothing"
#define SIGNAL_MODE 1
#define RAISE_MODE 2
#include <signal.h>
#include <stdio.h>
void handler(int _)
{
// In general it is not safe to call stdio functions from a signal