This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
if [ -z "${HAN_APT_CACHE}" ] ; then | |
MIR_PREFIX="http://" | |
else | |
MIR_PREFIX="${HAN_APT_CACHE}/" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import asyncio | |
import sys | |
import pexpect | |
@asyncio.coroutine | |
def run(): | |
p = pexpect.spawn('./weirdness') | |
while True: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import asyncio | |
import sys | |
import pexpect | |
@asyncio.coroutine | |
def run(): | |
p = pexpect.spawn('./weirdness') | |
while True: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Compile with "gcc -o weirdness weirdness.c" */ | |
#include <stdio.h> | |
int main(void) | |
{ | |
fprintf(stderr, "Blorp.\n"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import asyncio | |
import sys | |
import pexpect | |
@asyncio.coroutine | |
def run(): | |
cmd = ' '.join([ | |
sys.executable, | |
'-c \'raise SystemExit("Blorp")\'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section: screens | |
jheer-macmini: | |
halfDuplexCapsLock = false | |
halfDuplexNumLock = false | |
halfDuplexScrollLock = false | |
xtestIsXineramaUnaware = false | |
switchCorners = none | |
switchCornerSize = 0 | |
JHEER-LAPTOP1: | |
halfDuplexCapsLock = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import pexpect | |
def main(): | |
cmd = ' '.join([ | |
sys.executable, | |
'-c \'raise SystemExit("Blorp")\'' | |
]) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import asyncio | |
import sys | |
import pexpect | |
@asyncio.coroutine | |
def run(): | |
cmd = ' '.join([ | |
sys.executable, | |
'-c \'raise SystemExit("Blorp")\'' |