Newest Post

Selasa, 06 November 2018

Wordpress - Debug.log is not working (SOLVED)

Have you guys ever experience this level when your wordpress debug log is not showing correctly @@"

As i go with Wordpress Framework, here what i found

First Write the files debug.log
in path /wp-content/debug.log
Then Check wp-config.php
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
// @ini_set('display_errors',1);
and if debug still not working, try to check in server side :
<?php phpinfo(); ?>
make sure track_errors is ON

if this still not working, then your only choice is move the error.log to shared folder,
Example : This server is old and does not have the latest configuration. By default, you do not have access to the nginx logs.
So moved the logs to share/logs/<yourwebsites>/* 
and also if you have time , take a look at this gist
Bonus : to track php error in your case directly
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);

references :

Feeling Helped ? Comment below

Sabtu, 03 November 2018

Apa itu .nomedia pada Android

Sering kita temukan file pada beberapa android ada file namanya .nomedia, terutama pada folder thumbnail atau pada folder data di android. tapi apa  kegunaan file ini ?

Apa itu .nomedia ? 

.nomedia atau no media adalah file kosong yang berguna untuk memberitahu sistem kalau folder ini tidak boleh di ditampilkan pada gallery foto, video player, ataupun music player.

Bagaimana Cara membuat file .nomedia ini ? 
untuk gampangnya sih kita tinggal copy/salin saja file .nomedia yang sudah ada pada folder sistem /Android atau pada folder sistem /Data, lalu paste/tempel pada folder yang kita inginkan

Kita juga bisa membuat file ini dengan bantuan notepad editor, seperti ES File Explorer dsb.
kita cukup lakukan penamaan/rename ulang menjadi .nomedia. lalu meletakannya pada folder yang kita inginkan.

~ cukup mudah bukan.

common tags :
.nomedia, cara agar folder tidak terlihat pada gallery foto, video player, ataupun music player, sistem android.

Sabtu, 17 Februari 2018

Tips Membeli Televisi / TV digital

Oke sekarang saya akan membahas tips untuk membeli TV digital dengan "spesifikasi minimum"

saya sudah rangkum hal ini menjadi 7 point singkat, (agak panjang xDD).

  1. Lihat Voltase Watt rumah kita dulu,
    - jangan sampe ga kuat ngangkat listrik si televisi
  2. Frame rate.
    - untuk televisi yang 32" tidak apa bila kita 60Hz,
    - tapi untuk TV diatas 32"  keatas refresh ratenya jangan kurang dari 120 Hz, kalau kurang dari itu, gambar bisa berkedip.
  3. Resolusi Gambar
    - untuk televisi yang 32" memang 720p itu adalah pilihan final,
    - tapi untuk TV diatas 32" keatas lebih baik 1080p (biasa disebutnya Full HD) karena harganya juga ga beda jauh, kalo dia bilang HD itu gambarnya masih jelek ya soalnya masih 720p. jadi . kalo anda punya budget lebih ya ga salah beli yang 4K.

  4. Jangan terpacu pada kontras si TV atau fitur HDR,
    - pecayalah dengan mata anda, apa gambar itu terang dan terlihat jelas. (terkadang disini kita bingung hahaha).
  5. Jangan terpaku sama yang namanya "SMART TV"
    soalnya smart itu cuman akal2 an saja, sekarang kita bisa buat TV kita sendiri smart dengan bantuan dari device lainnya.
  6. Koneksi port.
    - Berhubung sekarang sudah 2018, dan semuanya digital, jadi kita butuh koneksi port yang banyak, jadi TV harus punya slot buat USB, HDMI agar bisa nonton film lewat perangkat external kita.

  7. Speaker.
    - TV sekarang kadang speakernya jelek, jadi pertimbangkan juga untuk membeli speaker tambahan.
  8. Garansi dan Merek
    - sebenernya ini relatif ya, ada barang bagus kadang bisa sue juga, jadi pastikan TV anda di test dulu sebelum sampe rumah. kan cape bawa balik lagi ke tokonya.
Sekian dari saya,
Have nice day.

Rabu, 13 September 2017

Cold Fusion : Starter Pack and Review

Talk about Cold Fusion, CF is really a nice product IF ONLY Adobe make it FREE for public use.

Unfortunately, this CF things are so rare right now and all about Business Oriented, so you might not find any alternate to make this stuff open source, You will only find 30 Days trial and after that only get free production test only and limited usage.

alternative (FREE)
after browse some , i found LUCEE
Recommended for those who seek like CF in free way.

Now lets talk more about CF

To be Honest , i am new to this CF things. So get some brave hearts and here we go.

First impression :
  • CF looks like javascript in front end nowadays. if you are Angular or React developer, u might see this almost the same. (but ya cf cf cf everywhere ya will go).
  • There less issue within the developer forums, so its a bit hard to find some references.
    the stackoverflow tag for cf
  • Cause its adobe, its a safe language to learn. (idk the future, just make sure CF survive its good to hear).
  • you must have an adobe id, so just create one. (for forums and download stuff).

Here is what they call to login in localhost.
Try to compile this online at : 
This some sites that i found useful, actually for starter like myself.
Have nice day, keep learning till ya bored and need rest for a while.

#work issues

Selasa, 04 Juli 2017

Error Code 10 (This Device Cannot Start) (SOLVED)

Today i am facing this weird issue, my PC suddenly disconnected from the internet.

Case : This Device Cannot Start - Error Code 10

in my testing here i'm using windows 10.

How to solve this issue ? :
  • First , click windows + R , it will open "run.exe" interface, 
  • Then type there : ncpa.cpl 
  • you will get redirected to your network connection.
  • You will see other internet connection that you dont use is being activated and your normal internet connection is shutdown/disable/ removed from there. 
  • Just turn it to disable (other internet connection that you dont use).
  • Next, go to control panel, and search device manager.
  • see your "network adapters" division
  • disable every network that you dont use ( do not uninstall , just disable it ).
  • click your usual network adapter there, and re-enable it. (if it's fail, then restart your PC ).
  • case solved.

    have a nice day. ~KG

    Minggu, 21 Mei 2017

    Sublime text 3 ( laravel artisan not found ) (SOLVED)

      As sublime user facing this laravel issue :
      "Artisan not found"

      that almost scared me to death.

      i'm using sublime text 3, and use laravel version 5,
      tested with laravel 4 too.

    luckly , i solve this one : 

    you can find sublime settings here : ( preferences > Package settings )

    > go to your sublime settings :
    > (choose whether "laravel 4 artisan" or "laravel 5 artisan")
    > select "Settings - default"
    > copy that text (it will be like this)

        "php_path": "php",
        "artisan_path": "artisan"

    >  go to your sublime settings
    > (choose whether "laravel 4 artisan" or "laravel 5 artisan")
    > select "Settings - users"
    > now paste the text here and modify the "php_path" and "artisan_path"

        "php_path": "C:/xampp/php/php.exe",
        "artisan_path": "C:\\xampp\\htdocs\\myfirstapp\\artisan"

    > restart your sublime
    > finish, wish you luck.


    > if you are using my trick you must change "artisan_path" if you use different project.


    for more info you can see this one :

    Sabtu, 08 April 2017

    Docker login Error / Stuck (SOLVED)(windows)

    Oh no Docker (windows) Stuck at login , why cannot login to my docker through cmd git

    Case :

    Warning: failed to get default registry endpoint from daemon (error during conne ct: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.27/info: open //./pipe/docker_e ngine: The system cannot find the file specified. In the default daemon configur ation on Windows, the docker client must be run elevated to connect. This error
    may also indicate that the docker daemon is not running.). Using system default:
    Login with your Docker ID to push and pull images from Docker Hub. If you don't
    have a Docker ID, head over to to create one.
    > error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.27/auth: ope n //./pipe/docker_engine: The system cannot find the file specified. In the defa ult daemon configuration on Windows, the docker client must be run elevated to c onnect. This error may also indicate that the docker daemon is not running.
    > docker login
    Error: Cannot perform an interactive login from a non TTY device

    Solution :

    > docker-machine start default
    > docker-machine env default
    > @FOR /f "tokens=*" %i IN ('docker-machine.exe env --shell cmd') DO @%i
    > docker login
    Username: *
    Password: *
    Login Succeeded

    More info  :
    Trying to connect to Docker API for shell commands throws error

    Happy Saturday

    Jumat, 07 April 2017

    Docker for windows (BASIC guide)

    What is docker ? and why docker ?
    one bad day for dev is that "wait, this work in my machine"

    So, to prevent that we use docker

    Minggu, 02 April 2017

    7 things you must do when using torrent - Utorrent

    7 things you must do when using torrent

    Okay, Who doesnt know this green friendly things in 2017 ??

    Maybe some of you just using it as default, but dont you think that isn't so efficient.

    Today, i will give you 7 trick you must do when using torrent.

    1. Disable the "auto update" from utorrent
      yeah it's so annoying when you open your torrent app and it is installing every single x.x.1 version, (i hope they fix that update system soon and only update when major change not minor).

    2. Distinguish the completed files
      sometimes we are confused how to distinguish completed 100% files from common not 100% complete files. so here we tick "Append .!ut to incomplete files".
    3. Settings the download table
      sometimes we want to know how many percentage the file is and the remaining.
    4. Set your bandwidth priorityyou can set your download priority here , and set the limit of your upload and download.
    5. Shutdown after the download is complete
      not having enough quota and being limited only can download at night ?? no problem, you can try this solution.
    6. Setup your directory
      usually we want to separate the complete torrent from the uncompleted one. you can try to modify this tab menu.
    7. Set limit how many queue for active download
      just modify that maximum number of active download
    Thats all for today, enjoy :3

    Minggu, 05 Februari 2017

    Electronic Charger Tips

    Documentation Files of  Electronic Charger Tips and Issue
    for : handphone, laptop, powerbank, etc.

    Before buying the new one ?  ( skip this step if you’re rich af )
    Go and do some market research.
    -> Search the “model” in google / your fav search engine
    -> Seek for “Price” at your public market (see in amazon, bukalapak, tokopedia, or etc)

    Tips at buying : 
    -> Compare the Charger Ports (if it’s fit or not)
    -> Buy Only The Same Brand of the Charger cause they will works fine.

    Look For its “Output” the Voltage (V) symbol 
    ****(dont buy different voltage charger, or your phone will “boom” for sure).
    example : 19V, then you must buy the exact 19V (no less and no higher)

    See the “Output” Ampere (A)  
    ****(High “A” can make you charge so fast, ).
    example : 6A , then you can buy
    - i suggest you buy the sampe Ampere, or at least lower 10% of Ampere
    - seek more cheaper price ? (MINIMUM) lower 20% of Ampere (MINIMUM), dont dare lower than that, you will get hellish word after take it home.

    How to Maintenance : ( lembiru intensive files )
    -> Always fan/wind your Electronic Charger (cause of heat)
    -> Do not roll around your charger cable by force !!!
    -> Do not put it in your bag after use, fan it a while (cause of heat)(unless is urgent)

    ~ Credits by KG
    base on my experience of charger (not L4D)