Nikhil VijayanHow to download youtube videos using open source softwareUPDATE (April 7, 2024)1 min read·Oct 5, 2022----
Nikhil VijayanUsing Gauss summation to add numbers quickerGauss summation is essentially an easier way of adding linear numbers in a list without having to iterate over every element. I came across…2 min read·May 1, 2022----
Nikhil VijayanSending myself text messages with my calendar events for the dayI can be a bit scatterbrained sometimes, and I wanted an easy way to jog my memory about events in the day, so I made a quick and dirty…4 min read·Apr 9, 2022----
Nikhil VijayaninJavaScript in Plain EnglishRSA Encryption in Node.js with Code SamplesA guide on RSA Encryption in Node.js with code samples.4 min read·Feb 6, 2022----
Nikhil VijayanNormalise whitespace in a string using regexTo normalise a string with extra spaces, for eg:1 min read·Oct 19, 2021----
Nikhil VijayanGenerating a private RSA key for tests (Node.js)I had this use case of creating a private RSA key that is used only when the tests are run. Since the key doesn’t actually need to be valid…1 min read·Oct 19, 2021----
Nikhil VijayanA quick how to on encrypting things using Node’s crypto moduleI wanted to document something I had to do recently, which was to encrypt a password using a public key before sending it over the network.1 min read·Oct 1, 2021----
Nikhil VijayanEnforce that all keys in a map are a key of a certain type (Typescript)If you’re instantiating a new Map data structure1 min read·Sep 24, 2021----
Nikhil VijayanConvert an OpenSSH key into an RSA PKCS1 formatI’m documenting this since I ran into a couple of snags while trying to convert an open SSH key (that doesn’t play well with Node) into an…1 min read·Sep 15, 2021----
Nikhil VijayaninWebtipsOffline HTTP status code reference in the command lineI built a tool that lets me look up definitions for HTTP status codes offline and straight from within the command line.3 min read·Sep 6, 2021----