Skip to content

Instantly share code, notes, and snippets.

View redice44's full-sized avatar

Matt Thomson redice44

View GitHub Profile

Keybase proof

I hereby claim:

  • I am redice44 on github.
  • I am mthomson (https://keybase.io/mthomson) on keybase.
  • I have a public key ASAwIJVIHpQafiHuIxuAwk0LNFt7sQNusK6RSmLwGBdbvAo

To claim this, I am signing this object:

@redice44
redice44 / git-user-init.sh
Created May 8, 2018 13:51
git user setup
git config --global user.name "Matt Thomson"
git config --global user.email "mthomson.lee@gmail.com"
@redice44
redice44 / npm-init-default.sh
Created May 8, 2018 13:46
npm init defaults
npm config set init.author.name "Matt Thomson"
npm config set init.author.email "mthomson.lee@gmail.com"
npm config set init.license MIT
@redice44
redice44 / teacherName.user.js
Created March 26, 2018 15:16
Teacher Name user script with FIU Online settings
// ==UserScript==
// @name Canvas UI - Course: Show Teacher Name
// @namespace https://github.com/redice44
// @version 0.0.1
// @description Displays teacher name on course list
// @author Matt Thomson
// @match https://fiu.instructure.com/courses
// @run-at document-idle
// ==/UserScript==
@redice44
redice44 / debian-vm-setup.md
Last active March 31, 2018 20:50
My basic setup for a clean Debian 9 install.

Debian 9 VM Setup

Guest Additions

$ su
$ apt-get update
$ apt-get install build-essential module-assistant linux-headers-`uname -r`
#!/bin/bash
IP=$(curl -X GET https://redice-send.herokuapp.com/ | cat)
clear
echo "${IP}"
<div><img />
<script type="text/javascript">/*<![CDATA[*/
var start = new Date(2017, 10, 4); // Year, Month, Date. Month is offset by 1 ie 10 is November.
var end = new Date(2017, 10, 11);
var animatedImage = "";
var staticImage = "";
if (Date.now() >= start && Date.now() < end) {
document.currentScript.parentElement.querySelector("img").src = animatedImage;
} else {