Skip to content

Instantly share code, notes, and snippets.

View llaughlin's full-sized avatar

Logan Laughlin llaughlin

View GitHub Profile
@llaughlin
llaughlin / installasp5.sh
Last active August 29, 2015 14:20
ASP5 Linux
# Linux
# execute sudo <something> first before running this script
# https://github.com/aspnet/Home/blob/dev/GettingStartedDeb.md
# also http://docs.asp.net/en/latest/
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
#if ubuntu 12.04 - http://www.mono-project.com/docs/getting-started/install/linux/#older-ubuntu-releases-ubuntu-1210-and-1204
@llaughlin
llaughlin / tasks.json
Last active April 28, 2016 11:03
VSCode+Golang
{
"version": "0.1.0",
"command": "go",
"args": ["build"],
"isShellCommand": true,
"showOutput": "silent",
"problemMatcher": {
"owner": "go",
@llaughlin
llaughlin / .vimrc
Last active August 29, 2015 14:14
vimrc
set nocompatible " be iMproved
filetype off " must be off before Vundle has run
if !isdirectory(expand("~/.vim/bundle/Vundle.vim/.git"))
!git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
endif
set runtimepath+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@llaughlin
llaughlin / regex
Last active August 29, 2015 14:12
LogExpert Regex Columnizer for Hudl logs
(?<date>\d*-\d*-\d* \d*:\d*:\d*,\d*) (?<machine>\S*) \[(?<severity>.*)\] \[(?<logger>.*)\] \[(?<id>.*)\] \[(?<requestid>.*)\] (?<message>.*)
@llaughlin
llaughlin / Reports.md
Last active August 29, 2015 14:08
Football research on Reports
  • What reports are used the most/least? Reports

    Report Type Count Percent
    Rotation 2
    Formation 13
    Tendencies 20 0.05%
    ShotChart 24
    BoxScore 34
@llaughlin
llaughlin / constant-css-reload.js
Last active August 29, 2015 14:07
Chrome Snippet - Constantly reload page css
// css-constant-reload.js
// adapted from https://github.com/bgrins/devtools-snippets
// Removes then reloads all the CSS files in the current page every 5 seconds
(function () {
function insertAfter(newElement, targetElement) {
var parent = targetElement.parentNode;
if (parent.lastChild == targetElement) {
parent.appendChild(newElement);