Thursday, January 31, 2008
Comparative analysis of bacon
When I first decided to embark on a journey to the North American continent, to explore and discover new uses of bacon, my family was very excited and supportive. If only they knew the horror that awaited me in Canada. Tim Hortons, Wendy's, Denny's, A&W ..... the horror... the horror....
Excitement:

Suspicion:

Regret:

Excitement:
Suspicion:
Regret:
Thursday, January 17, 2008
Inglewood and Comments
This is Inglewood. There are buttons you can press if you want to cross the road, it makes all the cars stop. IT'S AMAZING!
These are the shortcut keys to (un)comment out a line of code in visual studio:
"Ctrl+K, Ctrl+C
Comment out selection
Ctrl+K, Ctrl+U
Uncomment selection" (thanks random blogger)
Saturday, January 12, 2008
City - Connection
This is a panoramic view of Calgary, taken from the East, in a park right on Bow river, during sunset:

This is how you can connect to an Oracle database in Java realy easily using jdbc:
Class<?> driverClass = Class.forName("oracle.jdbc.driver.OracleDriver");
driverClass.newInstance();
Connection connection = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe", "username", "password");

This is how you can connect to an Oracle database in Java realy easily using jdbc:
Class<?> driverClass = Class.forName("oracle.jdbc.driver.OracleDriver");
driverClass.newInstance();
Connection connection = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe", "username", "password");
