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
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
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
#!/bin/bash | |
# doaj2koha.sh | |
# | |
# Get the DOAJ (http://www.doaj.org/) data in CSV format here: | |
# http://www.doaj.org/doaj?func=csv | |
# Save the data as doaj.csv | |
# | |
# If you are only interested in some of the journals in DOAJ you | |
# can probably use the grep command to extract only the lines that |
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
<?php | |
require 'File/MARC.php'; | |
$xsl = new DOMDocument; | |
$xsl->load('http://www.loc.gov/standards/mods/v3/MARC21slim2MODS3-4.xsl'); | |
$xsltproc = new XSLTProcessor; | |
$xsltproc->importStylesheet($xsl); | |
$marcxml = new DOMDocument; |
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 Magnus Enger Libriotech | |
=head1 NAME | |
tab2marc.pl - Convert some tab-delimited data to MARCXML. | |
=head1 SYNOPSIS | |
Useful recipes for achieving certain tasks in OpenRefine
This page collects OpenRefine recipes, small workflows and code fragments that show you how to achieve specific things with OpenRefine.
Here are some examples of possible types of common string manipulation operations that you might encounter and how they can be achieved with the GREL-Functions. See also GREL String Functions.