Systems Developer at Penn State
hjc14@psu.edu / hector@hectorcorrea.com
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' |
Systems Developer at Penn State
hjc14@psu.edu / hector@hectorcorrea.com
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 | |
| # |
| // 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) |
| # Parses a file with the output of `passenger-status` and outputs a | |
| # tab delimited list with the date and number of requests in queue | |
| # that `passenger-status` reported. | |
| # | |
| # The file `passenger_status.log` is created with via a cron job that | |
| # runs every X minutes as follows: | |
| # | |
| # /path/to/.gem/gems/passenger-5.1.12/bin/passenger-status >> ./logs/passenger_status.log | |
| # | |
| # |
| {{ define "content" }} | |
| <style> | |
| /* https://stackoverflow.com/a/22955585/446681 */ | |
| .input-group{ | |
| width: 100%; | |
| } | |
| .input-group-addon{ | |
| width: 15%; | |
| text-align: left; | |
| } |
| {{ define "content" }} | |
| <style> | |
| em { | |
| background: #e9e91966; | |
| } | |
| </style> | |
| <div class="row"> | |
| <div class="col-md-4"> | |
| <form action="/search" method="GET"> | |
| <input type="text" id="q" name="q" value="{{ .Q }}" placeholder="enter text" autofocus/> |