Skip to content

Instantly share code, notes, and snippets.

View natesholland's full-sized avatar

Nate Holland natesholland

View GitHub Profile

Keybase proof

I hereby claim:

  • I am natesholland on github.
  • I am natesholland (https://keybase.io/natesholland) on keybase.
  • I have a public key ASDl1lwm36cZfYzgNVH_Z4MKcQmnutQxPMaewYtUBydBnAo

To claim this, I am signing this object:

import panda as pd
import numpy as np
from sklearn.neighbors import NearestNeighbors
nbrs = NearestNeighbors(n_neighbors=2, algorithm='ball_tree').fit(X_tr)
data = pd.read_csv('~/Downloads/train.csv')
test = pd.read_csv('~/Downloads/test.csv')
@natesholland
natesholland / tag_script.rb
Last active March 15, 2016 19:26
Tagging Script
#!/usr/bin/ruby
BRANCH_REGEX = /(hotfix|patch|release)\/\d{4}_\d{2}_\d{2}/
def check_input(string, branch_name)
while true
puts string
input = gets
if input.start_with?('y') || input.start_with?('Y')
# the user wants to continue, exit loop.
@natesholland
natesholland / devise.ht.yml
Last active December 30, 2015 20:59
Devise Translations in Haitian Creole
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
en:
devise:
confirmations:
confirmed: "Nou reyisi kreye kont ou a."
send_instructions: "Talè, ou pral resevwa yon mesaj k ap esplike w kouman pou konfime kont ou a."
send_paranoid_instructions: "Si nou deja genyen adrès kouryèl ou, talè w ap resevwa yon mesaj k ap esplike w kouman pou konfime kont ou."
failure:
already_authenticated: "Ou deja konekte."