Installing Solr for the first time


To run Solr on your machine you need to have the Java Development Kit (JDK) installed. To verify if that the JDK is installed run the following command from the Terminal:

$ java --version

  # java version "9.0.1"
View server.go
// An example on how to generate a local SSL certificate in Go
// and serve HTTPS traffic with it.
// Code taken from the book Go Web Programming by Sau Sheong Chang
// Run with `--https` to serve traffic via HTTPS (it will create the certificate
// and private key files if they don't exist)
// Run with no parameters to serve traffic via HTTP (no certificates needed)
# Delete one Solr document by ID
curl "http://localhost:8080/solr/blacklight-core/update?commit=true" \
-H "Content-Type: text/xml" \
--data-binary '<delete><id>xyz</id></delete>'
# Delete ALL Solr documents
curl "http://localhost:8080/solr/blacklight-core/update?commit=true" \
-H "Content-Type: text/xml" \
--data-binary '<delete><query>*:*</query></delete>'
View main.go
// In this post
// Dave Cheney says that "there is no pass-by-reference in Go"
// but this snipet shows that there is.
// What am I missing?
package main
import (

node_modules in git

December 10 2011
By mikeal

One of the many things we have been forced to rethink in the world of node is how we handle dependencies in applications.

One of the big changes that came with 0.4.0 was support for node_modules. This change had major consequences. It elevated local modules, in a local directory, above modules installed globally. Along with npm changing its default install preference to local rather than global we've seen a nearly unanimous shift to local module installs that has made global installs somewhat distasteful.

# initd-example Node init.d
# chkconfig: 345
# description: Script to start a coffee script application through forever
# processname: forever/coffeescript/node
# pidfile: /var/run/
# logfile: /var/run/forever-initd-hectorcorrea.log

FRBR + Fedora + Inheritance

My notes from the Google Hangout organized by Christina Harlow (@cm_harlow) on 7/14/2015

Keep in mind that I captured this as the video call went on and I might have gotten some of it wrong. I'll update this page with a link to the recording once it becomes available.

What is FRBR?

FRBR (Functional Requirements for Bibliographic Records) is a 1998 recommendation of the International Federation of Library Associations and Institutions (IFLA) to restructure catalog databases to reflect the conceptual structure of information resources. -


This document is a summary of the basic differences between the different kind of containers that Linked Data Platform (LDP) supports.

LDP specifies three types of containers:

  1. Basic Container
  2. Direct Container
  3. Indirect Container.

This documents describes the differences between the three types of containers by showing what triples are added by an LDP Server when adding a new element to each kind of container.

In particular we assume we have a fictitious blog entry (/blog/entry1/) and we want to add a comment to it. We start by showing what happens if the blog entry is a Basic Container, then we show what happens if the blog entry was instead a Direct Container, and lastly if it was an Indirect Container.

View dpla.html
<!DOCTYPE html>
<title>DPLA API demo</title>
<script type="text/javascript" src=""></script>
<h2>DPLA API Demo</h2>
<p>Enter your DPLA API and git <i>Go</i> to fetch images from the Getty Trust</p>