Blog

  • jQuery Not Class Selector to Exclude

    For example we want to hide all hyperlinks that do not have “banana” class. How to do that with jQuery?
    You can use the javascript code below.

    $('a').not('.banana').hide();

    Easy right? 😀

  • My Proxy List Script and ProxyNoid

    I made a free proxy list script about 1-2 years ago which is called “proxycoder script”.
    I haven’t continued to develop it for a long time. Recently Oxuro, owner of ProxyNoid.com contacted me at DigitalPoint and told me that he has done some modification to my script. He kindly asked if i can include his modification on the next proxycoder script or if i can give him permission to distribute his modified script. I chose the second choice, i will be happy to see my script to become a well developed proxy list script.
    From now, i give permission to ProxyNoid.com to distribute the modified version of my script.

    Good luck, Oxuro 🙂

  • MySQL Table “In Use” Repair

    Recently when i optimized some mysql tables from phpmyadmin, some of the tables were “locked” and showed as “in use” on phpmyadmin. The tables could not be used, read, etc. So the script was stopped working.
    I have tried to repair / check / analyze from phpmyadmin but i couldn’t repair it.
    So i tried to repair the mysql tables from SSH.

    Go to your database directory. Usually it is located on
    /etc/var/lib/mysql/YOUR_DATABASE_NAME/

    So use this command first
    cd /etc/var/lib/mysql/YOUR_DATABASE_NAME/

    Next, use this command
    myisamchk --safe-recover --force YOUR_TABLE_NAME

    And the MySQL table should be repaired now.

  • Use ScrapeBox to Monitor Your Competitor

    ScrapeBox is one of useful SEO tools. One of its cool feature is you can use it to monitor your competitor’s backlink 🙂
    Backlink is one of important factor on SEO. So by monitoring and knowing where your competitor’s backlinks are, you can try to compete with them and put more backlinks than theirs.

    To do this, you can use ScrapeBox add-ons, called “Backlink Checker”. Just load your competitor URLs and ScrapeBox will show you where their backlinks are. 🙂

    Now your next task is getting more backlinks 🙂

  • Quick Adsense Random Align

    Quick Adsense is one of useful WordPress Plugin which can be downloaded here
    http://wordpress.org/extend/plugins/quick-adsense/

    It can insert ads to your post content automatically.
    Here is a hack to make your ads to be aligned randomly left / right AND center / none :
    (more…)

  • April Fool Day

    What did you do on April Fool Day? Did you do something? I did nothing on April Fool Day 😀

  • How to Add Facebook Comment Code

    Facebook provides a social “plugin” to create a comment form, completes with pagination, commenter facebook profile picture, etc. In short, easy comment form and it is free 😀
    The commenter needs to login to their Facebook account.

    To embed the Facebook comment plugin into your website, please go to this link
    http://developers.facebook.com/docs/reference/plugins/comments/
    (more…)

  • Enabling CodeIgniter $_GET

    Here is how to enable CodeIgniter support to $_GET and still able to use the normal “SEO-friendly” URL working together.
    So you will get a URL like this

    http://www.example.com/index.php/the_controller/the_function/?some=thing&more=yes

    First approach is modify your “config.php” and change this line.

    $config['enable_query_strings'] = true;

    But this is not recommended because on pagination, you will get ugly URL.
    (more…)

  • Multilanguage Programming with UTF-8 Encoding

    Multilanguage non-ASCII site? Sometimes we need to make website that can handle languages which contains non-ASCII characters, for example chinese, russian, french, germany, etc.
    To handle this, we need to handle the language on 3 parts : on PHP itself, HTML, and on the database (i use MySQL as example here).
    Basically, we need to adjust the charset (character set) into UTF-8.
    (more…)

  • Encode dengan Ioncube cara Murah

    Ioncube adalah salah satu encoder yg dipercaya “susah” didecode. Karena bukan obfuscator, tapi semacam “compiler” (http://www.ioncube.com).
    Ioncube sndr harga softwarenya mulai dari $199 untuk versi basic sampai $379 untuk yg versi Cerberus (paling bagus).
    Untuk para programmer yang ingin melindungi hasil kerjanya, Ioncube sangat disarankan untuk digunakan.

    Tapi ternyata ada cara murah untuk encode sebuah file dengan Ioncube, yaitu dengan menggunakan online encoder.
    (more…)