Code Snippets

Small knowledgebase of mostly useful and sometimes niche random snippets of code.

Random Hash Generator

Are you tired of writing and compiling functions just to generate some random hexadecimal SHA1 hashes for one-off IDs and dummy strings? Do you wish there was a faster and easier way to generate all these hashes without all the hassle? If so, then you will love this small component: a random hash generator in Node!

Open

Random Name Generator

The hardest part of any project, is coming up with a name. Feeling stuck? Don't waste time brainstorming - let this random generator do the work for you. Inspired by the random name generator for new Docker containers.

Open