Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am hwinkler on github.
  • I am hughw (https://keybase.io/hughw) on keybase.
  • I have a public key ASDD6pdrXS0y_n8QuzQ0FgRQONxb9wE8bwJkPbTrnH4slgo

To claim this, I am signing this object:

package main
import "fmt"
import "time"
func main() {
var a [1000]float64
var b [1000]float64
for i := 0; i < 1000; i++ {
a[i] = 1.234
function main() {
var a = [];
var b = [];
for (var i = 0; i < 1000; i++) {
a.push(1.234);
b.push(-4.321);
}
nothing to see here.
@hwinkler
hwinkler / pre-commit
Last active August 29, 2015 14:23 — forked from scottrabin/pre-commit
#!/usr/bin/env python
import subprocess
import sys
import os.path, time
def get_modified_time(file):
return time.ctime(os.path.getmtime(file))
def run_js_tools(files_str):
"""Iterate though list and run code quality tools"""