Viewing posts by scoopseven

Comparing Python Date and Datetime / Django

Posted by: scoopseven in Django Python 13 years, 2 months ago
I'm always doing this, so some of you must be too. I'll compare a date field in with a datetime object in Python/DJango like this:

read more / 0 comments

Fun with netstat

Posted by: scoopseven in Apache Linux 13 years, 3 months ago
All yesterday I had multiple apache processes killing my linux (centos) server. I would kill them, and they would come back minutes later taking up all processor resources and crashing the machine. I was using tcpdump to watch packets come across on port 80, but this connection apparently didn't persist, so that did nothing for me. Then I found netstat:

read more / 0 comments

Bit.ly API with ColdFusion / CFHTTP

Posted by: scoopseven in ColdFusion MediaPost 13 years, 3 months ago
Until Feb 23, 2011 I had been authenticating against the bit.ly API using the username/password properties on cfhttp.

read more / 0 comments

Django 1.2.4 / get_current_site

Posted by: scoopseven in Django 13 years, 5 months ago
Problems upgrading to Django 1.2.4 by downloading the package manually and running the install?

read more / 0 comments

Installing MySQLdb for Python / Django

Posted by: scoopseven in Django MySQL Python 14 years, 6 months ago
Problems installing MySQLdb? Me too! I'm installing using MySQL 5 / Django 1.1 / Python 2.4 on CentOS 5.4 linux.

read more / 0 comments

Recent Tweets

Recent Posts

Archive

2013
2012
2011
2010
2009
2008
2007
2006

Categories

Authors

Feeds

RSS / Atom