I hereby claim:
- I am timmensch on github.
- I am timmensch (https://keybase.io/timmensch) on keybase.
- I have a public key ASCBoS_QiHMPU0cE8Mot3Bd-qPHogMfycz9Ujo-tmFLQigo
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # -*- mode: python -*- | |
| from __future__ import print_function, with_statement | |
| import sys | |
| import hashlib | |
| import tempfile | |
| import os | |
| import subprocess |
| /* | |
| Copyright 2017, Tim Mensch. | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to | |
| permit persons to whom the Software is furnished to do so, subject | |
| to the following conditions: |
| { | |
| repository(name: "MidiPlayerJS", owner: "TimMensch") { | |
| ref(qualifiedName:"tim") { | |
| name | |
| target { | |
| ... on Commit { | |
| author { | |
| name | |
| } | |
| blame(path:"package.json") { |
| // Easier to follow. Equally easy to test -- and with one fewer function in need of testing. | |
| const Promise = require("bluebird"); | |
| const { hashStringAsync } = Promise.promisifyAll(require("./lib/crypto")); | |
| const { logEventAsync } = Promise.promisifyAll(require("./lib/log")); | |
| const { openAsync } = Promise.promisifyAll(require("./lib/db")); | |
| const { TimeoutError, ValidationError, NotFoundError } = require("./errors"); | |
| const _openHandle = openAsync(); // FYI: Promises include memoization (caching) built into same API |
| // Easier to follow. Equally easy to test -- and with one fewer function in need of testing. | |
| import { userInfo } from "os"; | |
| const Promise = require("bluebird"); | |
| const { hashStringAsync } = Promise.promisifyAll(require("./lib/crypto")); | |
| const { logEventAsync } = Promise.promisifyAll(require("./lib/log")); | |
| const { openAsync } = Promise.promisifyAll(require("./lib/db")); | |
| const { TimeoutError, ValidationError, NotFoundError } = require("./errors"); |
I hereby claim:
To claim this, I am signing this object: