Skip to main content

Accidentally Locking Up Screen

· One min read

Anyone who uses GNU Screen frequently will one day press Ctl-A s (lower-case s) whether purposefully or accidentally. It would seem that there is no way to unlock the screen. Actually, the solution is to press Ctl-A q (lower-case q). You will then be prompted to enter the user’s password to resume using Screen.

Why I don’t join Facebook

· One min read

Reading this post confirms my decision not to join Facebook a correct one. Hell, if some corporate entity knows about your daughter-in-law, you should be scared!

Google Apps Provisioning API Version 2

· 4 min read

Google Apps Provisioning API is a set of API that allows other programs to access stored on Google’s servers. This is done via the Atom Publishing Protocol and HTTP requests (what the industry terms general as a RESTful interface).

The set of data that Google exposes via the Provisioning API include the user accounts and groups and other related data.

Google has improved its groups mechanism not too long ago. With this came improvements to other Google properties such as Google Docs where sharing documents with groups is possible. Previously, this was not available because the original concept of a group in Google Apps is nothing more than an email list where emailing to the “group” allowed users in the “group” to receive the email as well. But this was all that version 1 of “groups” (technically known as an email list) could do.

Ever Heard of the Crunchpad?

· One min read

It was supposed to be a headline-worthy cooperation between the world’s arguably most popular tech blog and a Singapore startup. Now it’s all going downhill. Why and how it came to this stage nobody will know for sure, as Arrington puts it, “Ultimately there are two sides to every story…”

But, if it were the case as Arrington described, the “shareholders” deserve this ending. Why squander away a chance to launch a product in a larger market by leveraging on a famed tech blog’s name and instead choose to have the whole of a much smaller pie? If greed was really the cause, I hope Arrington wins the suits against Fusion Garage.

But Fusion Garage deserves a chance to voice their side of the story. Maybe we’ll get to see something on Straits Times to hear from them what exactly transpired. I hope it’s not because they are unable to produce the software – I really look forward to a successful Singapore tech startup make good internationally.

Animal Swapping Pain

· One min read

The Facebook game Animal Swapping has caused me much anguish in my bid to best everyone. Now, I’m only third place. It took me a long time to get there and recently I’m reminded why I don’t want to play it anymore.

Some time into the game, I always encounter this error where two animals will overlap and that makes it difficult to solve the puzzle. I don’t know if it’s due to me using Linux, but it’s a good excuse to say why I can’t be first =P

Resizing Multiple Images in Linux

· 2 min read

During the lifetime of using the computer, I believe everyone will inevitably face the scenario where you will want resize multiple images to a certain size.

In Linux, you can do it will such ease that makes you wonder what you use Windows for.

This effect can be easily done using the command line. Naysayers will probably disclaim the effectiveness of this tip but it really is easy for those who know Linux. All you have to do is to go into the directory where the images are stored and run the following command:

for k in $(ls *.jpg); do convert $k -resize 1024x768 -quality 100 re_$k; done

Weird Problem with WordPress

· One min read

When I was writing my post “Setting a Static IP Address in Ubuntu“, I encountered a strange problem.

In the post I was describing the location of of a directory and it contained the following:

/ etc/network

Notice that there is a space between the word “etc” and the preceding forward slash? If I were remove the space between these two characters, I will get the following error message when I preview or publish the post:

Method Not Implemented

POST to /wordpress/wp-admin/post.php not supported.

I don’t know if this is an isolated incident or a WordPress vulnerability. I wonder if anyone else has encountered this problem.