Skip to content

Instantly share code, notes, and snippets.

View Cam1337's full-sized avatar

Cameron Wrigley Cam1337

  • Amazon Web Services
  • Seattle, WA
View GitHub Profile
19:17 (*) Irssi: Starting query in indymedia with Roddux
19:17 Roddux> ohi
19:25 Cam> Hi
19:25 Cam> ##bottest[cam]
19:25 Roddux> how goes?
19:25 Cam> It's great!
19:25 Cam> How are you?
19:25 Roddux> pretty good
19:25 Cam> What have you been up to?
19:25 Roddux> talking to potential boyfriend :3
15:19 (*) Cam [~Cam@unaffiliated/cam] has joined #python
15:19 (*) Topic for #python: NO LOL | Don't paste in here | http://pound-python.org/ | It's too early to use Python 3.x | Pastebin: http://paste.pocoo.org/ | Tutorial: http://docs.python.org/tut/ | FAQ: http://effbot.org/pyfaq/ | New Programmer? Read http://tinyurl.com/thinkcspy2e | #python.web #wsgi #python-fr #python.de #python-es #python.tw #python.pl #python-br #python-jp #python-nl #python-ir #python-offtopic
15:19 (*) Topic set by lvh [[email protected]] [Sat Apr 17 17:06:24 2010]
15:19 [Users #python]
15:19 [diecast] : eikonos : laen : Sargun_Screen :
15:19 [self] : el-barto : lamdk : sbok :
15:19 __gilles : el_kevino : lars_bauer : Scanpat :
15:19 __khris__ : eldragon : lbt : scattermind :
15:19 __machine : elfgoh : ldvx : schlaftier :
15:19 _bradk : Eliran_Itzhak: LeddyHM : schlortoo :
#<NoMethodError: undefined method `to_i' for []:Array>
undefined method `to_i' for []:Array
./lib/../controllers/repos.rb:38:in `edit'
./lib/routing.rb:56:in `__send__'
./lib/routing.rb:56:in `handle'
./rackup.rb:119
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/reloader.rb:44:in `call'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process'
#! /usr/bin/env python
#################################
#Created by Cam irc://irc.freenode.net/#botters
#################################
import commands;
import os;
import random;
import sys;
args=sys.argv[1]
artist=commands.getoutput("osascript -e 'tell application \"iTunes\" to artist of current track as string'");
import java.util.Scanner;
public class store {
/*
* This is cameron's store.
*/
static String[] shoppingcart = new String[7];
//import java.util.Scanner;
import javax.swing.*;
public class MSG {
public static void main(String[] args) {
// TODO Auto-generated method stub
boolean again=true;
int l=1;
int h=100;
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:12)$ which
usage: which [-as] program ...
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:21)$ which java
/usr/bin/java
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:25)$ which javac
/usr/bin/javac
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:27)$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03-333-9M3125)
Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)
>>> x=re.search("+a","bbbbb")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 142, in search
return _compile(pattern, flags).search(string)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 245, in _compile
raise error, v # invalid expression
sre_constants.error: nothing to repeat
Reaction Rates
Reaction Rates
Introduction:
Maggie, I must confess; I eye you always, especially your breasts. Sometimes we talk, it's simply the best. Can we just get together and chill like bros, I promise that I won't consider you a hoe. Anyways, I miss you a lot, we used to be friends, (back when you were hott). So now I guess this is a good time to ask, can I spring fling you and your ass?
--Love Nathan