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
>>> for i in range(10):
... print 4**(2*i)-63*(4)**i-64
... print i
...
-126
0
-300
1
-816
2
cam@flex In(~) Time(18:40:28)$ ircb
Server
-> irc.ninthbit.net
Default Channel
-> #bots
[Auth - NOTICE] <jade.ninthbit.net> *** Looking up your hostname...
[Auth - NOTICE] <jade.ninthbit.net> *** Could not resolve your hostname: Domain name not found; using your IP address (209.104.229.66) instead.
[JOIN - 451] <jade.ninthbit.net> You have not registered
[Self - 005] <jade.ninthbit.net> EMOVE UHNAMES :are supported by this server
[Self - 252] <jade.ninthbit.net> 6 :operator(s) online
[Cam[Bot] - 366] <jade.ninthbit.net> bots :End of /NAMES list.
jade.ninthbit.net has parted Cam[Bot]
jade.ninthbit.net has joined #bots
Reloaded all parse/cmds/opcmds/ccmds/spanish/web
[#bots - PRIVMSG] <Cam> .reload
[#bots - PRIVMSG] <Cam> Ok.
*Cam lols*
Cam has parted #bots
Cam has joined #bots
Traceback (most recent call last):
File "/Users/cam/git/python/irc/irc.py", line 76, in <module>
Parse.Parse()
File "/Users/cam/Git/Python/IRC/parse.py", line 60, in Parse
elif self.CMD==".np":self.mod_cmds.NowPlaying()
File "/Users/cam/Git/Python/IRC/cmds.py", line 128, in NowPlaying
bList=pickle.load(BadSongs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py", line 1370, in load
return Unpickler(file).load()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py", line 858, in load
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
Reaction Rates
Reaction Rates
Introduction:
>>> 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
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)
//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;