Class – Kotlin

TweetClass dalam Kotlin bisa se-simple mungkin artinya banyak logic tapi dengan sedikit code. Mari kita bahas penggunaanya dan perbedaannya dengan class Java Deklarasi

Mudah sekali kan, dengan diawali dengan keyword class diikuti nama kelas tanpa kurung kurawal. Dari sini kelihatan perbedaannya dengan Java dengan tidak adanya deklarasi public modifier karena semua public di Kotlin.

 

Variable – Kotlin

TweetSeperti halnya dengan Java dan bahasa pemrograman lainnya, variable tentu hal yang penting untuk dipelajari. Nah, di Kotlin ada beberapa keunikan yang membuatnya menjadi lebih mudah (atau justru membingungkan). Pengertian variable akan saya bahas disini karena penting untuk diketahui kapan dan bagaimana menggunakan variable, khususnya ketika menggunakan class . Var vs val Variable di Kotlin … 

 

renew letsencrypt certs

TweetIf you already install SSL certs on your blog and want to renew it you only have to generate new certs using letsencrypt

[UPDATE] or you can just create a new one by ./certbot-auto certonly --manual -d yourdomain.my.id -d www.yourdomain.my.id it will ask you to create a file on web server in certain path

 

Android Studio CMake

TweetAndroid Studio 2.2 Preview 1 launched at Google I/O 2016. Android Studio allows you to develop with the latest Android APIs and features as mentioned here. UI layout editor is great but i really excited about CMake plugin. Using previous version, i was able to develop simple image scanner app that using NDK features. Now … 

 

Google I/O 2016

TweetGoogle i/o 2016 Keynote “Daydream”, Google VIrtual Reality Platform Daydream is Google mobile virtual reality platform which built on top of Android N. It’s more powerful than Cardboard that launched earlier. Because built on top of mobile platform “Android N”, Daydream will not –yet compete other VR platform like Oculust or HTC Vive. Daydream basically … 

 

MongoDB Tutorial – Introduction

TweetIntroduction to mongodb MongoDB is a document database. The data model, queries and data stored as JSON (Javascript Object Notation). For me, the big differences between MongoDB and relational database model are flexibility, performance and scalability. Flexibility means that we can store various data structure in one single records, so we don’t have to joining multiple …