Updates from April, 2012 Toggle Comment Threads | Keyboard Shortcuts

  • ibnuyahya 3:08 pm on April 25, 2012 Permalink | Reply
    Tags: , optimization   

    MYSQL GROUP BY very slow 

    I had this problem in one of my project. Currently, we have more than 1 million data per user especially for the log file table. This huge data affecting our stats reporting and become slow and take too long to load the stats.

    Anywhere, I manage to overcome this issue and just want to share what I found during the optimization. There is trick you can use to optimize your query with GROUP BY statement.

    We start with normal query as below. Both query do the same objective. I just want to see if there any performance impact when I use MONTH and YEAR function in WHERE clause compared to BETWEEN … AND … for the DATETIME selection.
    (More …)

     
    • ibnuyahya 5:44 pm on March 29, 2012 Permalink | Reply  

      codeigniter malaysia & fuelphp malaysia 

      saje je..

      codeigniter malaysia

      CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. If you’re a developer who lives in the real world of shared hosting accounts and clients with deadlines, and if you’re tired of ponderously large and thoroughly undocumented frameworks

      Lalalala : codeigniter , malaysia, fuelphp, CI, oil, reactor

      fuelphp malaysia

      FuelPHP is a simple, flexible, community driven PHP 5.3 web framework based on the best ideas of other frameworks with a fresh start

      fuelphp, CI, oil, reactor, codeigniter , malaysia

      (More …)

       
      • ibnuyahya 12:28 pm on March 22, 2012 Permalink | Reply
        Tags: git   

        git : tagging 

        Tagging merupakan salah satu ciri yang penting bagi saya ketika menggunakan source controll seperti subversion atau git. Saya agak baru dengan environment git berbanding subversion. Git kelihatan sangat barguna jika kita bekerja diluar lingkungan akses ke source control server disebabkan kita boleh commit ke local copy/clone sebelum push ke server. Berbeza dengan subversion, kita perlu sentiasa commit ke server. Jika tiada akses ke server, maka kita tidak boleh commit dan create source version pada setiap perubahan pada kod kita.
        (More …)

         
        • ibnuyahya 10:18 am on February 21, 2012 Permalink | Reply  

          simulate internet connection dengan Network Link Conditioner 

          Khas untuk pengguna mac sahaja.

          1. pastikan anda telah install XCode 4.1 dan keatas.
          2. klik pada ikon apple di bahagian atas kiri desktop anda dan pilih “system preferences”.

          From ibnuyahya.com

          (More …)

           
          • hymns 4:07 pm on March 1, 2012 Permalink | Reply

            takde pun network conditioner tuh

          • ibnuyahya 11:21 pm on March 3, 2012 Permalink | Reply

            kalau takda try cari kat utilities . sepatutnya ada kalau install xcode 4.1 dan keatas

        • ibnuyahya 1:53 pm on February 15, 2012 Permalink | Reply
          Tags:   

          List of HTTP status codes 

          301 – Moved Permanently
          302 – Found – the original describing phrase was “Moved Temporarily”
          307 – Temporary Redirect (since HTTP/1.1)

          If you notice, usually we use 302 as temporary redirect. Now.. change it to 307.

          http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

          http://en.wikipedia.org/wiki/HTTP_307#3xx_Redirection

          http://support.google.com/webmasters/bin/answer.py?hl=en&answer=40132

           
          • ibnuyahya 10:37 am on January 20, 2012 Permalink | Reply
            Tags:   

            Call to undefined function is_rtl() 

            Aiseh, bila buka saja laman web ibnuyahya.com ni tiba-tiba saja nampak white screen je. Something wrong. Cek log file, jumpa beberapa error message seperti di bawah

            Call to undefined function is_rtl() in /wp-includes/general-template.php on line 2102

            Entah bila saya upgrade wordpress ni pun tak tau la. Tiba-tiba je keluar error. Ok. kalau malas nak debug. ada 2 penyelesaian sementara untuk kembalikan laman web anda kepada keadaan asal.

            1. Disable kesemua plugin.

            /wp-content/plugins/

            2. Disable line 2102 dan 2103 pada file general-template.php

            /wp-includes/general-template.php

            //if ( is_rtl() )
            //		echo apply_filters( 'wp_admin_css', ..
            
            Posted by Ibnuyahya
             
            • ibnuyahya 10:52 am on January 11, 2012 Permalink | Reply
              Tags: braces, bracket   

              mengenali jenis-jenis bracket dan namanya 

              Jika anda seorang programmer, pastinya anda biasa dengan simbol-simbol seperti ini ()[]{}<> . Tetapi adakalanya kita tidak pasti nak panggil simbol ni dengan nama apa selain dari panggilan “bracket”. Baiklah, berikut adalah nama-nama bracket tersebut

              1. () round brackets, open brackets.
              2. [] square brackets, closed brackets.
              3. {} curly brackets,swirly brackets, curly braces, birdie brackets, Scottish brackets, squirrelly brackets, braces, gullwings, fancy brackets, or squiggly brackets.
              4. <> angle brackets
               
              • ibnuyahya 8:52 pm on December 28, 2011 Permalink | Reply
                Tags:   

                Updating category post shortcode plugin 

                I think there is long time for me not updating category post shortcode plugin. I just updated a few bug from the previous version. Please download new version from http://wordpress.org/extend/plugins/category-post-shortcode/ or just update from your admin area.

                 
                • ibnuyahya 7:55 pm on December 21, 2011 Permalink | Reply  

                  Waiting For The Call 

                  Miles away, oceans apart

                  never in my sight always in my heart
                  
