View laserdisc_fix.plx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# --------------------------------------------------------------- | |
# Copyright © 2015 Merrimack Valley Library Consortium | |
# Jason Stephenson <jstephenson@mvlc.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# |
View add_translations.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- Mode: python; coding: utf-8 -*- | |
# --------------------------------------------------------------- | |
# Copyright © 2015 Jason J.A. Stephenson <jason@sigio.com> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or | |
# (at your option) any later version. | |
# |
View stoopid.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# Like all art, the interpretation is up to the viewer. | |
# Written 2012 by Jason Stephenson and Thomas Berezansky. | |
use strict; | |
use Data::Dumper; |
View acceptitem.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<NCIPMessage version="http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd" xmlns="http://www.niso.org/2008/ncip"> | |
<AcceptItem> | |
<InitiationHeader> | |
<FromAgencyId> | |
<AgencyId></AgencyId> | |
</FromAgencyId> | |
<ToAgencyId> | |
<AgencyId></AgencyId> | |
</ToAgencyId> |
View disbatcher.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# Copyright © 2013 Jason J.A. Stephenson <jason@sigio.com> | |
# | |
# disbatcher.pl is free software: you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation, either version 3 of the | |
# License, or (at your option) any later version. | |
# | |
# disbatcher.pl is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
View reingest_bibs.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- A simple SQL to "reingest" your bib records in Evergreen. | |
-- Feel free to use it however you like, though the easiest way is to | |
-- save it into a file and do psql -f filename. | |
DO $$ | |
DECLARE | |
flag BOOLEAN; | |
BEGIN | |
SELECT enabled INTO flag | |
FROM config.internal_flag |
View cperl_snippet.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Use cperl-mode by default | |
(defalias 'perl-mode 'cperl-mode) | |
;; cperl-mode doesn't have an add-style command, so we create our | |
;; style in a defun. | |
(defun evergreen-perl-style () | |
"Set cperl-mode for Evergreen coding guidelines." | |
(setq cperl-indent-level 4 | |
cperl-brace-offset 0 | |
cperl-continued-brace-offset 0 |
View real_bib_delete.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* real_bib_delete.sql | |
* Copyright (c) 2014 Bibliomation, Inc. | |
* Copyright (c) 2014 Jason Stephenson <jason@sigio.com> | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 2 of the License, or | |
* (at your option) any later version. | |
* |
View cherrylog.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- Mode: python; coding: utf-8 -*- | |
# --------------------------------------------------------------- | |
# Copyright © 2015 Jason J.A. Stephenson <jason@sigio.com> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or | |
# (at your option) any later version. | |
# |
View lookup_user.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# --------------------------------------------------------------- | |
# Copyright © 2019 Jason J.A. Stephenson <jason@sigio.com> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
OlderNewer