Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am malgorithms on github.
  • I am chris (https://keybase.io/chris) on keybase.
  • I have a public key is ASAAr-Pbu2u1XkOGphwRD-gDoLDYLPmtOuYwcuUw96bHGQo

To claim this, I am signing this object:

@malgorithms
malgorithms / index.js
Created April 28, 2014 21:12
requirebin sketch
var xhr = require('xhr')
// Add something to requirebin for printing results
var table = document.createElement("table");
document.body.appendChild(table);
//
// Look up a specific username on Keybase and append all their info
// into our display table....
@malgorithms
malgorithms / index.js
Created April 28, 2014 21:12
requirebin sketch
var xhr = require('xhr')
// Add something to requirebin for printing results
var table = document.createElement("table");
document.body.appendChild(table);
//
// Look up a specific username on Keybase and append all their info
// into our display table....
@malgorithms
malgorithms / index.js
Created April 28, 2014 19:19
requirebin sketch
var xhr = require('xhr')
// can search by twitter, github, keybase, etc.
var QUERY = 'malgorithms';
// Add something to requirebin for printing results
var table = document.createElement("table");
document.body.appendChild(table);
0 1393606577042 "running pw_to_login" sitewide-js.js:39
0 1393606577042 "about to pw_to_pwh" sitewide-js.js:42
0 1393606577043 "about to getsalt" sitewide-js.js:42
20 1393606577063 "done getting salt" sitewide-js.js:42
0 1393606577063 "about to scrypt_hash_passphrase" sitewide-js.js:42
11 1393606577075 Object {what: "pbkdf2 (pass 1)", total: 32, i: 0} sitewide-js.js:42
1 1393606577077 Object {what: "pbkdf2 (pass 1)", total: 32, i: 0} sitewide-js.js:42
1 1393606577078 Object {what: "pbkdf2 (pass 1)", total: 32, i: 1} sitewide-js.js:42
0 1393606577079 Object {what: "pbkdf2 (pass 1)", total: 32, i: 1} sitewide-js.js:42
1 1393606577081 Object {what: "pbkdf2 (pass 1)", total: 32, i: 2} sitewide-js.js:42

Keybase proof

I hereby claim:

  • I am malgorithms on github.
  • I am chris (https://keybase.io/chris) on keybase.
  • I have the public key with fingerprint 94AA 3A5B DBD4 0EA5 49CA  BAF9 FBC0 7D6A 9701 6CB3

To claim this, I am signing the following object:

@malgorithms
malgorithms / recommender.coffee
Created December 20, 2011 14:56
Fake Recommender class for CoffeeScript/tame discussion
```coffeescript
class Recommender
getRecommendations: (search_params, cb) ->
# Do 2 things at once:
# - check if we have a logged in user, get their info
# - fire off distributed requests for search queries
# ------------------------------------------------------------------------