Adam K Dean

Posts in archive

Update all values in a MongoDB collection to a random range

Published 22 January 2020 in archive with tags mongodb , snippet The following query allows you to easily update all values in a collection of documents to a random number range, in this case, between 50 and 100. Continue reading …

Rewriting History in Git

Published 21 January 2020 in archive with tags git , scm Sometimes, there may be situations where you or a colleague of yours is in a rush, perhaps something bad happened in production and a quick patch is needed, or, in the case of a few days ago, a couple of syntax errors brought a halt to a few monitoring services. Continue reading …

Base64 decode explained

Published 20 January 2020 in archive with tags javascript , algorithms , binary , strings Originally posted on May 2nd, 2016 (more info) Continue reading …

Base64 encode explained

Published 20 January 2020 in archive with tags javascript , algorithms , binary , strings Originally posted on May 2nd, 2016 (more info) Continue reading …

Pass Request buffer through Redis

Published 20 January 2020 in archive with tags javascript , redis , express , snippet Originally posted on November 13th, 2017 (more info) Continue reading …



Newer Page 4 of 41 Older