Skip to content

Instantly share code, notes, and snippets.

@detly
detly / config
Created January 12, 2016 06:30
live-build config
#!/bin/sh
set -e
if [ -z "${HAN_APT_CACHE}" ] ; then
MIR_PREFIX="http://"
else
MIR_PREFIX="${HAN_APT_CACHE}/"
fi
import matplotlib.pyplot as plt
from matplotlib.ticker import MultipleLocator
ylims = (-50, 150)
fig = plt.figure()
axes = fig.add_axes([0.12,0.1,0.83,0.85])
axes.set_yscale("linear")
axes.yaxis.set_major_locator(MultipleLocator(base=10))
axes.set_ylim(ylims)
#!/usr/bin/env python3
import asyncio
import sys
import pexpect
@asyncio.coroutine
def run():
p = pexpect.spawn('./weirdness')
while True:
#!/usr/bin/env python3
import asyncio
import sys
import pexpect
@asyncio.coroutine
def run():
p = pexpect.spawn('./weirdness')
while True:
/* Compile with "gcc -o weirdness weirdness.c" */
#include <stdio.h>
int main(void)
{
fprintf(stderr, "Blorp.\n");
}
#!/usr/bin/env python3
import asyncio
import sys
import pexpect
@asyncio.coroutine
def run():
cmd = ' '.join([
sys.executable,
'-c \'raise SystemExit("Blorp")\''
section: screens
jheer-macmini:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
switchCorners = none
switchCornerSize = 0
JHEER-LAPTOP1:
halfDuplexCapsLock = false
# Synergy Client
#
# Starts the synergy client when an X session is up and running.
# This should be placed in /etc/init/synergys.conf and there must
# be a configuration file in /etc/synergy/synergys.conf.
description "Synergy Server"
author "Jason Heeris <jason.heeris@gmail.com>"
start on ((login-session-start
#!/usr/bin/env python3
import sys
import pexpect
def main():
cmd = ' '.join([
sys.executable,
'-c \'raise SystemExit("Blorp")\''
])
#!/usr/bin/env python3
import asyncio
import sys
import pexpect
@asyncio.coroutine
def run():
cmd = ' '.join([
sys.executable,
'-c \'raise SystemExit("Blorp")\''