My Recent Pastes (533 and counting)

Pastes by Jacob Rus (533 and counting)

Pages:

Below are the 15 most recent pasties by Jacob Rus.

June 05, 2007
6:03PM EDT
by Jacob Rus

class Foo(object):
    """docstring for Foo"""
    def __init__(self, arg):
        super(Foo, self).__init__()
        self.arg = arg

May 27, 2007
5:33AM EDT
by Jacob Rus

2007/05/27 05:32 -0400 [galcon_protocol.GalconUDPProtocol (UDP)] SEND: [HEADER]\tpasswd\t\n[HEADER]\tsecret\te39563238748e3ecc3950b920d795b7c\n[HEADER]\tname\tjacobot\n9\t0\t[ACK]\t6\n10\t0\t[ACK]\t7\n11\t0\t[ACK]\t8\n12\t0\t[ACK]\t9\n13\t0\t[ACK]\t10\n
2007/05/27 05:32 -0400 [galcon_protocol.GalconUDPProtocol (UDP)] Unhandled Error
        Traceback (most recent call last):
          File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)

May 27, 2007
4:45AM EDT
by Jacob Rus

SEND:
        [HEADER]\tpasswd\t\n
        [HEADER]\tsecret\t504d72127759987de82cafc1404fa01e\n
        [HEADER]\tname\tjacobot\n7\t0\t
        [ACK]\t4\n

May 26, 2007
5:45AM EDT
by Jacob Rus

/opt/local/lib/ruby/1.8/rexml/source.rb:226:in `pos': Illegal seek (Errno::ESPIPE) from /opt/local/lib/ruby/1.8/rexml/source.rb:226:in `current_line' from /opt/local/lib/ruby/1.8/rexml/parseexception.rb:44:in `line' from /opt/local/lib/ruby/1.8/rexml/parseexception.rb:28:in `to_s' from /Library/Application Support/TextMate/Support/lib/escape.rb:30:in `htmlize' from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_helper.rb:90:in `handle_default_exceptions' from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/format_log_xml.rb:172
REXML::ParseException

May 24, 2007
8:15PM EDT
by Jacob Rus

from BeautifulSoup import BeautifulSoup
import urllib2, re

def get_stats():
    people = {}

May 17, 2007
6:39PM EDT
by Jacob Rus

Hello friends,

TextMate needs some updated T-shirts, but behind every great T shirt is a great T shirt idea.  So, even if you have no artistic talent whatsoever, you can think up ideas for slogans and designs.  And even slogans that don't make it onto shirts could probably be useful for something.

Anyway, once some good ideas have been offered up, it will be possible to make some design mockups based on those.  I'm happy to spend a bit of time sometime doing some very basic designery stuff, though I'm hardly an expert, and other more qualified designers would of course be welcome to draw up shirts too.

May 12, 2007
8:39PM EDT
by Jacob Rus

[2007-04-30: REVISION 1383]

[CHANGED] Property List bundle: Support top-level arrays (in addition to dictionaries) in old-style property lists -- ticket 53F82CC6

May 12, 2007
8:28PM EDT
by Jacob Rus

[2007-04-30: REVISION 1383]

[CHANGED] Property List bundle: Support top-level arrays (in addition to dictionaries) in old-style property lists -- ticket 53F82CC6

May 12, 2007
8:25PM EDT
by Jacob Rus

[2007-04-30: REVISION 1383]

[CHANGED] Property List bundle: Support top-level arrays (in addition to dictionaries) in old-style property lists -- ticket 53F82CC6

May 05, 2007
3:56PM EDT
by Jacob Rus

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css" media="screen">

May 05, 2007
3:55PM EDT
by Jacob Rus

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css" media="screen">

May 03, 2007
8:21PM EDT
by Jacob Rus

#import "JRImgDataView.h"
#import <ColorSync/ColorSync.h>
#import <ApplicationServices/ApplicationServices.h>


May 02, 2007
3:42PM EDT
by Jacob Rus

  NSBitmapImageRep* imageRep = [[[NSBitmapImageRep alloc] initWithBitmapDataPlanes:rgba_array pixelsWide:width pixelsHigh:height bitsPerSample:16 samplesPerPixel:4 hasAlpha:YES isPlanar:NO colorSpaceName:NSDeviceRGBColorSpace bytesPerRow:4 * 2 * width bitsPerPixel:4 * 16] autorelease];
  
  NSRect bounds = [self bounds];
  [[NSColor darkGrayColor] set];
  [NSBezierPath fillRect:bounds];

May 02, 2007
3:17AM EDT
by Jacob Rus

CMWorldRef JRNewLabToRGBAColorWorld ()
{
  CMError cmErr;
  
  CMProfileRef labProfile = NULL;

May 02, 2007
2:40AM EDT
by Jacob Rus

  // open the lab profile, and copy it into a new profile ref
  CMProfileRef labProfile;
  if (CMGetDefaultProfileBySpace(cmLabData, &labProfile) == noErr)
  {
    CMProfileRef colorimetricLabProfile;

Next page

Previous page