In my latest tiny project, I explored Playwright — a browser automation tool which focuses on E2E testing. Just for the sake of exploring, I use it not as an E2E testing tool but rather a scheduled website monitoring. Basically I wanted to know whether the content I'm looking for is available or not. If … Continue reading Execute nodejs project via cron using nvm
Drag files in HTML and React without flickering
I needed something simple for my image-resizing project: the ability to drag files from the filesystem's OS to the browser window, which will read the list of files that are dropped. This sounds to be a simple problem with simple solutions, right? Well, not so fast. At first I thought there should be 2 main … Continue reading Drag files in HTML and React without flickering
Menyetop proses di port tertentu
Kamu terkadang lupa matiin proses di suatu port? Atau diskonek tiba-tiba dari sesi ssh padahal masih sedang menjalankan proses tertentu? Hal ini bisa membuat kamu tidak bisa menjalankan proses lain karena port-nya masih dikontrol proses sebelumnya. Untuk menyiasati hal ini, ternyata ada fuser dapat mematikan proses berdasarkan nomor port lho. Caranya begini: $ fuser -k … Continue reading Menyetop proses di port tertentu
Membuat aplikasi menubar di mac (cepet aja)
Pernahkah kamu ada di situasi ini: lagi didepan laptop, ada kejaran kerjaan tapi lagi jenuh dan pengen update berita terbaru? Biasanya alternatifnya adalah ngebuka hp atau ngebuka website di desktop. Untuk saya, kedua cara tersebut tidak efektif. Kalau membuka hp, seringkali malah otomatis melihat notifikasi dan habis waktu untuk membalas chat, buka instagram, lalu malah … Continue reading Membuat aplikasi menubar di mac (cepet aja)
Learning Machine Learning
On the first week of September, a friend of mine told me that Coursera with ITB was offering free courses. They did that to elevate Covid-19's effects for students. Though I'm not one anymore, but it turned out that my university still provides me with a student's email address. So I went ahead and explores … Continue reading Learning Machine Learning
Automatic backup on Linux webserver (part 1)
For the past 2 years or so, I've been using a Linux server from Virmach to host my websites. A VPS like this is a bit more difficult to maintain than the web server from your regular hosting company, although it's much more configurable. You can use it for multitudes of other purposes like setting … Continue reading Automatic backup on Linux webserver (part 1)
Learning web analytics
My journey to learn web analytics started after I read a book called Practical Google Analytics and Google Tag Manager for . Considering the nature of the book, I did not expect it to influence me a lot. But after a few pages in, it turned out that the world of web analytics is just so … Continue reading Learning web analytics