HowTo: Revert local changes in Git

Found this answer on Stack Overflow very useful, so thought I’d share it here: If you want to revert changes made to your working copy, do this: git checkout . If you want to revert changes made to the index (i.e., that you have added), do this: git reset If you want to revert a [...]

How to get Fancybox 1.3.1 to stay put!

I recently had a need to use a Fixed position overlay and found that Fancybox breaks if I set #fancybox-wrap to position:fixed. I believe the centerOnScroll option was supposed to solve this problem by recalculating the absolute position of #fancybox-wrap upon scrolling. The problem with this approach is that the overlay ‘shudders’ or ‘feels jumpy’ [...]

Zend Server CE and Snow Leopard Problem

There’s a compatibility issue with the Java Bridge in Zend Server CE which results in failure of the ZendServer admin interface. A temporary fix could be found at http://forums.zend.com/viewtopic.php?f=44&t=1115 I found this out the hard way – reinstalled and digged the internals before realizing it was a compatibility issue. I hope the Zend guys fix [...]

@font-face in IE

An indepth article just out by Jon Tang on how to make @font-face work in IE. A recommended read for all interested in typopgraphy for the Web: @font-face in IE: Making Web Fonts Work We’re one step closer to ditching sIFR and Flir et al.

jQuery: how to tell if you’re scroll to bottom?

This is a question a jQuery user asked recently. It’s a simple question without a simple answer. There is no inverse equivalent to scrollTop=0 (i.e. scrollBottom=0) so the solution requires some thought. The scenario is this — we have a fixed height div with overflow:auto and we want to use JavaScript to programmatically scroll to [...]

Barcamp Hong Kong

The second coming of Barcamp Hong Kong has arrived. I’m a bit late to the party because somehow I’ve been dropped off the mailing list — someone does not like me Anyway, do not fret! There is still one week left until the event so RSVP now!

JavaScript: Event Delegation

Recently, I’ve been hearing much about event delegation. Many new to this concept seem to be baffled by the term. However, it really is a simple idea when you realise what’s involved. Put simply, event delegation is the practice of directing events on parent DOM elements who then listen on their children for events. To [...]

Hyper-connected

Jeremiah Owyang’s post on Email Consumes Us gives us food for thought on the ever changing tide of communication. Email can become very unmanageable it seems; although only last year many were singing its praises saying that Email is the best invention and all good web applications basically mirror an Email architecture. So if Email [...]

Taming the SharePoint Beast

SharePoint is a strange beast. It’s not a particularly inspiring piece of software, neither has it been built with usability in mind. Microsoft being Microsoft put much hype into it promising world domination for CEO’s whilst neglecting the web professionals cry for better usability! At dConstruct 2007, Jared Spool in his talk on “The Dawning [...]

WIF 2008: Water is Life

Last week Belle, owner of BeansBox, invited me to join their team in the WIF 2008 contest. After reading up on what WIF is actually about I was thrilled to take up the 24 hour challenge! This years theme was “Water Is Life” with the following selection criteria: ergonomics accessibility interactivity rich media drafting homogeneity [...]