Skip to content

Instantly share code, notes, and snippets.

View bernardopacheco's full-sized avatar
:octocat:

Bernardo Pacheco bernardopacheco

:octocat:
View GitHub Profile
@thedeagler
thedeagler / fogcreek.js
Created February 17, 2016 20:08
Fog Creek Software posted a puzzle on their software developer jobs page which asks you to crack a poor hashing function.
// Originally found at: http://www.fogcreek.com/jobs/dev/
/*
========================================
Prompt
========================================
*/
// Find a 9 letter string of characters that contains only the letters
var values = 'acdegilmnoprstuw';
// such that badHash(the_string) is
@staltz
staltz / introrx.md
Last active April 21, 2025 04:15
The introduction to Reactive Programming you've been missing