Archive for the 'Web' Category

xkcd’s comic on password strength

Firefox, Chrome and IE

IOS WordPress app working now

Finally after updated this morning, wordpress app working now. Yesterday the blog name was blank and showing up error user name and password on all action. I was given up on this app yesterday. One more thing, this post was made entirely from ios. Cheers

XML/ajax error

If you happen to stumble upon this error, please check your HTTP response whether they return extra line after HTTP header. Some said it’s caused by the code that have extra line before but what I found is the very same code works without extra line on a server and not working on another. Debugging [...]

Becoming Goth Geek

Try to looking for your name on tombstones in cemetery

Tuning Squid, my way

I’ve been using polipo and squid on my local but polipo was keep having segmentation faults that really annoying. To get the performance level up to polipo’s pipeline, you can add this line to your squid conf to enable pipelining which is disabled by default due to bandwidth management and logging issue which I don’t [...]

SMF 2 and Facebook like button

Here is the problem, Since SMF will add PHPSESSID at the URL for guest for 4 or 5 times first access, the facebook linter will return the URL with PHPSESSID and that would be undesired since it will not unique since PHPSESSID will be changing time to time and you won’t seeing the actual number [...]

HTML5Boilerplate, proven HTML5 Template

Just in case you need to build ground up on HTML based web, even though in this “cms everywhere” era, or maybe you want to build your theme, HTML5Boilerplate could be as the starting point. Here is advertised on the website, After more than two years in iterative development, you get the best of the [...]

Blocking Ads Without Tools

Blocking ads is easy these days but I happened to hit the wall few times on my OS X. Glimmer Blocker is not facebook ajax upload friendl. Chrome plugin does not really block but hide the element only. I decided to do it hard way by mapping ad delivery network host to localhost ip. To [...]

jquery ui dialog with iframe

If you ever come across those combination, you’ll know where this post will lead. Whether we fire the dialog on the iframe element, the contained iframe in the dialog will adjusted it’s width to ‘standard’ 150px regardless the dialog’ width and iframe’ width setting. To put it another way, you call dialog to show in [...]