Skip to content

Instantly share code, notes, and snippets.

View seanreed1111's full-sized avatar

Sean Reed seanreed1111

View GitHub Profile
@seanreed1111
seanreed1111 / msi-gtx1060-ubuntu-18.04-deeplearning.md
Created February 8, 2019 19:38 — forked from hereismari/msi-gtx1060-ubuntu-18.04-deeplearning.md
Setting up a MSI laptop with GPU (gtx1060), Installing Ubuntu 18.04, CUDA, CDNN, Pytorch and TensorFlow
@seanreed1111
seanreed1111 / lm_example
Created August 16, 2017 17:19 — forked from yoavg/lm_example
Unreasonable Effectiveness of LMs
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# The unreasonable effectiveness of Character-level Language Models\n",
"## (and why RNNs are still cool)\n",
"\n",
"###[Yoav Goldberg](http://www.cs.biu.ac.il/~yogo)\n",
@seanreed1111
seanreed1111 / min-char-rnn.py
Created June 23, 2017 16:46 — 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)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://unpkg.com/@reactivex/rxjs@5.0.0-beta.7/dist/global/Rx.umd.js"></script>
<button id="start">Start</button>
@seanreed1111
seanreed1111 / introrx.md
Last active September 29, 2016 02:13 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@seanreed1111
seanreed1111 / contributor-covenant.md
Created September 3, 2016 14:19
Contributor covenant

http://contributor-covenant.org/version/1/4/

Contributor Covenant Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

Our Standards

class Album < ActiveRecord::Base
belongs_to :user
belongs_to :artist
validates :name, presence: true
validates :name, uniqueness: {scope: :artist_id,
message: "only one album of same name per artist"}
accepts_nested_attributes_for :artist
//
// BorderedView.swift
// Guinder
//
// Created by Andre Siviero on 02/07/15.
// Copyright (c) 2015 Resultate. All rights reserved.
// License: MIT
import Foundation
import UIKit
@seanreed1111
seanreed1111 / Strike9-Overview
Last active August 29, 2015 14:14
Thoughts on how multiplayer game should look
// class GameServer (seems perfect for elixir on second pass)
//controls generating a Game and a game id for each game
// log on players
// logging the players (1 or more players) under each gameID
// receive go signal from players that they are ready for the game to begin.
// return ALL the dice rolls for all turns for that gameID, so that no further communication will be required from gameserver
// this also lets the individual ios devices control all the processing
@seanreed1111
seanreed1111 / switch.html
Created June 4, 2014 21:44
Switch - Javascript Game - starting position
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Switch!</title>
</head>
<body>
<div id="board">
<canvas id="1" width=51 height=51 style="border-style:solid; border-width:2px;"></canvas>
<canvas id="2" width=51 height=51 style="border-style:solid; border-width:2px;"></canvas>