All Stories

Principles of Object Oriented Programming

Here are the quick short notes to remember object oriented programming.

Understanding logo files format

If you work with logo and looking for logo for you company the you must store the logo format in vector files. Vector base file system can scale you log...

Enabling Hardware accelerated video decoding or GPU activity in electron app for Linux

As chrome or chromium browser does not support hardware accelerated video decoding for Linux OS. Though there is a pending PR in chromium repository to merge but google has no...

How to run any process on single core or set CPU affinity in Linux

Linux user can set or retrieve a process’s CPU affinity from terminal. If you want to limit some process/program to only user single or more core then task-set can do...

Best way to get the current date and time in JavaScript

If you are working with date and times then here are the best way to get dates and time with JS.

Best way to get the full URL or query string of current page in JavaScript.

Handling URL in javascript can be easy if you know following methods.