#!/usr/bin/env python
# coding=utf-8
import json, os, sys, io, re
from pprint import pprint
with'/Users/nick/Documents/dominiontabs/card_db/en_us/cards.json') as data_file:
cardDict = json.load(data_file)
with'/Users/nick/Documents/dominiontabs/card_db/en_us/card_groups.json') as data_file:
groupDict = json.load(data_file)
View download_and_convert_ia_skirmish.txt
This project has migrated to a Full GitHub repo at:
View YouTubePlayerViaTVJS.swift
// Created by Nick Vance on 12/4/15.
// Copyright © 2015 ToWatchList. All rights reserved.
import AVKit
import XCDYouTubeKit
import TVMLKit
class YTPlayerViewController: AVPlayerViewController, AVPlayerViewControllerDelegate {
#!/usr/bin/env python
def medfilt (x, k):
"""Apply a length-k median filter to a 1D array x.
Boundaries are extended by repeating endpoints.
import numpy as np
assert k % 2 == 1, "Median filter length must be odd."
assert x.ndim == 1, "Input must be one-dimensional."