Archives
- January 2020
- October 2018
- September 2018
- August 2018
- June 2018
- April 2018
- February 2018
- January 2018
- July 2017
- June 2017
- March 2017
- October 2016
- July 2016
- September 2015
- August 2015
- February 2015
- October 2014
- September 2014
- August 2014
- June 2014
- May 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
Meta
Categories
- add
- admob
- algorithm
- android
- app
- App Idea
- beagleboard xm
- BigQuery
- broken
- C++
- cakephp
- case-sensitive
- clone
- codeigniter
- coding
- composer
- coursera
- cross compile
- crosstool
- dbus
- default value
- dependency injection
- diff
- eclipse
- emulator
- error
- file
- forbidden
- fragment
- gdb
- git
- gitolite
- google maps
- inorder
- install
- interview
- java
- jQuery
- link
- linux
- marakana
- mongodb
- NFS
- not working
- php
- preferences
- preorder
- process
- pulseaudio
- push
- qnx
- qt
- rails
- refactored
- reference
- relink
- remote
- ruby
- ruby on rails
- ruby on rails tutorial
- server
- service
- singleton
- svn
- TDD
- topcoder
- tortoisesvn
- troubleshooting
- ubuntu
- UI properties
- undefined
- user
- v3
- virtualbox
- zend
Top Clicks
- None
Monthly Archives: January 2012
jQuery: Simple Optimization – save jQuery selections to variables
Save selections into variables: each $() represent a query, so if you’re doing multiple actions on the same ID, save the initial $() query to a variable and then use the variable to do actions on it later. For example: … Continue reading
Posted in jQuery
Leave a comment
Book: JavaScript & jQuery The missing manual
This is an excellent book. Learning quite a bit from it. Has nice tutorials that step you through examples like a photo gallery or tooltips.
Posted in Book, HTML5
Leave a comment
Book Review: SAMS Teach Yourself SQL
Wouldn’t use this book if I was trying to learn SQL because it’s soo basic. It’s pretty good as a refresher of basic queries. The book’s examples are way too simple. Coverage of the different types of joins aren’t great … Continue reading
Posted in Book, SQL
Leave a comment
HTML5: Slides at html5rocks
http://www.html5rocks.com The slides and tutorials here are pretty neat. One should definitely check it out. Here’s an example that I did. http://mitchellfang.com/html5/trip_meter.html Tomorrow’s goal is to be able to change the starting location using input box that takes in a … Continue reading
Posted in HTML5
Leave a comment
Git, a VCS
Noticed that Git is the new king of VCS . Downloaded Git and installed it and going through the manual. http://progit.org/book/ch1-3.html The KEY difference with Git is that most operations are local. Operations like diff ing between previous version of … Continue reading
Posted in Git
Leave a comment
Android: AdMob integrated
Had trouble dispalying ListView and the ad on the same Layout so settled. The ad now displays when a restaurant details are selected. Looks pretty neat.
Posted in Android
Leave a comment
Android: AdMob
Setup my AdMob account and went through the basic tutorials. Wasted some time figuring out where the API key was. Aye but up and running now. Haven’t done anything with my app lately but figured I should figure out how … Continue reading
Java: Comparator
Writing a Comparator for Integer for use with Arrays.sort: Arrays.sort(Integer[], new Comparator<Integer>() { public int compare(Integer a, Integer b) { if (function(a) != function(b)) return function(a)-function(b); } } Normal compare return values: if (a < b) return -1; if (a … Continue reading
Posted in Coding, Java
Leave a comment
TopCoder: Ceil trick
Little tricks to help on time: To round up: aka ceil(a/b) int num = a+(b-1) / b
Posted in TopCoder
Leave a comment