My Lab 5 is finally done. Apparently I’m the last one to be getting it passed off. I guess that’s what happens when you have deadlines at work, a thesis proposal, a family…
I really enjoyed Lab 5. It took far longer than it should have for me but that was due mostly […]
I submitted my Lab 4 late because I spent all of last week at ApacheCon US 2007 in Atlanta, GA. ApacheCon was awesome, BTW.
Lab 4 was very straight forward. I did this lab with Python and the Akismet module for Python works very well. I used uuidgen to generate my UUID. […]
Lab 3 went pretty well. It took longer than I thought it would but they always do. One of the things I wanted to do was write parse the XML using SAX since I’ve never actually written a SAX parser before. SAX takes more work than using DOM and XPath but I got the experience […]
No matter how much time I’m given, I always wait until the last minute to get my labs done. This lab was no different. Lab 2 was very straightforward. The hardest part of Lab 1 was getting up and running on EC2. The hardest part of Lab2 was figuring out JSON […]
If you want to get the path information appended to your script URL, you can use the PATH_INFO CGI variable. Consider the following CGI script:
#!/bin/bash
echo “Content-Type: text/plain”
echo
echo $PATH_INFO
all this script does it output the PATH_INFO. This script is available at http://swamp.homelinux.net/cgi-bin/pathinfo. If you click on the link, you will see an empty […]
To automatically register with the load balancer when my EC2 node starts up, I placed the following script in /etc/init.d/registerlb:
#!/bin/bash
#
# registerlb Startup script for registering and deregistering with the load balancer
#
# chkconfig: - 90 10
# description: Script for registring and deregistering with load balancer
LB_REGISTER_URL=http://wslb-p.webappwishlist.com:8080/pound/subscribe
LB_UNREGISTER_URL=http://wslb-p.webappwishlist.com:8080/pound/unsubscribe
LB_STATUS_URL=http://wslb.webappwishlist.com:8080/pound/list
PRIVATE_IP=`ip -4 -o addr show dev eth0 | awk ‘{print […]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jun | ||||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |