Freelancer's Playground! Learn Programming, The Freelancer's Way

26Jan/100

ImageShack Linux Uploader

Has been using imageshack for years, my only complain is the lack of desktop uploader for linux. However, few days ago, when I open up imageshack to upload some images, I stumble upon section called "More Ways to Upload". Curious, I click it and I saw list of 3rd party apps. There's an uploader for linux too!. A great feature that I find useful is, the ability to upload images into our account. So that I can delete some stuff that is no longer required. Oh, did I mention that it came in .deb? YES .DEB!

Filed under: Reviews No Comments
25Jan/100

Test Your Site on Multiple Browser Using Adobe BrowserLab

Having Ubuntu as development environment is great! But, I things get complicated when I came to testing your site on IE. Yes, we can test it using IEs4lin project. But, my experience told me that the result is not quite the same as using IE on pure windows installation.

Yesterday, I got message from colleague at California. He told me about Adobe BrowserLab. A cool service from Adobe to test how our site looks on several web browser. It display the site like Pixel Perfect plugin for FireBug. Give it a try and you'll be amazed!

Free Image Hosting at www.ImageShack.us

Filed under: Reviews No Comments
13Jan/101

How To Move Apache’s Htdocs to Home Directory

For me, as developer, working with apache on home directory is the preferred way than working on default installation directory. To move your htdocs to home dir, you can follow this simple step.

  1. Create directory on your home dir, for the sake of this tutorial, let's call it wwwroot.
  2. Change htdocs location at /etc/apache2/sites-enabled/000-default to your ~/wwwroot by editing every occurence of /var/www into /home/{username}/wwwroot. Replace {username} with your own username.
  3. Change apache's running user to your username by editing APACHE_RUN_USER value to your username at /etc/apache2/envvars
  4. restart your apache server by executing sudo /etc/init.d/apache2 restart.

  5. You should now have successfully moved your htdocs into your home directory.

    Filed under: Tutorial 1 Comment
11Jan/100

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 rather simple, you rename that xkill and move it somewhere else and put a script in place of xkill. Here's the run down:

  1. rename xkill and move it somewhere else: sudo mv /usr/bin/xkill /etc/init.d/llikx_hide
  2. put a script in place of xkill:
    sudo touch /usr/bin/xkill
    sudo chmod 555 /usr/bin/xkill
    sudo nano /usr/bin/xkill
    

    Put this script:

    #!/bin/bash
    
    logger "I'm trying to execute xkill";//logger will automatically save user who execute logger
    zenity --info --text "What are you doing?\nxkill execution is locked and logged\!" --title "Operation failed";
    
  3. There you go. Everytime someone trying to execure xkill, they will see popup window.

Filed under: Tips N Trick No Comments
10Nov/090

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, I'll still try it.

27Oct/092

Flashhole!

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

12Oct/090

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.

5Oct/090

Remote Backup In Ubuntu Using Dropbox

Have you ever been in situation where, says, you want to work on some files, but the hard drive is broken? Or, you go on vacations or some remote location. You need to work on files on your PC, but you didn't brought the PC/laptop nor the data with you? I experienced this kind of situations.

Filed under: Reviews Continue reading
3Oct/094

Wordpad Alternative For Linux

RTF, by far is the most useful format for writing notes. Well, what I really mean is some heavy notes that include some basic formatting like, bold, emphasize, underlining, custom size font, etc. On windows, you have the built in editor, wordpad. This editor is very simple in term of UI and feature completeness. But, that's what wordpad works damn well for writing heavy notes. But, If you work on linux, you can't easily find a good alternative that match wordpad's ease of use, features and UI layout.

Filed under: Reviews Continue reading
3May/098

Show/Hide Desktop Icon On Ubuntu

I like things on my laptop to be simple and easily accessible. From time to time, I download stuffs. Some tutorial files, new products to test, deb updates, and several other random stuffs. Most of the time, I just throws this trashes to my desktop to make me easily remember that I have this particular stuff to work with. The other stuffs I throw to my desktop is, ebooks. Most of it is references and cheat-sheet.