Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Nate McMaster natemcmaster

💭
I may be slow to respond.
View GitHub Profile
@natemcmaster
natemcmaster / data.json
Created Feb 20, 2015
Simple Data struct
View data.json
{
"id": 1,
"name": "P90X EZ",
"steps":[
{
"activityId":284,
"name":"Pushup",
"measurements": [
{
"typeId": 1,
View gist:298a5b9e66e3c1cbe9de
Missing teams:
Jackson St.
Utah Valley St.
Southwest Missouri St.
Albany
Washington St.
Arkansas Pine Bluff
Toledo
Middle Tennessee St.
View README.md

Use the 2014.arff to test and all_season_games_plus_kenpom.arff for training (drop wscore and lscore)

View best-mlp.txt
=== Run information ===
Scheme:weka.classifiers.functions.MultilayerPerceptron -L 0.05 -M 0.9 -N 1000 -V 16 -S 0 -E 20 -H i
Relation: joined_team_states-weka.filters.unsupervised.attribute.Remove-R2
Instances: 839
Attributes: 77
WinLoss
home_Blocks
home_FieldGoals
home_FieldGoalsAttempted
View gist:fdeb91c9af3347d70025
var istanbul = require('browserify-istanbul');
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine', 'browserify'],
files: [{
pattern: 'server/js/**/*.js',
included: false
},
View sprite.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
.profile {
background: url('landen.png');
height: 100px;
width: 100px;
View gist:c98c5c7043c1d547b431
sudo apt-get install -y automake libtool curl
curl -sSL https://github.com/libuv/libuv/archive/v1.4.2.tar.gz | sudo tar zxfv - -C /usr/local/src
cd /usr/local/src/libuv-1.4.2
sudo sh autogen.sh
sudo ./configure
sudo make
sudo make install
sudo rm -rf /usr/local/src/libuv-1.4.2 && cd ~/
sudo ldconfig
View Program.cs
using System;
using System.Net.Http;
using System.IO;
using System.IO.Compression;
namespace testzip
{
class MainClass
{
public static void Main (string[] args)
View MyContext.cs
using Microsoft.Data.Entity;
namespace ConsoleApp1
{
public class MyContext : DbContext
{
public DbSet<Address> Addresses { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
View Nuget.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="AspNextVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" />
<add key="Npgsql" value="https://www.myget.org/F/npgsql-unstable/api/v2" />
</packageSources>
</configuration>
You can’t perform that action at this time.