Skip to content

Instantly share code, notes, and snippets.

View erinrwhite's full-sized avatar

Erin White erinrwhite

View GitHub Profile

Keybase proof

I hereby claim:

  • I am erinrwhite on github.
  • I am erinrwhite (https://keybase.io/erinrwhite) on keybase.
  • I have a public key ASBK5RLrjxdl5D80Diy-_GMTBNDthXriD1ItezZkMbY9Hwo

To claim this, I am signing this object:

@erinrwhite
erinrwhite / faq.html
Last active May 2, 2019 19:31
Scholars Compass Author FAQ
<div id="help">
<h2 id="faq-top" class="html-title"><macro page_faq></h2>
<br />
<ul>
<li><a href="#faq-1">I don't have electronic versions of old working papers that I'd like to include in the repository.
Is it okay to scan the printed page to a <acronym title="Portable Document Format">PDF</acronym> file?</a></li>
<li><a href="#faq-2">When I copy and paste abstracts into the Submit form, some formatted text reverts to plain text. What's going on?</a></li>
<li><a href="#faq-3">How do I include accents and special characters in the abstracts and titles?</a></li>
<li><a href="#faq-4">What should I do to make sure my documents are accessible?</a></li>
<li><a href="#faq-5">How do I revise a submission?</a></li>
@erinrwhite
erinrwhite / primo-my-account-illiad.js
Last active August 23, 2016 18:25
Add links to check ILLiad from Primo My Account
// add top tab link to Illiad
var illiadLink='<li class="EXLMyAccountTab" id="my-illiad"><a href="http://www.library.vcu.edu/illiad/">Log in to My ILLiad Account</a></li>';
$('.EXLMyAccountTabs').append(illiadLink);
// add link to Check Illiad in requests table
var illiadLink ='<a href="http://www.library.vcu.edu/illiad/">Check ILLiad</a>';
$('#requestList tbody tr').each(function( i ) {
var requestA = $(this).find('#request_type');
var requestLoc = $(this).find('#pickup_location_name');
var requestTrim = requestA.text().trim();
<!-- This adds the VCUHealth Logo to the header please do not remove! -->
<style type="text/css">
h1#s-lg-guide-name {
padding-left: 250px;
background: url('https://s3.amazonaws.com/libapps/accounts/95/images/vcu-health.png') no-repeat 0 10px;
background-size: 240px;
}
</style>
@erinrwhite
erinrwhite / primo-sign-in.css
Created August 25, 2015 13:41
Ex Libris Primo sign in link - custom CSS/JS - see in action at search.library.vcu.edu
.signin-link {
padding: 12px;
margin-bottom: 15px;
border-radius: 4px;
font-size: 14px;
font-weight: bold;
text-align: center;
background: #f8f4d6;
}
@erinrwhite
erinrwhite / primo-topbar.html
Created September 11, 2012 20:38
top banner for ex libris primo - for notices, links to feedback, etc. demo at http://www.people.vcu.edu/~erwhite/code/primo-topbar.html
<style type="text/css">
body {
padding-top:35px !important;
height: auto !important;
}
#header {
z-index:0;
}
#header-background {
position: absolute;
@erinrwhite
erinrwhite / startpage.html
Created July 25, 2012 14:45
browser start page with textarea and character count - displays your output in the dom below. demo: http://www.people.vcu.edu/~erwhite/code/startpage.html works great with a new tab homepage add-on a la https://addons.mozilla.org/en-US/firefox/addon/new-t
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>homepage</title>
<script language="Javascript">
function counterUpdate(opt_countedTextBox, opt_countBody) {
var countedTextBox = opt_countedTextBox ? opt_countedTextBox : "counttxt";
var countBody = opt_countBody ? opt_countBody : "countBody";
var field = document.getElementById(countedTextBox);
@erinrwhite
erinrwhite / pubmed-search.html
Created April 13, 2012 14:48
Search PubMed basic web form
<!-- Search PubMed using your institution's link resolver -->
<form method="get" action="http://www.ncbi.nlm.nih.gov/entrez">
<label for="term">Search <a href="http://www.ncbi.nlm.nih.gov/sites/entrez?otool=YOUROTOOL">PubMed</a>:</label>
<input type="hidden" name="db" value="PubMed">
<input type="hidden" name="otool" value="YOUROTOOL">
<input type="text" name="term" id="term" type="text" size="45" placeholder="search PubMed">
<input type="submit" value="Go">
</form>
@erinrwhite
erinrwhite / gist:945047
Created April 27, 2011 19:59 — forked from ljh/gist:940787
LibGuides/CampusGuides expand/collapse menu - VCU mods
<style type="text/css">
.column-wrapper {
overflow: hidden;
}
.column, .floatcols {
float: left;
width: 50%;
padding: 0;
margin: 0;
@erinrwhite
erinrwhite / NYT-LexisBookmarklet-MetaTags-Minified.js
Last active September 25, 2015 15:38 — forked from pberry/NYT-LexisnexisBookmarklet.js
Bookmarklets for accessing content behind the New York Times paywall using library subscriptions
(function(){var e="";if(document.getElementsByName("hdl_p")[0]){e=document.getElementsByName("hdl_p")[0].getAttribute("content")}if(e==""){if(document.getElementsByName("hdl")[0]){e=document.getElementsByName("hdl")[0].getAttribute("content")}}if(document.getElementsByName("DISPLAYDATE")[0]){var t=new Date(document.getElementsByName("DISPLAYDATE")[0].getAttribute("content"))}if(e&&t){var n=t.toString().substring(4,7);var r=t.getFullYear();e=e.replace(/\u2018|\u2019|\u201A|\uFFFD\u201c|\u201d|\u201e|\u0028|\u0029/g,"");var i="http://www.lexisnexis.com/us/lnacademic/api/version1/sr?shr=t&csi=6742&sr=HLEAD%28"+e+"%29+AND+DATE+IS+"+n+" "+r;window.open("http://proxy.library.vcu.edu/login?url="+i)}else{alert("This article hasn't been published in the print version of the NY Times and isn't accessible through VCU Libraries.")}})()