Skip to content

Instantly share code, notes, and snippets.

View huberf's full-sized avatar

Noah Huber-Feely huberf

View GitHub Profile
#!/usr/bin/perl
use strict; use warnings;
open(DNA_FILE, "<hu19_3UTR_test1.txt") or die "Couldn't open file file.txt, $!";
my $dna = "";
while(<DNA_FILE>){
$dna .= $_;
}
close(DNA_FILE);
@huberf
huberf / description.md
Created March 19, 2017 12:36
Garmin Fitness Watch for Nomie Tracking
  • First one must install an Connect IQ app onto the Garmin watch called Maker
  • To setup the app, one needs a IFTTT account.
  • Create an IFTTT flow, that is triggered by a maker request, and is actuated by sending a request to https://api.nomie.io/v2/push/[myKey]/action=track/label=yourTracker
  • Now, add the trigger word to the Maker app in the Garmin Connect app, and you are good to go!
@huberf
huberf / min-char-rnn.py
Created August 25, 2016 00:19 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)