Cara Membedakan EarPod iPhone Original Atau KW/OEM Akurat 100%

Peminat EarPod atau earphone Apple iPhone hingga saat ini masih sangat banyak, entah itu EarPod yang model jack 3.5mm atau model lightning. Harga earpod Apple iPhone orisinil yang cukup mahal, membuat tidak sedikit orang untuk berusaha mencari barang tersebut dengan harga semurah mungkin. Entah itu dengan cara membeli bekas, earpod copotan iPhone atau hingga terbujuk dengan kalimat “Jual EarPod iPhone Original 100%” yang mana kebanyakan diantaranya adalah KW atau OEM, bukan benar-benar orisinil diproduksi oleh Apple Inc.

Continue reading

Generate and Distribute Serverless APK or Debug APK for React Native

Well, I just got a problem about distributing APK for testing on real Android device before we publish or generate bundle and upload it into Google PlayStore. We know when we develop an App using Android Studio then if we want to try or test it on Android Simulator, Android Studio will automatically create app-debug.apk and this file will be able to install on real Android device.

Continue reading

Masing-Masing Kekurangan Visual Studio Code dan Sublime Text 3

Diluar sana saya yakin sudah banyak sekali testimoni atau review mengenai keunggulan yang dimiliki oleh VS Code (Visual Studio Code) dan Sublime Text 3. Hanya saja saya jarang menjumpai testimoni atau pendapat yang lebih jujur dari masing-masing editor tersebut.

Sebagai seorang Full Stack Developer, disini saya akan coba berbagi beberapa pendapat mengenai kekurangan dari masing-masing IDE / editor yang terkenal ini (VS Code dan Sublime Text 3). Sebagai informasi tambahan bahwa saya menggunakan MacOS untuk keseharian, maka dari itu yang bisa saya bahas disini adalah aplikasi yang bisa berjalan di MacOS.

Continue reading

Install openvpn on MacOS Mojave from Terminal

To install openvpn in your MacOS Mojave or other version from Terminal, you can use brew, follow these steps:

brew install openvpn

After you success install it, add it’s path to your environment to make your work easier. You can export it directly to your $PATH environment variable, edit your .bash_profile file or insert into /etc/paths file, etc.

Continue reading

MySQL Upsert – UPDATE If Row Exist With Multiple Columns As Parameter

Like the other RDBMS out there, MySQL has a feature such as Upsert Statement. Upsert Statement means it’s query will update the row if data / row that match with our key or parameters (contraint, foreign key, or some columns we use as key in where clause) already exist. But if data / row doesn’t exist before, it will insert as a new row in our table.

Continue reading

[SOLVED] Problem Double Entry Because Trigger After Insert In SQL Server

Recently I got a problem with trigger in SQL Server, the trigger I made was provoke an anomaly. The goal is after insert a data in a table, I need to update a column within it with a external data.

The problem when insert 1 row data, it generates 2 row with the exactly same data. I tried to remove the trigger I created before, and insert a new data again, the problem is gone. Here it is my trigger source code:

Continue reading

Solusi IndiHome USEETV Failed Authentication, Kesalahan Kode 1302

Setelah sekian lama akhirnya saya memutuskan untuk menggunakan layanan internet dari Telkom Indonesia yaitu IndiHome. Sebelum menentukan memilih produk ini saya membandingkan antara MyRepublic dengan Telkom IndiHome, pilihan saya mengereucut pada dua provider ini karena segala kebutuhan saya sudah ada dengan perbandingan yang kompetitif dibanding provider lainnya, sayangnya jaringan MyRepublic belum masuk ke daerah tempat saya sekarang tinggal, jadilah Telkom IndoHome menjadi pilihan satu-satunya.

Pada tanggal 22 Desember 2018 saya menghubungi pihak Telkom Indihome Surabaya, besoknya pada 23 Desember 2018 dihubungi oleh Call Centre untuk verifikasi data melalui telepon. Lalu dijadwalkan keesokan harinya pada tanggal 24 Desember 2018 untuk dilakukan pemasangan.

Continue reading

[SOLVED] CodeIgniter DOMPDF problem with thead HTML element

I need to print out some report to PDF format so the customer can print it out, save it or just review it. I used CodeIgniter for framework, then I choose DOMPDF library to fulfill my goal. But I got a little bit problem with this, when I try to print out some data on HTML table format, and the table header need to print repeatedly in every page. Here is the message that I got :
Message: Call to undefined method DOMText::getAttribute()

This problem occurred after I added a <thead> tag into my HTML report source code. Continue reading

[SOLVED] configure: error: no acceptable C compiler found in $PATH install oci8

Few days ago I got little bit problem for installing oci8 in Centos 7 with PHP 5.6, it’s error said:
checking for cc... no
checking for gcc... no
configure: error: in `/var/tmp/pear-build-root9arfuf/oci8-2.0.12':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

I have posted some solutions before in this blog, maybe you should read here for complete installation tutorial oci8 in linux Centos with PHP 5.4 – 5.6, but why now I post another one in different thread, because I need my reader more easily to read and understand. Continue reading