Skip to content

Instantly share code, notes, and snippets.

@tomkeays
tomkeays / daily-hours_status-not-set.json
Created August 13, 2020 13:28
LibCal Daily Hours API examples
?({
"locations": [{
"lid": 585,
"name": "Library Hours:",
"category": "library",
"desc": "",
"url": "",
"contact": "",
"lat": "43.048366",
"long": "-76.090515",
@tomkeays
tomkeays / proxy-this.js
Created June 1, 2020 17:08
Proxy This & Unproxy This (bookmarklets)
javascript:pc=location.protocol;hn=location.hostname;hn=((pc==='http:')?hn:hn.replace(/\./g,'-'));pt=location.port;pt=(pt?':'+pt:pt);pn=location.pathname;sn=location.search;hs=location.hash;void(location.href=pc+'//0-'+hn+'.library.lemoyne.edu'+pt+pn+sn+hs);
Update banner navigation
- [x] LibGuides
- [x] LibCal
- [ ] LibraryH3lp FAQ
- [ ] WebPac
- [ ] 360 Link Journal Finder
- [ ] 360 Link Citation Linker
- [ ] Wordpress

ExLibris Alma & Primo Demonstration

October 2, 2019

  • Doug Gaudieri, Senior Account Manager
  • Jamie Kutzuba, Solutions Architect
  • Laura Nederhoff, Solutions Architect

Introductions & Alma Overview – Alma concepts and interface (1:00 – 1:25)

Alma Overview

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tomkeays
tomkeays / javascript-clipboard-copy
Created February 21, 2018 19:41
Copying text to clipboard with JavaScript
const copyToClipboard = str => {
const el = document.createElement('textarea'); // Create a <textarea> element
el.value = str; // Set its value to the string that you want copied
el.setAttribute('readonly', ''); // Make it readonly to be tamper-proof
el.style.position = 'absolute';
el.style.left = '-9999px'; // Move outside the screen to make it invisible
document.body.appendChild(el); // Append the <textarea> element to the HTML document
const selected =
document.getSelection().rangeCount > 0 // Check if there is any content selected previously
? document.getSelection().getRangeAt(0) // Store selection if found
@tomkeays
tomkeays / responsive-youtube.html
Created February 16, 2018 22:26
Responsive YouTube Snippet
<style>
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
@tomkeays
tomkeays / gist:eca3139a523b15ce387a9582a269e504
Created January 18, 2018 15:35
Preferences.sublime-settings--User
{
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "text.html"
}
],
"color_scheme": "Packages/Predawn/predawn.tmTheme",
"font_size": 12,
@tomkeays
tomkeays / supports-flex.js
Created January 8, 2016 23:31
JavaScript test to see if browser supports flexbox
// via Ethan Marcotte (10 December 2015)
// https://24ways.org/2015/putting-my-patterns-through-their-paces/
// If the browser passes the test, then a class of supports-flex gets applied to our html element.
var doc = document.body || document.documentElement;
var style = doc.style;
if ( style.webkitFlexWrap == '' ||
style.msFlexWrap == '' ||
style.flexWrap == '' ) {
@tomkeays
tomkeays / SassMeister-input.scss
Created March 13, 2014 00:44
Generated by SassMeister.com.
// ----
// Sass (v3.3.1)
// Compass (v1.0.0.alpha.18)
// ----
.mycss {
color: black;
&--btn {
color: blue;
}