Skip to content

Get file size in Node.js

To get file size in Node.js, the following code snippet would help. statSync() method from fs package synchronously returns information […]

Safe casting in Kotlin

In multiple cases you might’ve came across the situation where you have to cast a global variable and check the […]

Update all packages in Ubuntu

Updating packages in Ubuntu is sometimes needed to upgrade your Ubuntu to latest version and apply security updates. We can […]