I hereby claim:
- I am jkwaldrip on github.
- I am jkwaldrip82 (https://keybase.io/jkwaldrip82) on keybase.
- I have a public key ASAYbigLBQFDnMmGji7PL0nCvFI5QyTZGDae-lbPBEFJ1Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
jQuery("img").map( | |
function() { | |
return this.naturalWidth > 0 && this.naturalWidth !== "undefined" && this.complete; | |
}).get(); |
return document.readyState === 'complete'; |
var opacityCheck = function(selector) { | |
return window.getComputedStyle(document.querySelectorAll(selector)[0])["opacity"] === "1"; | |
} |
#!/usr/bin/env ruby | |
require 'open-uri' | |
require 'nokogiri' | |
base_url = 'http://tst.docstore.ole.kuali.org/sru?version=1.2&operation=searchRetrieve&query=' | |
query_str = 'title%3Dtest' | |
full_url = base_url + query_str | |
puts "Searching on #{query_str}" |
require 'open-uri' | |
require 'nokogiri' | |
base_url = 'http://tst.docstore.ole.kuali.org/sru?version=1.2&operation=searchRetrieve&query=' | |
query_str = 'title%3Dtest' | |
full_url = base_url + query_str | |
# Pull search query results into Nokogiri XML document. | |
noko = Nokogiri::XML(open(full_url)) | |
record_count = noko.xpath("//*[local-name()='record' and namespace-uri()='http://www.loc.gov/MARC21/slim']").count |
#!/usr/bin/env ruby | |
# | |
# Upload x paired Marc/EDI order files. Used for scale testing of Staff Upload function. | |
# | |
# Copyright 2005-2013 The Kuali Foundation | |
# | |
# Licensed under the Educational Community License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at: | |
# |
var d = new Date(); var da = d.getDate(); da = ( da < 10 ? "0" : "" ) + da; var mo = d.getMonth() + 1; mo = ( mo < 10 ? "0" : "" ) + mo; var yr = d.getFullYear(); mo + "-" + da + "-" + yr; |
var d = new Date(); var da = d.getDate(); da = ( da < 10 ? "0" : "" ) + da; var mo = d.getMonth() + 1; mo = ( mo < 10 ? "0" : "" ) + mo; var yr = d.getFullYear(); mo + "/" + da + "/" + yr; |
var count = 9; var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; var randomstring = ''; for (var i=0; i<count; i++) { var rnum = Math.floor(Math.random()*chars.length); randomstring += chars.substring(rnum,rnum+1); |