The way to select a column in Sublime Text on Windows is by using + and then pressing the up or down arrow keys. You might get a surprise though if you try it in the form of you entire screen display flipping upside down. Some people don’t even know this is possible to do …

Someone sent you an invitation to an event as an .ics file, and you wish to add it to your Google calendar The first part is to import the file. To do this, click the + icon to the right of the “Add a friends calendar” located on the left side of the page. After …

Many people are not aware that since the early days of the simple notepad app that comes bundled with Windows, it had the following undocumented feature: If you enter the text .LOG as the first line of the file, then every time you open the file with notepad, it will append the current date and …

Switching between various development environments, to save restart time, I wanted to start various services from OS/X only if they were not already running. Brew does not have a method to know whether a particular service is running (AFAIK), so the following example code parses the list of services returned by brew services list and …

There are cryptographic hashes, whose output are very sensitive to any change in the input given, and then then there are hashes which try to convey similarity between given inputs. One such hash is TLSH (github page here) Here I make a quick demonstration on how simple it is to make TLSH generate a false …

When you start having too many cases in your switch statement, it might be worth looking into using a function lookup. This is possible in all languages where functions are first class citizens… <?php $post = "hello"; $info = "3.1415"; //———————————————————– // Version 1 – using a switch statement //———————————————————– switch ($post) { …

Well, the first thing to make sure is that Guest Additions are correctly installed. For example, on Ubuntu 16.04 guest on VirtualBox 5.0.32 r112930 I received a message that the kernel headers were not found (even though they did exist). This was fixed with: sudo apt-get install dkms Next problem was constantly receiving a protocol …