Nikhil Vijayan·Oct 5, 2022How to download youtube videos using open source softwareUPDATE (April 7, 2024)
Nikhil Vijayan·May 1, 2022Using 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…
Nikhil Vijayan·Apr 9, 2022Sending 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…
InJavaScript in Plain EnglishbyNikhil Vijayan·Feb 6, 2022RSA Encryption in Node.js with Code SamplesA guide on RSA Encryption in Node.js with code samples.
Nikhil Vijayan·Oct 19, 2021Normalise whitespace in a string using regexTo normalise a string with extra spaces, for eg:
Nikhil Vijayan·Oct 19, 2021Generating 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…
Nikhil Vijayan·Oct 1, 2021A 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.
Nikhil Vijayan·Sep 24, 2021Enforce that all keys in a map are a key of a certain type (Typescript)If you’re instantiating a new Map data structure
Nikhil Vijayan·Sep 15, 2021Convert 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…
InWebtipsbyNikhil Vijayan·Sep 6, 2021Offline 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.