Tag Archives: programming

Apa IDE (coding editor) favourite kamu ?

Screen Shot 2015 12 11 at 6 28 16 PM

Peranan IDE (koding editor) sangat penting dalam menunjang pekerjaan programmer. IDE paling mempesona menurut saya masih tetap Microsoft Visual Studio, tp eklusivitas hanya jalan di Windows dan juga besarnya resource yg diperlukan membuat saya harus beralih. Sublime menjadi pilihan berikutnya. Tapi setelah 2 tahun terakhir saya banyak berurusan dgn cloud dan per-ssh-an-nya, memaksa saya harus berusaha mencari alternatif Sublime … sudah beberapa bulan ini saya menggunakan vim untuk coding. Awalnya memang kagok, tp setelah sebulan menggunakan dan explore segala kemampuan yang diberikan vim … it wowwwwwwws me … apa editor koding favorit anda ?

Error Troubleshoot: “Microsoft.OLEDB.12.0” provider is not registered

OLEDB_

I have been facing this issue whenever I have new Windows environment and would like to perform integration or reading data being stored on Office file from my code. Though I already install Office Professional on my machine, and yes, it is original install not pirated version … LoL.

Continue reading Error Troubleshoot: “Microsoft.OLEDB.12.0” provider is not registered

Make IE displays JSON file to the screen

When we have a JSON builder, say a MVC Controller with method returns JSON, and we want to debug this method using Internet Explorer, IE will prompt for download the JSON file hence we can’t see the result immediately. Really annoying behavior.

However we can alter this by update Windows Registry. Below are the steps on how to do so:

  1. We need to be login as user with administrator privilege
  2. Open any text editor (Notepad will do) and create a file called js_ie.reg or any name with .reg extension and put below as content

    Windows Registry Editor Version 5.00
    ;
    ; Tell IE to open JSON documents in the browser. 
    ; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" .

    [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
    "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
    "Encoding"=hex:08,00,00,00

    [HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/json]
    "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
    "Encoding"=hex:08,00,00,00

  3. Double click .reg file, it will prompt us for confirmation to change registry, choose OK
  4. Now, you our IE will immediately shows JSON results on screen rather than prompt us to download