Cara Menghindari Powerbank Abal-Abal

April 23, 2015 | Komputer, Technical Stuffs, Technologies | , , , , ,

ilustrasi powerbank

Powerbank nampaknya telah menjadi budaya baru di Indonesia berkat menjamurnya pemakaian smartphone. Saat saya berkesempatan mengunjungi kantor Opera sekitar satu tahun yang lalu, beberapa karyawan Opera yang berbincang dengan kami nampak heran dan bertanya tentang “barang asing” yang hampir selalu kami bawa bersamaan dengan smartphone kami.

Namun akhir-akhir ini semakin banyak beredar powerbank abal-abal. Dari mulai penulisan kapasitas mAh yang bombastis, pembajakan merek, hingga penambahan material lain seperti batu dan pasir di dalam powerbank untuk menambah bobotnya agar terasa mantab saat dipegang.

Beberapa waktu terakhir saya membaca beberapa tulisan tentang kekecewaan setelah membeli powerbank, seperti yang dialami Kang Kombor dan lainnya. Bagaimana cara membedakan antara powerbank abal-abal dengan yang beneran bagus? (more…)


Mematikan Komputer Pada Jam Tertentu

December 11, 2014 | Komputer, Technical Stuffs

Sejauh yang saya tahu, ada tiga cara untuk mematikan komputer (laptop/PC) yang menggunakan Windows 8/8.1 pada waktu tertentu.

Berikut ini dua dari tiga cara yang saya maksudkan, kedua cara ini dijalankan melalui command line. Jika Anda tidak tahu cara mengakses command line, silahkan pencet tombol Windows + R agar muncul dialog seperti ini kemudian ketik cmd dan tekan enter (atau klik OK).


Selanjutnya akan muncul window baru dengan latar belakang hitam di mana kita bisa mengetik apa saja. Di situlah kita akan mengetikkan kedua contoh perintah untuk mematikan laptop/PC.


Tiga Versi Browser Opera Untuk Komputer

November 11, 2014 | Browsers, Komputer, Opera, Technical Stuffs, Technologies

Kurang lebih sejak bulan Agustus 2013, Opera Software memiliki tiga versi browser Opera untuk komputer yang bisa dicoba oleh seluruh pengguna Opera di seluruh dunia. Ketiga versi tersebut adalah Stable, Beta, dan Developer stream.

Screenshot Opera untuk Windows

Apa saja perbedaan dari ketiga rilis browser Opera untuk komputer tersebut? Berikut ini penjelasan singkatnya, semoga mudah dipahami.



Changing VPS Timezone

April 5, 2012 | Technical Stuffs | , ,

One of many things that you probably do when managing a VPS is setting up date and time to match your local date and time. Here’s a quick guide to change your VPS’ timezone.

You can find your own timezone at /usr/share/zoneinfo/ and copy it to /etc/localtime. Here’s the magic spell:

[server]# cp /usr/share/zoneinfo/Asia/Jakarta /etc/localtime

Of course you have to change that Asia/Jakarta thing into your own timezone.

The date command output before I change its timezone:

[server]# date
Wed Apr  4 16:34:20 EDT 2012

And this is after:

[server]# date
Thu Apr  5 03:36:05 WIT 2012

Tic.. tac.. tic.. tac..

No comment

Update PHP on Virtualmin

March 3, 2012 | Technical Stuffs | , , ,

I’m using Virtualmin to manage some servers (both physical or VPS) and I’m pretty confidence to say that this is the best freeware for server control panel.

Virtualmin currently provide PHP 5.1 (I’m using CentOS 5.5) and here’s how to upgrade its PHP version to 5.2. This command will activate Bleeding Edge Packages for CentOS/RHEL 5 on Virtualmin:

[root@server01 ~]# rpm -ivh

After that, simply run following command to update PHP:

[root@server01 ~]# yum update php

And just answer “yes” when your system ask. Update process will just take a few seconds to complete.

No comment

Redirect Non-WWW to WWW using htaccess

February 16, 2012 | Technical Stuffs | ,

I’m using this script very often, for some customers to redirect their website from to So I will put it here for easy access.

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Just create or insert above script into your .htaccess. When a visitor visits he will be forwarded to

Piece of cake.

1 comment

Problem in Moodle 1.9 and PHP 5.3

January 2, 2012 | PHP, Technical Stuffs | ,

Today someone ask me to check his Moodle installation in his website. He used to add resource(s) easily in any course he made and lately he’s unable to add any resource. In the resource page, Moodle just displays blank page. No error message at all.

After googling around, I found that the problem is (likely) caused by PHP upgrade from 5.2.x to 5.3.x. And thanks to Andrey who posted a script for a quick hack.

The trick is by adding a new function inside HTML_QuickForm_element class in moodle/lib/pear/HTML/QuickForm/element.php.

< ?php
public function __call($name, $args) {
    $name = str_replace('MoodleQuickForm_', '', $name);
    if ($name == 'passwordunmask') {
        $name = 'password';
    return call_user_func_array(array($this, 'HTML_QuickForm_'.$name), $args);

It works like a magic!

1 comment

Error 404 on Drupal Admin Section

June 24, 2011 | Technical Stuffs | , , ,

My Drupal installation was fine until I uploaded it into my web hosting. It always returned error 404 page (not found) every time I clicked on any admin section (i.e,, etc).

I have tried bypassing clean URLs by using, renamed .htaccess file and so on. But all of my efforts still bring me the same error page.


After many minutes, I figured out that the problem was caused by the update module that always loaded every time I open admin section. Thus I decided to disable this module.

Just open PHPMyAdmin, click my database and run this query:

update system set status=0 where name='update'

And…… it works! All my admin sections are now working fine with this little trick.

1 comment

Install Nginx, PHP-FPM & MySQL in Centos

April 21, 2011 | Technical Stuffs | , , , , ,

Warning: This shell script will remove your previous Apache installation.
Update June, 25 2014:
The following script works on CentOS 5 very well. If you’re using CentOS 6, go to this page instead:

After reading a tutorial of how to install Nginx, PHP and MySQL in a difficult way, now I would like to tell ya how to install them in a very easy way.

I found this method was very effective and completed just within few minutes in my Centos VPS.

  1. Download  this shell script to your VPS
    [root@power ~]# wget
  2. Run that bash script
    [root@power ~]# bash

    then wait..

  3. Voila! Nginx, PHP-FPM and MySQL are installed at glance!

Not only that, this shell script also installed a tool to create virtual host in Nginx named setup-vhost.

When I made virtual host for this blog, I just need to run this command:

[root@power ~]# setup-vhost

Then I uploaded all my files at /var/www/ and configure database connection etc.

Thanks to you guys at, installing this stack never been easier than this!


Wrong mail quota in CPanel

May 9, 2010 | Technical Stuffs | , , , ,

Today I found my CPanel displays wrong disk quota for an email account. It shows 58/100 MB (58 MB used, of 100 MB preserved) while actually the mailbox is empty.

I have checked with du -sh command (a command to check disk usage) and it returned 100 KB or something, so there must be something wrong.

After googling around, I got some trick to solve this problem. Perform this action from shell/SSH or simply using file manager in CPanel:

  1. Go to /home/usercpanel/mail/
  2. Delete file named maildirsize, this file stores disk usage information
  3. Change the number of disk quota for that email account from CPanel (inside menu Email Accounts), it will regenerate a new maildirsize file.

Refresh your browser and now you should see the correct disk quota for that email account.