-
Recent Posts
Archives
- March 2013 (1)
- May 2012 (1)
- March 2012 (2)
- February 2012 (1)
- October 2011 (2)
- July 2011 (1)
- May 2011 (1)
- February 2011 (3)
- January 2011 (3)
- December 2010 (1)
- November 2010 (2)
- October 2010 (3)
- September 2010 (3)
Categories
- Apple (10)
- Code (7)
- College (1)
- Fitness Challenge (2)
- iOS Bootcamp (3)
- Music (1)
- Random (5)
- Sports (2)
- Tech (15)
- Video (1)
Category Archives: Code
MySQL Transactions
MySQL has the ability to handle what are known as transactions: a series of queries that must be executed in an all-or-none fashion. As a bonus, it’s super easy to use. Using PHP, you can do the following: mysql_query(“START TRANSACTION”); … Continue reading
Use PHP to get all images in a folder
This: $images = glob($directory . “*.{jpg,gif,png}”, GLOB_BRACE); is awesome.
iOS Training: Day 2
This is going to be a short one. After spending a ton of time at a computer the last couple days, writing a blog post isn’t the thing I’m dying to do at the moment. [Ed: Nevermind. Got rolling and … Continue reading
Posted in Apple, Code, iOS Bootcamp, Tech
Tagged apple, ios, programming, technology, training
Leave a comment
iOS Training: Day 1
Today was the first real day of class. Over the course of about 12 hours working, I went through the first six chapters of the book we are supposed to make it all the way through this week. Today’s chapters … Continue reading
Posted in Apple, Code, iOS Bootcamp, Tech
Tagged apple, ios, programming, technology, training
Leave a comment
iOS Training: Day 0
I left home in Indianapolis at 1:30 this afternoon and hopped a flight to Atlanta. After that, I took a one hour ride to Historic Banning Mills, Georgia, home of the Big Nerd Ranch. I got checked into my cozy … Continue reading
Posted in Apple, Code, iOS Bootcamp, Tech
Tagged apple, ios, programming, technology, training
Leave a comment
Conflagration of IE6, PHP session_start, and blank pages
Yesterday, I was troubleshooting a problem that (only) showed up in IE6 where anytime I click a link that goes to a page with session_start() in it, I get a blank page with no errors and the address bar shows … Continue reading
Select the last n rows from a MySQL table
I needed to figure out how to select the last four rows of a database table without reversing the order of the rows. After a little digging, I got to this point: SELECT * FROM ( SELECT * FROM table_name … Continue reading
