Skip to content

Instantly share code, notes, and snippets.

View kalanchoej's full-sized avatar

Justin Kalanchoe kalanchoej

  • The Washington Post
  • Leesburg, VA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kalanchoej on github.
  • I am kalanchoej (https://keybase.io/kalanchoej) on keybase.
  • I have a public key ASDRnLwyQZCxO2Om4Datl1_5bQlFSm6E9OR_JDS3QfLS0Ao

To claim this, I am signing this object:

@kalanchoej
kalanchoej / journal-asrs.js
Last active July 5, 2016 20:21 — forked from mreidsma/journal-asrs.js
Give folks a prompt before requesting journals from the ASRS
function asrsModal() {
// Create modal dialog for requesting journals
if($("#bib_items td:contains('Periodical')").size() > 0 && $("#bib_items td:contains('RooBot')").size() > 0) {
// This is a periodical.
var journalTitle = encodeURIComponent($("td.bibInfoLabel:contains('Title')").first().next("td").text());
journalTitle = journalTitle.replace(/\s/g, '+');
console.log(journalTitle);
var journalIssn = $("td.bibInfoLabel:contains('ISSN')").first().next("td").text();
@kalanchoej
kalanchoej / gist:1933758
Created February 28, 2012 17:13
gnutls installs after unlinking/relinking libtasn1
$ brew install libtasn1
$ brew unlink libtasn1
Unlinking /usr/local/Cellar/libtasn1/2.11... 4 links removed
$ brew link libtasn1
Linking /usr/local/Cellar/libtasn1/2.11... 44 symlinks created
$ brew install gnutls --use-clang
==> Downloading http://ftpmirror.gnu.org/gnutls/gnutls-2.12.16.tar.bz2
File already downloaded in /Users/.../Library/Caches/Homebrew
==> ./configure --disable-debug --disable-guile --disable-static --prefix=/usr/l
==> make install