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

22Aug/102

Bypass Internet Blocking With ProxyChains

What I love from linux is, it's powerful shell interface. It has full range of utilities. For example, if I want to access something that's denied by local proxy, I could easily tunnel my traffic to my other server. You can use ssh -D for this.

Filed under: Tutorial Continue reading
16Jul/100

PHPExcel: Advanced Read-Write Excel Made Simple

There are many excel reader / writer library all over the net. However, most of it only support partial features. Today, we'll learn a php excel library that support almost all aspect of excel. Well, except VBS, I guess.

Filed under: Tutorial Continue reading
20Jun/100

Playing With Google’s Virtual Keyboard API

Several days ago I realize that google have been implementing it's virtual keyboard in google.co.id. I know that google already rolling it on several non English languages. I got curious as to wether we will be able to leverage this feature to our own site or not. I know that there are several open source library for this. But, let's stick with google API for now.

Filed under: Tutorial Continue reading
9Mar/100

Setting Up Global Shortcut For Rhythmbox

Global shortcut, I believe some of you didn't know what it is. It is equal to keyboard shortcut in applications. What make it different is, in normal shortcut, you have to have an active applications. In other word, that particular application need to be on focus. While global shortcut doesn't need to be on focus. It can be in minimized state or even hidden from current desktop. Because, global shortcut work by hooking up to system's message (CMIIW here).

Filed under: Tutorial Continue reading
4Feb/101

Add Custom Column To Media Page

How do you get full image URL in Media Library? I bet you will go through this step:

  1. Go to Media » Library
  2. On Media Library list, click file name.
  3. Form Edit Media appeared. Select File URL and use it.

For single image operation, this should be enough. But, if you did have a lot of pictures, this operation would be very annoying. For this, I have a simple solution. With a few lines of code that later summarized into a plugin. Then you will have a way to access the images directly from the Media Library.

Filed under: Tutorial Continue reading
21Jan/101

Web Scrapping Made Easy, With YQL

Usually, when someone asked me question: "how do you scrap data from certain website?". My answer would be using some REGEXs. However, Yahoo now has something interesting on it's developer site. Instead of doing REGEX, we can just QUERY our target page with YQL and extract the data as XML or JSON.

Filed under: Tutorial Continue reading
20Jan/100

Display Drupal Taxonomy Like Craiglist Does

So you have a classified site build on top of drupal. Someday, you encounter this craiglist page and though that you would like to mimic that page. Don't worry, I've been implementing in on my recent project and I would like to share it here.

Filed under: Tutorial Continue reading
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
19Aug/092

Show/Hide Desktop Icons in XFCE

If you follow this blog, you should know that I had already posted an entry about this topic, but for gnome desktop.

Filed under: Tutorial Continue reading
28Apr/091

PHP Simple File Browser

While browsing my google analytics logs, I stumble upon certain keyword search that looking for file browsers script. I don't have one here, so I created it, so that next time people searching for PHP file browser and landed on this blog, they will get what they want (hopefully).

Filed under: Tutorial Continue reading