Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jbfink's full-sized avatar
💭
we have statuses now? is this AOL?

John Fink jbfink

💭
we have statuses now? is this AOL?
View GitHub Profile
@jbfink
jbfink / c4l-docker-outline.md
Created February 3, 2014 18:40
C4L Article
@jbfink
jbfink / c4l-docker-article.md
Created February 4, 2014 20:59
C4L-docker-article.md

Docker Article Title, by John Fink


If you were working in library IT in the last millenium, you'll likely remember what your server room looked like -- PC towers running Novell Netware attached to huge multi-disc CDROM arrays, refrigerator-sized Sun boxes, Digital AlphaServers running your library catalogue. To run most of the serious business of libraries, you needed serious equipment to go with them. Machine rooms were jumbled messes of shelves, wires and air conditioning units. With the advent of Linux running on microcomputers, these rooms got slightly smaller and maybe slightly less complex, but it wasn't until the early 2000s that the real sea change came for the server room -- the rapid adoption of easily implementable virtualization[^wikivirtualization], or the running of multiple discrete operating systems in a single machine.

Although virtualization in the modern sense actually happened as early as the 1960s with VMs for IBM System/360 machines[^registerhistory2] and both the 286 and 386 c

Script started on Mon 17 Feb 2014 10:51:13 AM CST
jbfink@smuggler:~/docker/docker-wordpress$ time docker build -t jbwordpress .
Uploading context 102.4 kB
 Step 1 : FROM ubuntu:latest
 ---> 8dbd9e392a96
 Step 2 : MAINTAINER John Fink <john.fink@gmail.com>
 ---> Using cache
 ---> 2040d7650d4d
 Step 3 : RUN apt-get update # Mon Jan 27 11:35:22 EST 2014
 ---> Using cache
Script started on Thu Apr 3 12:29:05 2014
# apt-get update
0% [Working] Ign http://mirror.csclub.uwaterloo.ca precise InRelease
25% [Working] Get:1 http://mirror.csclub.uwaterloo.ca precise Release.gpg [198 B]
100% [1 Release.gpg 198 B/198 B 100%] 100% [Working] Get:2 http://mirror.csclub.uwaterloo.ca precise Release [49.6 kB]
14% [2 Release 6542 B/49.6 kB 13%] 100% [Working] 100% [2 Release gpgv 49.6 kB] 100% [Working] Get:3 http://mirror.csclub.uwaterloo.ca precise/main amd64 Packages [1640 kB]
4% [3 Packages 12.0 kB/1640 kB 1%] 100% [Working] 100% [3 Packages gzip 0 B] Get:4 http://mirror.csclub.uwaterloo.ca precise/multiverse amd64 Packages [152 kB]
92% [3 Packa
@jbfink
jbfink / keybase.md
Created April 3, 2014 18:25
keybase.md

Keybase proof

I hereby claim:

  • I am jbfink on github.
  • I am jbfink (https://keybase.io/jbfink) on keybase.
  • I have a public key whose fingerprint is CCEA 262A 9629 95F9 AD34 703F 781B AAE3 0494 97E7

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
In file included from /usr/include/c++/4.6/unordered_set:35:0,
from src/json.h:7,
from src/color.h:7,
from src/output.h:4,
from src/action.cpp:2:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from src/color.h:7:0,
from src/output.h:4,
from src/action.cpp:2:
src/json.h:214:37: error: ‘unordered_set’ is not a member of ‘std’
#define VERSION "0.A-3136-gc0d0e16"
mkdir -p obj
g++ -DLOCALIZE -Wall -Wextra -g --std=c++11 -MMD -c src/action.cpp -o obj/action.o
In file included from /usr/include/c++/4.6/unordered_set:35:0,
from src/json.h:7,
from src/color.h:7,
from src/output.h:4,
from src/action.cpp:2:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from src/color.h:7:0,
{
"score": 14.450101,
"provider": "Digital Commonwealth",
"dataProvider": "Boston Public Library",
"isShownAt": "http://ark.digitalcommonwealth.org/ark:/50959/3t946454d",
"object": "http://ark.digitalcommonwealth.org/ark:/50959/3t946454d/thumbnail",
"originalRecord": {
"metadata": {
"mods:mods": {
"xmlns:mods": "http://www.loc.gov/mods/v3",
/home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/marc8/to_unicode.rb:163:in `rescue in transcode': MARC8, input byte offset 20, code set: 0x45, code point: 0xa0 (Encoding::InvalidByteSequenceError)
from /home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/marc8/to_unicode.rb:144:in `transcode'
from /home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/reader.rb:397:in `set_encoding'
from /home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/reader.rb:359:in `block (2 levels) in decode'
from /home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/reader.rb:358:in `each'
from /home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/reader.rb:358:in `block in decode'
from /home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/reader.rb:307:in `upto'
from /home/jbfink/.rbenv/versions/2.1.2/gemsets/ruby-marc/gems/marc-0.8.1/lib/marc/reader.rb