My Recent Pastes (74 and counting)
Pastes by Alexander Ross (74 and counting)
Below are the 15 most recent pasties by Alexander Ross.
October 16, 2007
9:35PM EDT
by Alexander Ross
View all 404 lines
#!/usr/bin/env python # -*- coding: utf-8 -*- ## changelog # Original version by Alex Ross
September 03, 2007
7:43PM EDT
by Alexander Ross
View all 16 lines
# Regex to find any control chars, except for \t \n and \r
_controlCharPat = re.compile(
r"[\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0b\x0c\x0e\x0f"
r"\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f]")
September 01, 2007
10:21PM EDT
by Alexander Ross
View all 253 lines
Date/Time: 2007-09-01 19:08:21.153 -0700 OS Version: 10.4.10 (Build 8R218) Report Version: 4 Command: TextMate
August 10, 2007
8:02PM EDT
by Alexander Ross
View all 13 lines
Running pdflatex on bachets_measuring_problem.tex This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) Processing: ./bachets_measuring_problem.tex
December 22, 2006
6:01PM EDT
by Alexander Ross
View all 36 lines
read term
export TM_TERM=$term
/usr/bin/env ruby -w <<'RUBY'
require "#{ENV["TM_SUPPORT_PATH"]}/lib/exit_codes"
December 19, 2006
8:40PM EDT
by Alexander Ross
View all 27 lines
#!/usr/bin/ruby require ENV["TM_SUPPORT_PATH"]+"/lib/web_preview" content = STDIN.read
December 19, 2006
8:26PM EDT
by Alexander Ross
View all 26 lines
#!/usr/bin/python -S import re import sys from os import environ as env
December 19, 2006
8:15PM EDT
by Alexander Ross
View all 28 lines
#!/usr/bin/python -S import re import sys from os import environ as env
November 29, 2006
6:40PM EDT
by Alexander Ross
View all 232 lines
# -*- coding: utf-8 -*- import sys import os import Image from numpy import *
November 27, 2006
6:24PM EDT
by Alexander Ross
View all 110 lines
import sys import Image from numpy import *
November 27, 2006
6:13PM EDT
by Alexander Ross
View all 110 lines
import sys import Image from numpy import *
November 16, 2006
2:38PM EDT
by Alexander Ross
View all 33 lines
def run
rd, wr = IO.pipe
rd.fcntl(Fcntl::F_SETFD, 1)
ENV['TM_ERROR_FD'] = wr.to_i.to_s
args = add_test_path( *[ ruby,
November 14, 2006
4:24PM EDT
by Alexander Ross
View all
7 lines
Includes file attachment.
#!/bin/sh
VPNIP="10.10.250.1";
if [ $IPREMOTE = $VPNIP ]
then
/sbin/route -n add -net 192.200 $IPREMOTE > /tmp/ppp.log 2>&1
November 14, 2006
4:09PM EDT
by Alexander Ross
View
Includes file attachment.
echo $IPREMOTE > /tmp/ipremote.log
