Skip to content

Instantly share code, notes, and snippets.

View jeremyroman's full-sized avatar

Jeremy Roman jeremyroman

View GitHub Profile
Thank you for sending me CSC's information for this term.
In case you are not already aware, due to your late submission, your budget will not be considered at the budget meeting on Wednesday. The reason for this is because of MathSoc's Policy 6.3.1, which reads:
"If a club fails to submit its complete budget package on time, its package shall not be considered at the budget meeting, even if submitted before the meeting, and the club's funding shall be withheld until its budget is approved by Council."
If you have any questions or concerns regarding the above, please let me know.
Thank you,
@jeremyroman
jeremyroman / gist:8680763
Created January 29, 2014 02:35
taurine postmortem timeline
Timeline (all times EST):
unknown (est. 6:30 PM): mcchong begins running simulations ("java a1b") on taurine using many processes, each using a great deal
7:11:48 PM: taurine runs out of memory and swap (8+2 GB), and the OOM killer is invoked for the first time. Following this, the OOM killer is repeatedly invoked at intervals of between 15 and 120 seconds).
7:45:?? PM: users begin complaining in #csc that taurine is unresponsive
7:47:32 PM: final taurine syslog entry before reboot
7:48:?? PM: m4burns, responding to similar complaints in the office, reboots taurine via ILOM
7:50:11 PM: syslog resumes after reboot
7:50:23 PM: sshd begins listening after reboot
7:50:36 PM: syscom regains access to taurine via ssh (user jbroman authenticated)
8:09:?? PM: consensus built that mcchong's java processes (which have reappeared since reboot) were responsible for the outage
$ openssl s_client -ssl3 -connect mail.csclub.uwaterloo.ca:465
[openssl certificate spew]
220 mail.csclub.uwaterloo.ca ESMTP Postfix
ehlo jbroman
250-mail.csclub.uwaterloo.ca
250-PIPELINING
250-SIZE 20971520
250-ETRN
250-AUTH PLAIN
250-AUTH=PLAIN
@jeremyroman
jeremyroman / Makefile
Created December 12, 2012 19:26
llvm/brainfuck: Complete
PROGRAM := llvm-brainfuck
OBJECTS := main.o
SHIM := shim.a
SHIM_OBJECTS := shim.o
CC := clang
CXX := clang++
CXXFLAGS := $(shell llvm-config --cppflags) -Wall -Werror -pedantic
LDFLAGS := $(shell llvm-config --ldflags --libs core)
@jeremyroman
jeremyroman / Makefile
Created December 12, 2012 18:54
llvm-brainfuck: Input/output
PROGRAM := llvm-brainfuck
OBJECTS := main.o
SHIM := shim.a
SHIM_OBJECTS := shim.o
CC := clang
CXX := clang++
CXXFLAGS := $(shell llvm-config --cppflags) -Wall -Werror -pedantic
LDFLAGS := $(shell llvm-config --ldflags --libs core)
@jeremyroman
jeremyroman / Makefile
Created December 12, 2012 17:38
llvm-brainfuck: Simple operations
PROGRAM := llvm-brainfuck
OBJECTS := main.o
CXX := clang++
CXXFLAGS := $(shell llvm-config --cppflags) -Wall -Werror -pedantic
LDFLAGS := $(shell llvm-config --ldflags --libs core)
all: $(PROGRAM) $(SHIM)
$(PROGRAM): $(OBJECTS)
@jeremyroman
jeremyroman / Makefile
Created December 12, 2012 17:35
llvm-brainfuck: Simple operations, with the shim
PROGRAM := llvm-brainfuck
OBJECTS := main.o
SHIM := shim.a
SHIM_OBJECTS := shim.o
CC := clang
CXX := clang++
CXXFLAGS := $(shell llvm-config --cppflags) -Wall -Werror -pedantic
LDFLAGS := $(shell llvm-config --ldflags --libs core)
@jeremyroman
jeremyroman / Makefile
Created December 12, 2012 02:48
llvm-brainfuck: Infrastructure code
PROGRAM := llvm-brainfuck
OBJECTS := main.o
CXX := clang++
CXXFLAGS := $(shell llvm-config --cppflags) -Wall -Werror -pedantic
LDFLAGS := $(shell llvm-config --ldflags --libs core)
all: $(PROGRAM) $(SHIM)
$(PROGRAM): $(OBJECTS)
(define otherscene (scene (list ; lights
(light '(-100.0 150.0 400.0) '(0.7 0.7 0.7))
(light '(400.0 100.0 150.0) '(0.7 0.0 0.7)))
(list ; primitives
(sphere '(0.0 0.0 15.0) 3.0 mat1)
(sphere '(-3.0 -3.0 15.0) 1.0 mat1)
(sphere '(-5.0 -5.0 15.0) 1.0 mat1)
(sphere '( 7.0 7.0 15.0) 1.0 mat1)
(sdd, sde) -> md0/RAID0 -> vg0 (root, swap, tmp, caffeinetmp)
(sda, sdb) -> md1/RAID1 -> vg1 (caffeine)
(sdc2) -> vg2 (nothing)
(sdf2) -> bah (nothing)
sdc1: /boot
sdf1: /boot (deprecated)
bah: 148.11g
vg0: 931.52g