Systems Developer at Penn State
[email protected] / [email protected]
Slides at: http://tinyurl.com/rdf4rdbms
// A very basic web server in node.js | |
// Stolen from: Node.js for Front-End Developers by Garann Means (p. 9-10) | |
var port = 8000; | |
var serverUrl = "127.0.0.1"; | |
var http = require("http"); | |
var path = require("path"); | |
var fs = require("fs"); | |
var checkMimeType = true; |
PS1="\w \$ " | |
alias ls='ls -G -la' | |
# Git aliases | |
alias st='git status' | |
alias br='git branch' | |
alias co='git checkout' | |
alias lg='git log' | |
alias df='git diff' |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>DPLA API demo</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
</head> | |
<body> | |
<h2>DPLA API Demo</h2> | |
<p>Enter your DPLA API and git <i>Go</i> to fetch images from the Getty Trust</p> |
Systems Developer at Penn State
[email protected] / [email protected]
Slides at: http://tinyurl.com/rdf4rdbms
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:
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.
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.
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. - http://www.oclc.org/research/activities/frbr.html
#!/bin/bash | |
# | |
# initd-example Node init.d | |
# | |
# chkconfig: 345 | |
# description: Script to start a coffee script application through forever | |
# processname: forever/coffeescript/node | |
# pidfile: /var/run/forever-initd-hectorcorrea.pid | |
# logfile: /var/run/forever-initd-hectorcorrea.log | |
# |
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.
// 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 | |
// https://github.com/sausheong/gwp | |
// | |
// 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) |
For installation with Docker see https://github.com/hectorcorrea/solr-for-newbies/blob/main/tutorial.md#installing-solr-for-the-first-time
For installation with the JDK see https://github.com/hectorcorrea/solr-for-newbies/blob/main/install_solr_jdk.md