Archive for the 'Tips N Trick' Category

Reset File Association in Linux From Nautilus

If you have ever experienced, for example, installing an application that turned out change the way how a file is opened. For example, to open a txt file in gnome, gedit is used. But, at a time, you install, geany or mousepad. When you want to open the txt file again, instead of calling gedit, [...]

Loading Contact-Form-7 Plugin Outside Post/Page/The_Loop

Hi, just want to share little snippet. I was developing wordpress site for my client and I want to use Contact-Form-7 (CF7) to speed-up my development time. I need to add form (custom form) outside the loop / post / page content. From CF7’s documentation, there’s no single text explaining how to do it.
So, I [...]

How To Prevent Someone From Executing xkill

From wikipedia entry:
Xkill is a utility program distributed with the X Window System that instructs the X server to forcefully terminate its connection to a client, thus “killing” the client.
Some one at id-ubuntu mailing list asked how to prevent someone from executing xkill. After reading this, my evil mind popped a solution .

My strategy is [...]

Multiple Boot Partition Tips

Yesterday, I had a chance to install ubuntu 9.10 ‘karmic koala’ on my laptop. Having read several online reviews made me rethink my strategy. Previously, whenever there’s new ubuntu release, I will always do fresh install. Now, several minor but annoying bug appeared in reviews where I had similar hardware . Kind of annoying, but, [...]

Using Dropbox For Easy File Sharing

I share docs with my colleague every now and then. Previously, I would have sent it as email attachment or upload it somewhere. But, from the moment I use dropbox, sharing documents has never been this easy!

Wrapping get_post_meta() with default value

As wordpress developer, we will almost always use get_post_meta(). There’s a catch in using it though, as there will be situation where we want to get a meta value on a non initialized meta. Something thing we expected to be present but not created yet.

Nautilus Hidden Feature: Directory Note

Directory notes, is a little hidden feature of nautilus. Using it, you will be able to write down a note about anything you want to write in particular directory. To access it, all you have to do is:

Flashhole!

Ndak, ini ndak ngejek2 flash kok. Tulisan kali ini, cuman menindak-lanjuti tulisan sebelumnya, tentang cara bodoh mengakali akses website yang di blok.

PHPSH: Test PHP Snippet, The Python Way!

If you know python, maybe you know the interactive python shell, too. If you don’t know both, well, let me explain it. Python has it’s built in interactive shell. When you install python and you execute the command, python, you will be introduced to a shell like interface where you could type python statements and [...]

Dropbox Trick: Symbolic Link For Your Convenient

Trick I share here is about to obsolete once “Watch any folder support (configurable per host)” feature in Feature Request is implemented. Anyway, if you can’t wait for that feature to be implemented, you can follow my trick here.