« Back to latest posts

Latest posts

A few good html5 references

Sunday, August 15th, 2010

I started playing with html5 and wanted to share some good resources I’ve found for anyone trying to get up to speed on the specs, browser support and code samples.
For a very detailed overview of everything html5 is (and isn’t) head over to diveintohtml5.org. The section entitled “What does it all mean?” is a great [...]

Tags:
Posted in Code | No Comments »

Working with Subversion externals in Cornerstone for Mac

Sunday, May 23rd, 2010

I’ve been using Zennaware’s Cornerstone for Mac as my primary Subversion GUI. The interface is much better than anything I’ve found for the features it has. (It’s only real shortcoming is that it doesn’t have support for branching and merging, so I occasionally need to use SmartSVN when it comes time for working with branches.)
I [...]

Tags:
Posted in Uncategorized | 2 Comments »

Dividing numbers in Ruby returning zero or an integer unexpectedly?

Monday, May 3rd, 2010

There’s a “quirk” about Ruby that I often forget when going back to it after a long period of time using other languages. If you divide two integers in Ruby then it’s going to give you an integer as a result. Consider the following:

some_int = 3
another_int = 2
answer = some_int / another_int # answer [...]

Tags: ,
Posted in Code | No Comments »

Fixing slow FTP listing on CentOS 5.3 and safely reloading iptables config

Thursday, October 8th, 2009

I first went looking for a solution as to why connecting to FTP on my new CentOS 5.3 server was very slow. I found this post that had the answer: http://www.electrictoolbox.com/directory-listing-slow-ftp-server-centos/
The gist of it is to edit /etc/sysconfig/iptables-config and add the following:
IPTABLES_MODULES=”ip_conntrack_ftp”
However, the big lesson here is that if you reload your iptables now you [...]

Posted in random | No Comments »

Running PHP and MySQL with phpMyAdmin on OS X 10.5

Tuesday, June 23rd, 2009

Apache already comes pre-installed on OS X but PHP is not enabled by default. To enable PHP we need to edit our Apache config file by opening the Terminal and typing sudo nano /private/etc/apache2/httpd.conf and hitting enter (put in your admin password when it asks.) Type Control+W to bring up the search option and type [...]

Tags: , , ,
Posted in Code | 17 Comments »

Apple Time Capsule and Verizon Fios Actiontec router

Wednesday, May 6th, 2009

I was pretty disappointed after my Verizon Fios install to learn that the Actiontec M1424WR modem/router combo only goes up to a G wifi signal. I’ve been using my Time Capsule with an N signal for a while and it’s great. I was even more disappointed to find that I wasn’t simply able to extend [...]

Tags: , ,
Posted in random | 2 Comments »

Apache rewrite rules to force secure/non-secure pages

Sunday, March 29th, 2009

If you’re running an Apache server there’s no need to hard code your links to force https/http or write server-side code. A few simple rewrite rules will allow you to redirect your secure pages to https and your non-secure pages back to http.

Tags:
Posted in Code | 4 Comments »

Search engine friendly URLs in PHP and Apache, Take 2

Wednesday, December 3rd, 2008

A while back I posted this article about friendly URLs in PHP and Apache. Today I’d like to update that a little to not only show another method but also to enhance it a bit. When we’re done we’ll have search engine friendly URLs that look like the ones that Blogger uses.
Why? Because search engines [...]

Tags: ,
Posted in Code | No Comments »

Another way to fix washed out images from Photoshop’s Save for Web

Thursday, November 27th, 2008

I had some trouble today with washed out images when using Save for Web in Photoshop and thought I should share. In the past I’ve been able to solve this by unchecking the Convert to sRGB option but that didn’t cut it this time. In case you aren’t familiar, you can find that option by [...]

Tags:
Posted in design | No Comments »

The nupting of the nuptuals

Saturday, September 27th, 2008

(Picture of our wedding)

Tags:
Posted in random | 1 Comment »