My Recent Pastes (74 and counting)
Pastes by Alexander Ross (74 and counting)
Below are the 15 most recent pasties by Alexander Ross.
November 14, 2006
4:08PM EDT
by Alexander Ross
View
Includes file attachment.
echo $IPREMOTE > /tmp/ipremote.log
November 14, 2006
4:08PM EDT
by Alexander Ross
View
Includes file attachment.
echo $IPREMOTE > /tmp/ipremote.log
November 14, 2006
12:58PM EDT
by Alexander Ross
View
Includes file attachment.
@arg0 = $1 if @content =~ /\A#!([^ \n]*(?:env\s+)?#{@@execmatch})/
@args = $1.split if @content =~ /\A#![^ \n]*(?:env\s+)?#{@@execmatch}[ \t]+(.*)$/
November 09, 2006
8:24PM EDT
by Alexander Ross
View all
100 lines
Includes file attachment.
require "escape" require "web_preview" require 'open3' require 'cgi'
November 01, 2006
6:41PM EDT
by Alexander Ross
View all
66 lines
Includes file attachment.
from types import NoneType import sys import os import re
October 26, 2006
11:01PM EDT
by Alexander Ross
View all
20 lines
Includes file attachment.
g = [
(a for a in range(10)),
((b,b) for b in range(10)),
October 26, 2006
1:23PM EDT
by Alexander Ross
View
Includes file attachment.
>>> True = False >>> True is False True
October 11, 2006
2:48PM EDT
by Alexander Ross
View all 31 lines
{ name = 'meta.structure.tuple.python';
match = '(\()((?:\s|\n)*(\)))';
captures = {
1 = { name = 'punctuation.definition.tuple.python'; };
2 = { name = 'meta.empty-tuple.python'; };
September 28, 2006
1:15AM EDT
by Alexander Ross
View all 19 lines
def __call__(self, *args, **kargs):
"""Makes our controller a callable to handle requests
This is called when dispatched to as the Controller class docs explain
more fully.
September 22, 2006
10:18PM EDT
by Alexander Ross
def foobar(arg1, arg2, keyarg1=None, karg2=23):
#do something
pass
