Skip to content

Instantly share code, notes, and snippets.

View jhorowitz's full-sized avatar

Josh Horowitz jhorowitz

View GitHub Profile
@jhorowitz
jhorowitz / reproduction.ts
Created November 28, 2017 19:51
Instana Issue Reproduction
import instana = require("instana-nodejs-sensor");
instana({
tracing: {
enabled: true,
},
serviceName: "Reproduction",
});
import * as opentracing from 'opentracing';
### Keybase proof
I hereby claim:
* I am jhorowitz on github.
* I am joshhorowitz (https://keybase.io/joshhorowitz) on keybase.
* I have a public key ASAgbqboQaxgRahRzBZoZpuoOS0XUEUacup7srlwVtESdwo
To claim this, I am signing this object:
@jhorowitz
jhorowitz / keybase.md
Created March 19, 2017 18:54
Keybase Verification

Keybase proof

I hereby claim:

  • I am jhorowitz on github.
  • I am joshhorowitz (https://keybase.io/joshhorowitz) on keybase.
  • I have a public key whose fingerprint is 6558 57C4 90AD 51A4 5A24 2441 8C25 85AF FC7F 43EA

To claim this, I am signing this object:

@jhorowitz
jhorowitz / coinSumExponentialRecursive.go
Last active February 14, 2016 17:14
Coin sum problem solved recursively in exponential time.
package main
import "fmt"
const target = 200
var denoms = [...]int{200, 100, 50, 20, 10, 5, 2, 1}
func main() {
fmt.Println(CoinSum(0, 0))
@jhorowitz
jhorowitz / coinSumDPRecursive.go
Last active February 14, 2016 17:12
Recursive solution for Coin Sum DP Problem
package main
import "fmt"
const target = 200
var denoms = [...]int{200, 100, 50, 20, 10, 5, 2, 1}
func main() {
fmt.Println(CoinSum(0, 0, make(map[string]int)))
package main
import (
"fmt"
"math/big"
"math"
"runtime"
)
var processors int