Skip to content

Instantly share code, notes, and snippets.

View dotspencer's full-sized avatar

Spencer Smith dotspencer

View GitHub Profile
@dotspencer
dotspencer / deleteFigures.macro
Created October 8, 2015 14:47
Macro to delete all figures from a Word document
Sub FiguresDeleteAll()
Dim fig As InlineShape
For Each fig In ActiveDocument.InlineShapes
fig.Delete
Next fig
End Sub
@dotspencer
dotspencer / README.md
Last active February 12, 2016 18:38
Jump to Project by I#, Staff Export, Staff Page Standardization

EGI Userscripts

EGI

@dotspencer
dotspencer / inline-mp3-player.user.js
Last active December 10, 2015 16:18
Add to every link to an mp3 file on page a slim inline player
// ==UserScript==
// @name Inline Mp3 Player (Slim)
// @description Add to every link to an mp3 file on page a slim inline player with Play, Pause & Volume controllers.
// @namespace http://musicplayer.sourceforge.net/greasemonkey
// @include *
//by Fabricio Zuardi (http://www.hideout.com.br )
// ==/UserScript==
(function() {
// ==UserScript==
// @name Body Changer
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author Spencer Smith
// @match https://gist.github.com/spencerlarry/
// @include https://gist.github.com/*
// @grant none
// ==/UserScript==
@dotspencer
dotspencer / main.php
Last active December 16, 2015 22:19
Shortcode - All Project Statuses
$json = file_get_contents('./api/research.json');
$research = json_decode($json, true);
$progProjects = array();
$devProjects = array();
$comProjects = array();
foreach ($research as $project)
{
if($project[status] == 'In Progress')
{
@dotspencer
dotspencer / README.md
Last active January 22, 2016 19:16
"Campus Events" for EGI event page

Updating Campus Events

EGI

@dotspencer
dotspencer / README.md
Last active February 5, 2016 23:18
Project Page Format - Researchers

[auto_format] shortcode

EGI

@dotspencer
dotspencer / README.md
Last active January 22, 2016 19:15
Ask EGI index sidebars

Ask EGI sidebars

EGI

Excel
Count number of unique values in array.

[project_status] shortcode