Linux Subsystem

Windows subsystem for Linux is of any use?

I was a long term user of Arch Linux. But recently I decided to switch to Windows. Why? Because I needed to do some media editing and I heard about WSL which promises a more comfortable life for developers on Windows. Installation So I installed a new SSD and started my Windows 10 installation process. Installation went smooth. Then I opened PowerShell to activate the feature and downloaded Ubuntu from the Windows Store. Finally, I launched bash and installed git, nodejs, npm, yarn, python, pip. I was excited to try it all out on Microsoft own Visual Studio Code as it is the only editor which officially supports WSL. ...

March 21, 2019 · 2 min · Vikas Kumar
Android Unlock

Prevent roommates/family members from unlocking your android phone with your fingerprint while you are asleep

Today fingerprint scanners are on almost every phone. It is very handy to have a fingerprint sensor to unlock your device. By the time you pull out a phone from your pocket to your eyes it is already unlocked. It also prevents snooping of your password or pattern from behind your shoulders or through a security camera. But one place where it fails to hide your sensitive chats and photos from your sneaky roommates or a nosy family member. They can easily use your finger to unlock your phone while you are asleep or too high. So how to prevent this?...

June 13, 2018 · 1 min · Vikas Kumar

How to use 'xclip in Gnome Wayland'

Since mainstream launch of Wayland with Gnome, people are facing problem in using xclip. Mainly because xclip is supposed to work with X11 Clipboard. But fortunately there is an option in xclip to overcome this propblem. Just use xclip -selection c instead of xclip. This option will just emulate the ctrl + shift + c action. For easier use you can setup the alias by adding following line in .bashrc or ....

February 3, 2018 · 1 min · Vikas Kumar
Whatsapp Bot

Build a Simple WhatsApp bot in Python using Selenium

Selenium is a web automation package available for all popular languages. To know more about selenium you can refer to official Selenium docs. Here, we will be making a simple WhatsApp bot using Python and Selenium which will reply the current time for every message. Installing Selenium So, first of all, we need to install Selenium for Python by running following command in terminal. pip install selenium Selenium also requires a driver to interface with the chosen browser. For Firefox, we need to install geckodriver. Without proper driver, you will get WebDriverException. Download latest geckodriver from Mozilla’s GitHub Repo and add to the path. ...

October 20, 2017 · 3 min · Vikas Kumar
VSCode

Some 'cool' things Visual Studio Code can do you may haven't known

Mircosoft’s Visual Studio Code has proven to be the dark horse of code editors. Don’t confuse yourself by seeing Microsoft as it is completely free, open source and MIT licensed. Even being late to the party, it has attracted enough users. The reason behind this is a perfect balance between speed, features, and hackability. ...

September 28, 2017 · 2 min · Vikas Kumar