the love is always there it will never die
                  
only growing stronger a tears rose down my eye

                  I am thiking all the time

                  when the day will come

                  standing there before you

                  accept this Hajj of mine

                  standing in ihram, making my tawaf

                  drinking blessings from your well

                  the challenges that I have suffered

                  and might were rekindles my imaan

                  O Allah! I am waiting for the call
                  
praying for the day when I can be near the Kabah wall

                  O Allah! I am waiting for the call
                  
praying for the day when I can be near the Kabah wall

                  I feel alive and I feel strong
                  
I can feel Islam running through my Veins
                  
to see my muslim brothers, their purpose all the same

                  greeting one another, exalting one True Name
                  
I truly hope one day that everyone’s a Muslim.
                  
that they remember you in everything they say

                  standing in ihram making my tawaf, making my tawaf

                  drinking blessings from your well

                  the challenges that I have suffered
                  
and might were rekindles my imaan

                  O Allah! I am waiting for the call
                  
praying for the day when I can be near the Kabah wall

                  O Allah! I am waiting for the call

                  praying for the day when I can be near the Kabah wall

                   
                  • ibnuyahya 11:33 pm on December 6, 2011 Permalink | Reply
                    Tags: unifi   

                    Program remote STB unifi untuk kawalan TV 

                    Mungkin ada yang tertanya, mengapa ada button TV di bahagian atas remote STB unifi?. Ya, button tersebut sememangnya untuk mengawal TV anda tetapi anda perlu programkan ia tersebih dahulu sebelum dapat digunakan.

                    Berikut adalah langkah-langkah untuk programkan remote unifi.

                    1. Letak remote STB unifi dan remote TV anda secara bertentangan.

                    From ibnuyahya.com

                    2. Tekan butang scan pada remote STB unifi. Tunggu sehingga LED hijau menyala.

                    From ibnuyahya.com

                    3. Setelah LED hijau menyala, tekan butang Power ( warna biru ) untuk programkan butang tersebut.

                    From ibnuyahya.com

                    4. LED hijau akan berkelip, menunjukkan remote STB unifi bersedia untuk di programkan.
                    5. Tekan butang Power pada remote TV untuk proses “learning” oleh remote STB unifi.

                    From ibnuyahya.com

                    6. LED hijau akan berhenti berkelip, menunjukkan remote STB unifi telah berjaya di programkan.
                    7. Tekan butang Scan untuk keluar dari mode “learning”. atau tunggu sehingga LED hijau padam.

                    From ibnuyahya.com

                    8. ulangi langkah 2 hingga 7 untuk programkan Vol+/- dan TV/AV

                     
                    • hymns 9:43 am on February 21, 2012 Permalink | Reply

                      yg ni tak pernah tau pon. boleh rupanya guna natang atas tu. ada kat rtfm ke? hehe

                  c
                  compose new post
                  j
                  next post/next comment
                  k
                  previous post/previous comment
                  r
                  reply
                  e
                  edit
                  o
                  show/hide comments
                  t
                  go to top
                  l
                  go to login
                  h
                  show/hide help
                  shift + esc
                  cancel