<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by .:dhanza:. on Medium]]></title>
        <description><![CDATA[Stories by .:dhanza:. on Medium]]></description>
        <link>https://medium.com/@dhanza?source=rss-662099bed71f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*suhhJTiXvV7tOWwm.jpg</url>
            <title>Stories by .:dhanza:. on Medium</title>
            <link>https://medium.com/@dhanza?source=rss-662099bed71f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:58:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dhanza/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Read json with PHP]]></title>
            <link>https://medium.com/@dhanza/read-json-with-php-a5e50771d2e8?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5e50771d2e8</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[json]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Sat, 25 Sep 2021 05:24:05 GMT</pubDate>
            <atom:updated>2021-09-25T05:24:05.595Z</atom:updated>
            <content:encoded><![CDATA[<p>JSON, JavaScript Object Notation is a lightweight data-interchanged format. Like XML (althought it’s different), it can be use to parsing data between one program to another. Nowadays many websites that provide json api so many people can interact or utilize the data that parsed via json interface. But I will not discuss about what json is, in here I will discuss how to read json api with PHP.</p><p>In here we will use Aceh Province (Indonesia) Covid-19 json API report as an example. Before that, we have to enable json library in our PHP configuration. After json library already enabled, now it’s time to read the json API with PHP. Here is the url of <a href="https://apicovid.bravo.siat.web.id/api/v_selisih_hariini_kemarin_kabkota?_size=25">Aceh Province (Indonesia) Covid-19 json API report</a>. Now we have to open the URL to know how to get the datas.</p><p>For our convenience, I recommend to use Mozilla Firefox browser. Why?, because we can read the datas in raw or json format. Eventhough I don’t know if this feature exist in another browser or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/0*_p3-1EzxJIhMGvQy" /><figcaption><em>raw data</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/0*6xNRsTkh8Tx7kUYf.png" /><figcaption>json format</figcaption></figure><p>After we get the json datas, now we make our PHP script. First we have to define map api url variable. In my example will be like this :</p><blockquote>$url = “<a href="https://apicovid.bravo.siat.web.id/api/v_selisih_hariini_kemarin_kabkota?_size=25&amp;#8221">https://apicovid.bravo.siat.web.id/api/v_selisih_hariini_kemarin_kabkota?_size=25</a>”;</blockquote><p>Next step is call the api. Here we use <em>file_get_contents</em> and <em>json_decode</em> function. Here the example :</p><blockquote>$json = file_get_contents($url);<br>$json = json_decode($json);</blockquote><p>Now we can choose the data that we want to use/analyse. Did you see the circle in the second picture? That’s our clue in how to use the datas. Circle number 1 is array number of parent data. Circle number 2 is variable name. Example, if we want to print/echo the value of <em>selisih_konfirmasi_dalam_perawatan</em> variable in <em>kabupatenkota</em> “ACEH SELATAN”, which is it’s the first array, the code will be like this :</p><blockquote>echo $json[0]-&gt;selisih_konfirmasi_dalam_perawatan;</blockquote><p>So simple right? Now we can use the datas whatever we want. Such as making positive addition case trend, recovery rate in every region, etc. We can use loop function so we don’t have to include array number of parent data if we want to get all the datas. Ok, that’s for today, hopely it can help you. Thanks for coming, and see ya…</p><p>JSON, JavaScript Object Notation adalah sebuah format pertukaran data yang ringan. Seperti XML (walaupun berbeda), ini dapat digunakan untuk mengirim data dari satu program ke program lainnya. Sekarang ini banyak website yang menyediakan api json sehingga banyak orang dapat berinteraksi atau memanfaatkan data yang disediakan melalui json interface. Tapi saya tidak akan membahas apa itu json, di sini saya akan membahas bagaimana membaca api json dengan PHP.</p><p>Di sini kita akan menggunakan laporan API json Covid-19 Provinsi Aceh (Indonesia) sebagai contoh. Sebelum itu, kita harus mengaktifkan library json di konfigurasi PHP. Setelah library json aktif, sekarang waktunya membaca API json dengan PHP. Berikut adalah <a href="https://apicovid.bravo.siat.web.id/api/v_selisih_hariini_kemarin_kabkota?_size=25">url laporan API json Covid 19 Provinsi Aceh</a>. Sekarang kita harus membuka url tersebut untuk tahu bagaimana mandapatkan datanya.</p><p>Untuk kemudahan kita, saya merekomendasikan untuk menggunakan browser Mozilla Firefox. Kenapa?, karena kita dapat membaca datanya dalam format mentah ataupun json. Walaupun saya tidak tahu apakah fitur ini ada juga di browser yang lain atau tidak.</p><p>Setelah kita mendapatkan data json tersebut, sekarang kita membuat script PHP. Pertama-tama kita harus mendefinisikan variabel url api map. Dalam contoh punya saya akan seperti ini :</p><blockquote>$url = “<a href="https://apicovid.bravo.siat.web.id/api/v_selisih_hariini_kemarin_kabkota?_size=25&amp;#8221">https://apicovid.bravo.siat.web.id/api/v_selisih_hariini_kemarin_kabkota?_size=25</a>”;</blockquote><p>Langkah selanjutnya adalah memanggil api tersebut. Di sini kita menggunakan fungsi file_get_contents dan json_decode. Ini contohnya :</p><blockquote>$json = file_get_contents($url);<br>$json = json_decode($json);</blockquote><p>Sekarang kita dapat memilih data yang akan kita gunakan/analisa. Apakah anda melihat lingkaran di gambar kedua? Itu adalah petunjuk dalam menggunakan datanya. Lingkaran nomor 1 adalah nomor array dari data induk. Lingkaran nomor 2 adalah nama variabel. Contoh, jika kita mau mencetak/memunculkan nilai dari variabel <em>selisih_konfirmasi_dalam_perawatan</em> di <em>kabupatenkota</em> “ACEH SELATAN”, yang adalah array pertama, kodenya akan seperti ini :</p><blockquote>echo $json[0]-&gt;selisih_konfirmasi_dalam_perawatan;</blockquote><p>Sederhana kan? Sekarang kita dapat menggunakan datanya sesuka kita. Seperti membuat tren penambahan kasus penambahan positif, tingkat kesembuhan di semua daerah, dll. Kita dapat menggunakan fungsi loop supaya kita tidak perlu menambahkan nomor array di setiap data jika ingin mengambil semua data. Ok, cukup untuk hari ini, semoga ini dapat membantu anda. Terima kasih telah mampir, dan sampai jumpa…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5e50771d2e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Syslog and kern.log Problem in Ubuntu]]></title>
            <link>https://medium.com/@dhanza/syslog-and-kern-log-problem-in-ubuntu-4b8f64fa6d62?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b8f64fa6d62</guid>
            <category><![CDATA[xubuntu]]></category>
            <category><![CDATA[syslog]]></category>
            <category><![CDATA[kernlog]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[size]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Mon, 06 Sep 2021 12:15:49 GMT</pubDate>
            <atom:updated>2021-09-06T12:15:49.337Z</atom:updated>
            <content:encoded><![CDATA[<p>As I stated before in my previous post, so now I will tell what happened in my laptop. When I tried the xubuntu in my dell inspiron 11, after it run maybe an hour, the fan rotated very fast and then the system not responding at all. So I have to do hard shutdown. I thought the problem will be solved after reboot, but it turned out the problem still exist. I tried to reinstalled the xubuntu hoping it will solved the problem, but after a few hours the problem happened again.</p><p>After that I tried to search some solutions from internet. The first error thing that make me curious was a message that contain sentence “ERROR CPU pipe A FIFO underrun”. There was a solution to solve the problem by deactivate c-state in BIOS. But it turned out no effect, still didn’t solved the problem. After that I searched with another keyword, like “ubuntu boot problem dell”. Some pages gave solution to do fsck in recovery mode. But when I entered recovery mode, it showed that the partition to be read-only mode.</p><p>What should I did? I tried almost every options provided in recovery mode. But the problem still existed. After that I entered the xubuntu in terminal recovery mode. I checked the partition size, and turned out that / or root partition was full, wow. And then I searched what file that make the partition full. After looked some folders, finally I founded two files that make me curious. Yes, it was syslog and kern.log in /var/log folder. The sizes are so big, 25 GB in each file.</p><p>After that I emptied those two files, and after the laptop rebooted, the problem solved, I can entered the system with GUI. But the problem didn’t end, when I checked those two files size, it growed so fast. I tried to make a bash command to emptied those files every 30 minutes or an hour. But I thought that didn’t solve the problem. So I tried to open those files to see what process that make the size growed so fast. Some lines stated the same sentences that contain “pcieport 0000:00:1c.0: [ 0] RxErr”.</p><p>When I checked the internet, theres some solution in this problem. I found at least three solutions :</p><ul><li>set logrotate (I didn’t try this).</li><li>add “pci=noaer” in GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub configuration and then do update-grub (I did try this, but the sized still growed so fast).</li><li>add “pci=nomsi” after second solution then do update-grub (it worked after did the solution number 2 and 3).</li></ul><p>Finally, after rebooted the system, the problem solved. Those files size didn’t grow so fast, and the xubuntu became stable. I tried to use zoom, wps office, the performance still stable, even until I write this post. That’s the story, what the problem I found and what the solution. Hopely it can help the others. The last, happy reading…</p><p>Seperti yang disebut pada postingan sebelumnya, sekarang saya mau menceritakan apa yang terjadi pada laptop saya. Ketika saya mencoba xubuntu di dell inspiron 11, setelah berjalan sekitar satu jam, kipasnya berputar sangat kencang dan kemudian sistemnya tidak merespon sama sekali. Jadi saya harus melakukan shutdown paksa. Saya pikir masalahnya akan selesai setelah dinyalakan ulang, ternyata masalahnya tetap ada. Saya mencoba untuk menginstall ulang xubuntunya dengan harapan akan menyelesaikan masalah, tapi setelah beberapa jam masalahnya terjadi lagi.</p><p>Setelah itu saya mencoba mencari beberapa solusi dari internet. Error pertama yang membuat saya penasaran adalah pesan yang mengandung kalimat “ERROR CPU pipe A FIFO underrun”. Ada satu solusi untuk mengatasi masalah ini dengan menonaktifkan c-state di BIOS. Tapi hasilnya tidak ada, masih belum menyelesaikan masalah. Kemudian saya mencari dengan kata kunci yang berbeda, seperti “ubuntu boot problem dell”. Beberapa halaman memberikan solusi untuk melakukan fsck pada mode recovery. Tapi ketika saya masuk ke mode recovery, terlihat kalau partisinya menjadi mode read-only.</p><p>Apa yang harus saya lakukan? Hampir semua pilihan yang tersedia di mode recovery saya coba. Tapi masalahnya masih ada. Setelah itu saya masuk ke xubuntu dalam mode terminal recovery. Saya mengecek ukuran partisi, ternyata / atau partisi rootnya penuh. Kemudian saya mencari file apa yang membuat partisinya penuh. Setelah mencari di beberapa folder, akhirnya saya menemukan file yang membuat saya penasaran. Ya, file syslog dan kern.log di folder /var/log. Ukurannya sangat besar, 25 GB setiap filenya.</p><p>Kemudian saya mengosongkan kedua file tersebut, kemudian setelah laptopnya direstart, masalah selesai, saya bisa masuk sistem dengan GUI. Tapi masalah tidak selesai, ketika saya mengecek kedua file itu, ukurannya membesar sangat cepat. Saya mencoba untuk membuat perintah bash untuk mengosongkan file tersebut setiap 30 menit atau 1 jam. Tapi saya pikir itu tidak menyelesaikan masalah. Jadi saya mencoba membuka file itu untuk melihat proses apa yang membuat ukurannya membesar dengan cepat. Beberapa baris menyatakan kalimat yang sama yang mengandung “pcieport 0000:00:1c.0: [ 0] RxErr”.</p><p>Ketika melihat di internet, ada beberapa solusi untuk masalah ini. Saya menemukan setidaknya 3 solusi :</p><ul><li>mengatur logrotate (saya tidak mencobanya).</li><li>menambahkan “pci=noaer” di baris GRUB_CMDLINE_LINUX_DEFAULT di konfigurasi /etc/default/grub kemudian melakukan update-grub (saya mencoba solusi ini, tapi ukurannya masih membesar dengan cepat).</li><li>menambahkan “pci=nomsi” setelah solusi kedua kemudian lakukan update-grub (berhasil setelah melakukan solusi nomor 2 dan 3).</li></ul><p>Akhirnya, setelah merestart sistem, masalahnya teratasi. Ukuran file tersebut tidak membesar dengan cepat, dan xubuntu menjadi stabil. Saya mencoba melakukan zoom, wps office, performanya tetap stabil, bahkan sampai saya menulis postingan ini. Itu ceritanya, apa masalah yang saya temukan dan apa solusinya. Semoga dapat membantu yang lain. Terakhir, selamat membaca…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b8f64fa6d62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Xubuntu in Dell Inspiron 11]]></title>
            <link>https://medium.com/@dhanza/install-xubuntu-in-dell-inspiron-11-95cc5b993b29?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/95cc5b993b29</guid>
            <category><![CDATA[dell]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[inspiron-11]]></category>
            <category><![CDATA[xubuntu]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Mon, 06 Sep 2021 03:54:07 GMT</pubDate>
            <atom:updated>2021-09-06T03:56:36.156Z</atom:updated>
            <content:encoded><![CDATA[<p>Yesterday I got a new laptop (but old) from my new office, actually I got lent because I have returned my old office laptop a few times ago. Now I got Dell Inspiron 11–3158 laptop, producted around six years ago. You can read the specification in <a href="https://downloads.dell.com/manuals/all-products/esuprt_laptop/esuprt_inspiron_laptop/inspiron-11-3158-laptop_reference%20guide_en-us.pdf">this link</a>. What I first thought is about this laptop performance. Almost certain that office laptop are installed with Windows operating system, and the version almost certain Windows 10. I thought this will be slow, because it only has 4 GB RAM. Even with 8 GB RAM my friend still thought slow, what do you expect with 4 GB RAM, that’s what I thought.</p><p>And then I got an idea to install linux. Because I still comfy with ubuntu family, my choice is either xubuntu or elementary OS. After a few consideration, my choice is fell on xubuntu 20.04 because of the stability and long support. After the partition is prepared, the installation process is on. The installation processed with graphical mode due to it’s easiess. It’s not take a long time until finished. And now it’s time to try the result.</p><p>First impression, it’s simple. Because it use XFCE, so it’s lighter than using unity, gnome or KDE. Next is to add a few applications that I need to work. Zoom (mandatory application in this pandemic era), wps (old habit with my old laptop, eventhough there is libre office) and Albert (spotlight alternative in macintosh). In normal condition, it has stabil performance. It’s lighter then windows operating system that have pre installed (I choose to do dual booting). Eventhough it’s not apple to apple comparison, because I only tried windows just to booting and make the partition.</p><p>In abnormal condition (this will be discussed in the next post), it makes me uncomfortable. Xubuntu turned out slowing down, it’s not responded my requests. Even it failed to enter Root mode from terminal. And then the fan turned out rotate very fast so I have to do hard shutdown. I have tried to reinstall the xubuntu, but it’s not solved the problem.</p><p>That’s a few impression when trying this operating system. Still not perfect, but the problem have been resolved. When this post being write, the performance still stable. The problem and the solution will be discussed in the next post. Finally, happy reading…</p><p>— — — — — — — — — — — — — — — — — — — — — — — —</p><p>Kemarin saya mendapatkan laptop baru (tapi lama) dari kantor baru, tapi lebih tepatnya sih minjam karena laptop di kantor lama sudah dikembalikan sejak beberapa waktu yang lalu. Dan saya mendapatkan laptop Dell Inspiron 11–3158, sebuah laptop yang diproduksi kurang lebih 6 tahun yang lalu. Untuk spesifikasi detil dari laptop tersebut dapat dilihat di <a href="https://downloads.dell.com/manuals/all-products/esuprt_laptop/esuprt_inspiron_laptop/inspiron-11-3158-laptop_reference%20guide_en-us.pdf">pranala ini</a>. Hal yang pertama terpikirkan adalah performa dari laptop ini. Hampir pasti dari semua laptop kantor sudah jelas terpasang sistem operasi windows, dan hampir pasti versinya adalah windows 10. Pikiran saya pasti laptop ini akan terasa lambat, karena ramnya hanya dibekali 4 GB. Yang ram 8 GB saja teman saya saja merasa lambat, apalagi 4 GB, itu yang ada di pikiran saya.</p><p>Kemudian terlintas di pikiran saya untuk memasang linux di laptop tersebut. Karena masih nyaman dengan keluarga ubuntu, pilihan yang terlintas adalah xubuntu atau elementary os. Setelah beberapa pertimbangan, akhirnya pilihan jatuh ke xubuntu dengan versi 20.04 karena pertimbangan stabilitas dan support yang panjang. Setelah mempersiapkan partisinya, proses penginstallan langsung dimulai. Proses penginstallan menggunakan metode grafis supaya lebih mudah. Tidak berapa lama kemudian proses penginstallan selesai. Kemudian tibalah waktunya ujicoba.</p><p>Kesan pertama, simpel ya. Karena menggunakan XFCE, jelas performanya lebih ringan dibanding unity, gnome atau KDE. Selanjutnya adalah menambahkan beberapa aplikasi yang diperlukan untuk bekerja. Zoom (aplikasi wajib yang harus ada di saat pandemi seperti sekarang), wps (kebiasaan di laptop lama, walaupun sudah ada libreoffice) dan Albert (pengganti Spotlight di macintosh). Dalam kondisi normal, performanya lumayan stabil. Lebih ringan dibandingkan dengan sistem operasi windows yang masih terpasang (saya pake dual booting). Walaupun perbandingannya tidak terlalu apple to apple ya, karena hanya dicoba booting kemudian mengubah partisi saja di windows.</p><p>Tapi dalam kondisi tidak normal (ini akan dibahas di tulisan selanjutnya) ternyata sempet membuat tidak nyaman. Xubuntu tiba-tiba berjalan lambat, untuk merespon perintah saja lama. Bahkan untuk masuk ke mode root dari terminal saja tidak bisa. Kemudian kipas laptop berputar sangat kencang, sehingga mau tidak mau harus dilakukan shutdown paksa. Sempat dicoba install ulang xubuntunya, namun ternyata tidak juga mengatasi masalahnya.</p><p>Itu sekilas kesan awal saat mencoba xubuntu di dell inspiron 11. Masih belum sempurna, tapi sepertinya masalah yang timbul sudah bisa diatasi. Sampai dengan tulisan ini dibuat laptop masih stabil digunakan. Untuk detil masalah dan solusinya akan dibahas di tulisan selanjutnya. Akhir kata, selamat membaca…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95cc5b993b29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hash File Checking in Windows]]></title>
            <link>https://medium.com/@dhanza/hash-file-checking-in-windows-8dcdeb637a19?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8dcdeb637a19</guid>
            <category><![CDATA[file-verification]]></category>
            <category><![CDATA[file-hash]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Mon, 25 Jan 2021 06:21:25 GMT</pubDate>
            <atom:updated>2021-09-25T08:00:40.976Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, did you ever get a corrupted file before? Maybe everybody have this experience. It can happen because it didn’t completely copied or downloaded. Sometimes it makes us feel annoyed.</p><p>As a way to prevent the file being corrupted after the file being copied or downloaded is to compare it’s size, eventhough it’s not no corrupted guaranted. It’s still a chance the file being corrupted even it has the same size with the original file. Another way is to compare hashfile before and after the file is copied or downloaded.</p><p>As an example is when we download a linux iso file. Beside the iso file, there are often text file that contain combined character between alphabet and numeric. That file are hash file of the iso file. The hash file is used for file verification between the original file and the copied/downloded file.</p><p>There are several version of file verification using hash file, ex. sha1, sha256, sha512, md5, etc. The problem is how we use that file verification in Windows? Actually, I’m more familiar in using Linux than Windows.</p><p>In Linux there are already exist internal program that can use to verificate our file. Example, md5sum, sha1sum, sha256sum, etc. But what about in Windows? Maybe in the past I used to verificate my file using an additional program.</p><p>That’s my method in the past, but now what? It turns out that in Windows it’s already internal program that can use to verificate our file. The program name is certutil. Just like in Linux, certutil also run in command line mode in Command Prompt.</p><p>Now is how to run that command? Very easy, just open Command Prompt program, and then run this command :</p><blockquote>certutil -hashfile path_to_file type</blockquote><p>Example :</p><blockquote>certutil -hasfile ubuntu.iso sha256</blockquote><p>If you want verificate in another type, just change the type in the command line. Example, just change sha256 into md5 if you want to use md5 type or the other.</p><p>Easy isn’t it? So now you don’t have to use additional software just to verificate the file, just use Command Prompt. Finally, happy reading, and hopely can help who needs it…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8dcdeb637a19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multiplying Sansevieria]]></title>
            <link>https://medium.com/@dhanza/multiplying-sansevieria-a6685a338abd?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6685a338abd</guid>
            <category><![CDATA[sansevieria]]></category>
            <category><![CDATA[breeds]]></category>
            <category><![CDATA[plants]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 05:15:52 GMT</pubDate>
            <atom:updated>2021-09-25T08:02:23.865Z</atom:updated>
            <content:encoded><![CDATA[<p>Assalamu’alaikum, hello again, it’s been a while from my last post. And now I want to post something else beside computer, and it’s about plant. Yes, after this Covid-19 pandemic there is new habit that spread among people, gardening. Now people really likes to plan and take care of plants, especially decorative plants.</p><p>Actually this is not new hobby for me, because before this habit become trend in public, I’ve did it. One of my collection is Sansevieria, or “Lidah Mertua” in Indonesia. Lidah means tongue, and mertua means parent in law. I don’t know why it’s called like that, is it because the form is like tongue and it has a sharp edge, so it’s called with lidah mertua because it’s like parent in law tounge. parent in law stereotype in Indonesia is often speak sarcastic to daughter in law, even it can’t be generalization, so this jokes become the names of this plant, maybe.</p><p>Now back to the topic. Sansevieria is easy to breed. The main way to breed is by buds from the roots. In the beginning I have only two flower pot. But after that it’s multiplying maybe until around fifty. But now it’s already bought by someone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I5oDy5zBISjGH8LNpQAhKg@2x.jpeg" /></figure><p>New buds</p><p>And the second way is to breed with cuttings technique. In here we only need to cut the leaf, and then plug the leaf to soil or water. Wait until it grow roots from the leaf, aproximately around one month. After that a new buds will grow aproximately after around two or three months. After that we can separate the new buds from it’s parent. And the parent leaf can be used to grow another buds, so don’t throw away the parent leaf. And remember, don’t put to much water to the soil when you use cuttings technique, just watering when the soil dry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KOLG70IEf5BauxKMkze9Eg@2x.jpeg" /></figure><p>new buds from cuttings technique</p><p>Easy isn’t it? You only need patience, you don’t have to be master in agriculture to multiply this plant. Finally, hope this can be useful for all, and happy reading…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6685a338abd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup apache2, PHP + oci8 on Ubuntu 20.04]]></title>
            <link>https://medium.com/@dhanza/setup-apache2-php-oci8-on-ubuntu-20-04-d9e5b400f3fa?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9e5b400f3fa</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[oci8]]></category>
            <category><![CDATA[ubuntu-20-04]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[apache2]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 12:27:26 GMT</pubDate>
            <atom:updated>2021-09-07T13:07:12.855Z</atom:updated>
            <content:encoded><![CDATA[<h3>Setup apache2, PHP + oci8 on Ubuntu 20.04 [updated]</h3><p>Notes : I update step number 7 by adding new command before and adding oci number version in “pecl install oci8” command. The old ways seems doesn’t work since it requires version 8 above php.</p><p>Actually, I’ve wrote this <a href="https://dhanza.wordpress.com/2020/08/10/install-apache-php-oci-8-di-ubuntu-18-04/">article </a>in Indonesian on my personal blog. But now I’ll rewrite in English. In my Indonesian article, I used 18.04 version of ubuntu. That’s because I found a tutorial in that version, and It works on my server. But this week I tried to set up in 20.04.</p><p>I followed with the same steps as in 18.04, but of course with the version of apache2 and php as it’s provided in ubuntu repository. But I used the same version of oracle sdk and basic client, which is 12.2 version.</p><p>After we got all the components like apache2, php and the oracle client, now we follow the steps below :</p><ol><li>extract oracle instant client basic and sdk<br><em>unzip instantclient-basic-linux.x64–12.2.0.1.0.zip<br>unzip instantclient-sdk-linux.x64–12.2.0.1.0.zip</em></li><li>make a folder /opt/oracle, and then move the extracted folder there<br><em>mkdir /opt/oracle<br>mv instantclient_12_2 /opt/oracle/instantclient</em></li><li>change the ownership of folder<br><em>chown -R root:www-data /opt/oracle/instantclient</em></li><li>install dependencies needed for oracle installation<br><em>apt-get install php7.4-dev php-pear build-essential libaio1</em></li><li>make symbolic lynx for library needed for installation<br><em>ln -s /opt/oracle/instantclient/libclntsh.so.12.1 /opt/oracle/instantclient/libclntsh.so<br>ln -s /opt/oracle/instantclient/libocci.so.12.1 /opt/oracle/instantclient/libocci.so</em></li><li>add instantclient folder to ldconfig, and then update it<br><em>echo /opt/oracle/instantclient &gt; /etc/ld.so.conf.d/oracle-instantclient.conf</em><br><em>ldconfig</em></li><li>install oci8, and then enter this parameter when it requested<br><em>pecl channel-update pecl.php.net<br>pecl install oci8–2.2.0</em><br><em>instantclient,/opt/oracle/instantclient</em></li><li>add oci8 extension into php configuration<br><em>echo “ extension = oci8.so “ &gt;&gt; /etc/php/7.4/cli/php.ini<br>echo “ extension = oci8.so “ &gt;&gt; /etc/php/7.4/apache2/php.ini</em></li><li>and instantclient environment configuration<br><em>echo “LD_LIBRARY_PATH=\”/opt/oracle/instantclient\”” &gt;&gt; /etc/environment</em><br><em>echo “ORACLE_HOME=\”/opt/oracle/instantclient\”” &gt;&gt; /etc/environment<br>echo “LD_LIBRARY_PATH=\”/opt/oracle/instantclient\”” &gt;&gt; /etc/apache2/envvars</em><br><em>echo “ORACLE_HOME=\”/opt/oracle/instantclient\”” &gt;&gt; /etc/apache2/envvars</em></li><li>restart server</li><li>test the application with phpinfo script. if it shown like this picture below then the installation is success</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/0*6TTRVYqYi21NNsSW" /></figure><p>Ok, that’s all the steps for oci8 installation on 20.04 ubuntu. Hopely it can help anyone who needs this tutorial. Finally, happy reading…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9e5b400f3fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recovery Wordpress Password]]></title>
            <link>https://medium.com/@dhanza/recovery-wordpress-password-3eeac4b15c0f?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3eeac4b15c0f</guid>
            <category><![CDATA[lost-password]]></category>
            <category><![CDATA[experience]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Sat, 15 Jun 2019 14:57:39 GMT</pubDate>
            <atom:updated>2019-09-30T08:42:09.306Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi readers, even though I have decided to move into medium platform, but I still curious about my wordpress account. So, yesterday I tried again to login into my account. My first step were trying every password I ever used on all my account, but still didn’t work.</p><p>After that I tried forgot password feature with userid. And then I opened all my email accounts, but there were no email from wordpress. And then I tried again forgot password feature, but in this one use email address, not userid anymore.</p><p>My first three attempted with my three email account didn’t work, wordpress didn’t recognize my email. And then I tried with the fourth email, it looked work. But bad news, this email doesn’t exist, a fictive email, wew…</p><p>After tooked a few minutes, I decided to make new email, yes, that email. After that I tried again forgot password with email address option. And voila, I got an email from wordpress. And yes, finally I can sign in into my wordpress account.</p><p>Lesson learnt, never use fictive email for all of your account, even it doesn’t need for verification. Maybe we will need it for other activity, for example when you forgot your password, just like me. Finally, happy reading…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3eeac4b15c0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Radio]]></title>
            <link>https://medium.com/@dhanza/radio-4b5817d0a424?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b5817d0a424</guid>
            <category><![CDATA[radio]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Fri, 14 Jun 2019 09:01:17 GMT</pubDate>
            <atom:updated>2019-06-14T09:01:17.234Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/337/0*jySea92ZmqWmYEMq.gif" /></figure><p>Hi readers, salam pembaca, apakah anda familiar dengan benda pada gambar di samping? Ya, radio. Yaitu alat yang dapat menerima transmisi gelombang data yang kemudian diubah menjadi suara.</p><p>Awalnya radio ini digunakan untuk pengiriman pesan dalam peperangan. Baru kemudian setelahnya digunakan untuk siaran komersil.</p><p>Sebelum televisi booming, radio adalah salah satu sarana hiburan yang cukup favorit. Tidak cuma lagu, talkshow dan berita saja yang diputar di radio, dulu bahkan ada juga sandiwara radio. Mungkin generasi 80an masih ingat ada sandiwara saur sepuh yang diputar di radio. Namun sepertinya lagu masih menjadi segmen favorit dari radio.</p><p>Di jaman yang makin mudah dalam mendengarkan lagu ini, baik dari banyaknya lagu dalam format mp3, streaming media seperti youtube, soundcloud, joox, tapi sepertinya radio tetap masih punya penggemarnya, termasuk saya.</p><p>Lagu yang diputer di radio seringnya lebih update dibanding koleksi pribadi. Namun, walaupun lagu-lagu yang diputer itu kadang sama dengan koleksi lagu yang saya punya, tapi entah kenapa rasanya lebih enak mendengarnya dari radio. Kalau menurut saya pribadi, karena ada sisi manusia di radio, yaitu adanya penyiar.</p><p>Di sela-sela lagu, ada percakapan antara penyiar kalau dua orang, kalau sendiripun setidaknya ada yang diomongkan dulu, tidak lagu melulu. Kemudian apa yang disampaikan kadang info-info terbaru, kadang cerita-cerita lucu/sedih/sukses dari pendengar yang dibacakan penyiar atau bahkan telpon langsung ke radio, yang itu nggak akan kita dapatkan dengan memutar koleksi lagu pribadi. Walaupun namanya juga siaran komersil, kadang ada aja iklannya yang kadang bikin kesel juga, wkwkwk…</p><p>Sekarang mendengarkan radio sudah sangat mudah, tidak terbatas daerah lagi. Dulu palingan kita hanya bisa mendengarkan siaran di sekitaran tempat kita tinggal, waktu di jogja ya sekitaran jogja saja. Dengan teknologi internet, sekarang siaran radio sudah tidak terbatas daerah lagi. Asalkan handphone kita bisa internet, kita sudah bisa streaming channel radio favorit kita. Jadi walaupun saya saat ini di aceh, masih sering mendengarkan radio jogja/jakarta. Seperti sekarang ini saya ngetik sambil streaming i-radio jakarta.</p><p>Jadi, seperti kata The Corrs, so listen to the radio…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b5817d0a424" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Post]]></title>
            <link>https://medium.com/@dhanza/first-post-25eefb14e490?source=rss-662099bed71f------2</link>
            <guid isPermaLink="false">https://medium.com/p/25eefb14e490</guid>
            <category><![CDATA[first-post]]></category>
            <category><![CDATA[dhanza]]></category>
            <dc:creator><![CDATA[.:dhanza:.]]></dc:creator>
            <pubDate>Thu, 13 Jun 2019 11:28:57 GMT</pubDate>
            <atom:updated>2019-06-13T11:28:57.509Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*shiqkdlFha6KpZKa.png" /></figure><p>Salam Pembaca, berjumpa dengan saya, dhanza (alias). Nickname yang saya gunakan di dua blog lama saya :<br>https://dhanza.wordpress.com (masih hidup),<br>http://blog.dhanza.web.id (sudah mati).</p><p>Sebelum menggunakan platform medium ini saya aktif di dua blog itu. Pertama saya aktif di dhanza.wordpress.com. Kemudian setelah berpenghasilan (Alhamdulillah) saya mencoba menggunakan host dan domain sendiri, blog.dhanza.web.id. Namun karena hostnya ada kendala, dan mau recovery juga susah, jadi diputuskan untuk tidak memperpanjang lagi, termasuk domainnya.</p><p>Kemudian saya balik lagi ke dhanza.wordpress.com. Namun itu tidak berlangsung lama. Berhubung saya tidak bisa login lagi ke akun wordpress, termasuk menggunakan fitur lupa passwordpun sampai sekarang saya masih belum bisa masuk ke akun wordpress saya. Jadi baru sempat posting satu artikel saja.</p><p>Oke, karena alasan di atas, sekarang saya mencoba berpindah menggunakan platform medium. Karena kalau masih menggunakan akun wordpress saya terpaksa menggunakan nickname lain, sementara di medium nickname ini belum terpakai. Selain itu ingin mencoba hal yang baru juga, sepertinya menarik menggunakan medium.</p><p>Oke pembaca, disinilah tempat saya curhat, berkeluh kesah, dan tempat mencurahkan isi kepala saya yang baru. Jangan bosan membaca tulisan saya. Sampai jumpa di tulisan berikutnya…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25eefb14e490" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>