Skip to content

Instantly share code, notes, and snippets.

View MrClement's full-sized avatar

Alex Clement MrClement

  • Morpheus Data
  • Denver, CO
View GitHub Profile
// ==UserScript==
// @name 7th Grade History 2017 Collection Highlighter
// @namespace http://kentdenver.org/
// @version 0.1
// @description Highlights local resources during book searches
// @author Alex Clement
// @match http://kentdenver.catalog.aspencat.info/Union/Search*
// @match http://kentdenver.catalog.aspencat.info/Search*
// @downloadURL https://gist.github.com/MrClement/bd64a25d89928d9edee48963a9e8589b/raw/7th-Grade-History.user.js
// @updateURL https://gist.github.com/MrClement/bd64a25d89928d9edee48963a9e8589b/raw/7th-Grade-History.user.js
@MrClement
MrClement / README.md
Last active September 13, 2016 19:17
Introduction to JavaScript

You will need Node.js to run this file.

To start: node intro.js

Keybase proof

I hereby claim:

  • I am MrClement on github.
  • I am alexclement (https://keybase.io/alexclement) on keybase.
  • I have a public key whose fingerprint is 44E5 1345 DE3E 6D95 F96D 3CBB 5456 01F3 0A56 E371

To claim this, I am signing this object:

@MrClement
MrClement / instructurecon.js
Created October 1, 2015 16:40 — forked from ryanflorence/instructurecon.js
instructurecon code
onPage(/\/courses\/\d+\/settings/, function() {
// do something
});
hasAnyRole('admin', function(hasRole) {
if (hasRole) {
// do something
} else {
// do something else
}
@MrClement
MrClement / gist:89ad7f53da515e43916e
Created August 23, 2015 01:33
Replace Carriage Returns on OSX
sed -i .bak 's/^M/\'$'\n/g' ip_email.txt