Joel Gerard

Parsing Query Strings in Java and accessing values by key 0

Parsing Query Strings in Java and accessing values by key

First, you require http://hc.apache.org/, specifically httpclient-4.1.3.jar and httpcore-4.1.3.jar. Then two classes: NameValuePairComparator.java import java.util.Comparator; import org.apache.http.NameValuePair; public class NameValuePairComparator implements Comparator { @Override public int compare(NameValuePair arg0, NameValuePair arg1) { return arg0.getName().compareTo(arg1.getName()); } } QueryParamList.java import java.util.Collections;...

The Golden Cathedral, Utah 3

Neon Canyon & The Golden Cathedral

I guess it must be me, but I can never understand why people fly to the South West and just hit up Vegas. It’s glitzy, I’ll give you that, but a mere 300 miles...

MySQL Access Denied on OSX 10.6.6 0

MySQL Access Denied on OSX 10.6.6

Man, this drove me nuts. I have a native setup of MySQL and PHP. I followed the detailed steps defined by Jerome here, but I kept getting: Access denied for user ‘root’@’localhost’ (using password:...