March 9, 2017
March 1, 2017
The purpose of async/await functions are to simplify the behavior of using promises synchronously. Here are my notes on the subject.
March 1, 2017
Squashing commits is for suckers :p, heres a quick and dirty alternative.
February 22, 2017
A simple but reasonably feature rich object properties copy function.
February 20, 2017
When all else fails try using the REISUB magic SysRq key sequence.
February 15, 2017
A sort function that rearranges an array so every nth item is next to each other.
February 14, 2017
It’s running time is linear in the number of items and the difference between the maximum and minimum key values, so it is only suitable for direct use in situations where the variation in keys is not significantly greater than the number of items.
February 11, 2017
Based on the Fisher-Yates shuffle, the Knuth shuffle requires less overhead. FYS stimulates that you should remove a random item out of the original array and place it in a new array, and repeat while never fetching from the same location twice.
February 7, 2017
I needed to do this recently so I thought I would share my solution.
February 2, 2017
This idea poped into my head the other day so I thought I would bosh out a test.
Basically the idea was to take an input image (the private key) and some data. Encode the data into a copy of the image (the public key) by increasing or decreasing the value of each pixels color channel by the ASCII code of each character in the dataset.