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/bash | |
# Set these up! | |
FORMATOBJ= | |
OBJ2TRI= | |
TRI2PHI= | |
PREFIX="/sdcard/car" | |
ADB="$(which adb)" | |
if [ -z "$1" ]; then |
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
# histfreq | |
# history frequency for bash_eternal_history configuration | |
# see: http://stackoverflow.com/a/19533853/732016 | |
# adapted from http://superuser.com/a/250230/121273 | |
DEFAULT_LINE_COUNT=10 | |
line_count=$1 | |
if [ -z "$1" ]; then | |
line_count=$DEFAULT_LINE_COUNT | |
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
# svg2pjs - SVG to Processing.JS converter | |
import re | |
def command(s, last=None, lastcp=None, scale=1.0): | |
first = s[0] | |
absolute = first.istitle() | |
first = first.lower() | |
if first == 'z': |
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
version: 1 | |
runtime: python27 | |
api_version: 1 | |
threadsafe: true | |
handlers: | |
- url: /_ah/pipeline(/.*)? | |
script: pipeline.handlers._APP | |
- url: /.* | |
script: main.application |
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
"""A library for describing and applying affine transforms to PIL images.""" | |
import numpy as np | |
import PIL.Image | |
class RGBTransform(object): | |
"""A description of an affine transformation to an RGB image. | |
This class is immutable. |
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
\documentclass{article} | |
\usepackage{wcsetup} % github:wchargin/wclatex | |
\usepackage{tikz} | |
\begin{document} | |
\tikzset{ | |
latticept/.style={ | |
red, |
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
/etc/mdm/Xsession: Beginning session setup... | |
localuser:wchargin being added to access control list | |
Script for none started at run_im. | |
Script for auto started at run_im. | |
Script for default started at run_im. | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service |
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
/etc/mdm/Xsession: Beginning session setup... | |
localuser:wchargin being added to access control list | |
Script for none started at run_im. | |
Script for auto started at run_im. | |
Script for default started at run_im. | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service |
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
/etc/mdm/Xsession: Beginning session setup... | |
localuser:wchargin being added to access control list | |
Script for none started at run_im. | |
Script for auto started at run_im. | |
Script for default started at run_im. | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service | |
Failed to connect to the VirtualBox kernel service |
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
/etc/mdm/Xsession: Beginning session setup... | |
localuser:wchargin being added to access control list | |
Script for none started at run_im. | |
Script for auto started at run_im. | |
Script for default started at run_im. | |
Script for none started at run_im. | |
Script for auto started at run_im. | |
Script for default started at run_im. | |
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-G77rsF | |
SSH_AUTH_SOCK=/run/user/1000/keyring-G77rsF/ssh |