April 2010
19 posts
5 tags
GAE Django Twitter API application →
(via brv8)
Apr 1st
2 notes
3 tags
Apr 1st
March 2010
31 posts
2 tags
Dream List
Last night I dreamed that I was inside my head and I came across a physical list. It was a list of dreams that I had dreamed over the course of my life. I was soo excited to find out that I didn’t have to write them down since I had a list. The list had a little thumbnail picture for each dream.
Mar 31st
3 tags
Installing Python with Django & MySQL in Windows 7
For all those looking to run python on your local host and you are at work using windows: try the following steps: 1. Install Python (use ver2.5 if you need to use a lot of python compatible frameworks as most of them are currently available for ver2.5 only.) 2. Install a web server package like LAMP or XAMPP ( preferred ). 3. Go to your Apache folder and and in /modules copy the file of...
Mar 30th
2 tags
Mar 30th
31 notes
3 tags
SweetMacTips: Sweet App Sunday - OmniPlan →
I really should start turning this into SweetAppMonday… life keeps getting in the way. Anyway, this week I’m continuing our rock-your-Mac-at-work series of Sweet Apps with OmniPlan from über developers the OmniGroup. If you’ve ever needed to do project management you’ve likely heard of…
Mar 30th
7 notes
3 tags
Mar 30th
7 tags
Intro to Python's Unit Testing Framework: nose →
Can’t have “test driven development” if you don’t write your tests first!! This is a nice intro, with examples that are specific to the nose unit test discovery & execution framework.
Mar 24th
4 tags
How to set a global variable from inside a...
To set the global variable inside a function, I need to use the global statement. This declares the inner variable to have module scope. Now var remains ‘bar’ after the function is called. var = 'foo' def ex3(): global var var = 'bar' print 'inside the function var is ', var ex3() print 'outside the function var is ', var inside the function var is bar outside the...
Mar 24th
3 tags
Mar 23rd
4 tags
Mar 23rd
4 tags
Mar 19th
3 tags
Mr. 23: Calculating Fibonacci Numbers →
To keep with the current trend of me posting about calculations, I will post about the various means of computing the fibonacci numbers. As with long decimal values of e, I see no need for computing very large fibonacci numbers. The Fibonacci sequence is fairly easy to define and understand…. Read more…
Mar 18th
4 tags
Mar 18th
2 tags
Mar 18th
2 tags
WatchWatch
Mark Roth: Suspended animation is within our grasp… wow, sounds like “abre los ojos ” (http://www.imdb.com/title/tt0125659/)
Mar 17th
5 tags
Mar 16th
3 tags
Mar 13th
5 tags
Mar 13th
3 tags
Mar 12th
5 tags
Tcpdump: An Open Source Tool for Analyzing Packets →
This is a great (and brief) little overview of this awesome tool!
Mar 11th
3 tags
Mar 10th
3 tags
How do I make all my folders open in the same...
Q: How do I make all my folders open in the same window, when browsing the file system? A: If you want to set the file manager so that it doesn’t open a new window for each folder, you can follow these steps: Double-click on the “Computer” icon on your desktop. Go to the “Edit” menu and choose “Preferences.” Click on the “Behavior” tab....
Mar 9th
3 tags
Mar 9th
1 tag
Fun with PyGraphics
Installed PIL. Downloaded Pygraphics. Ran the install script and then moved the PyGraphics folder to the Python Lib directory. »> f = picture.pick_a_file() »> pic = picture.make_picture(f) »> pic.title »> pic.get_width() »> pic.get_height() »> picture.add_text(pic,115,40, ‘this is the dopest thing we have seen yet’,picture.green)...
Mar 6th
4 tags
An introduction to PIL →
Mar 6th
4 tags
Upgrading Python on OSX
Download the desired version of Python. My preference was: Version 2.6.4 ./configure make su root make instal Pretty easy stuff
Mar 6th
3 tags
Mar 6th
4 tags
Mar 4th
4 tags
Mar 2nd
5 tags
Mar 2nd