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
atom_worker_1 | [wrapped: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'atom.object' doesn't exist]
atom_worker_1 | <!DOCTYPE html>
atom_worker_1 | <html>
atom_worker_1 | <head>
atom_worker_1 | <title>Error</title>
atom_worker_1 | <link rel="stylesheet" type="text/css" href="/atom/src/docker/../symfony/plugins/arDominionPlugin/css/main.css"/>
atom_worker_1 | </head>
atom_worker_1 | <body class="yui-skin-sam admin error">
atom_worker_1 |
atom_worker_1 | <div id="wrapper" class="container">
+---------+---------+
| user | host |
+---------+---------+
| root | % |
| redmine | %.%.%.% |
+---------+---------+
yeah yeah yeah yeah this is the neature of shit haaayayyayhhhahahllrlldlemergency why can't I see my shit that i s neinb written, this shit sucks man I gotta get so I can see the worrrrrdszzzzz. my name is butt. I am a butt. my butt is big. it is a big oloooollleo butt made of oleo. when I was a kid we had hydrox cookies man not this shit with the oreos, oreos, which are like total hjydrox imitations. like it's not even close. the hydrox are the real deal. but anyway I don't know why the hydrozxxx cookies ended up not being the cookies that were on the tables of everyone and why we think oreos are the shit now when really hyrxoxoxoxfoxoxo are the shit. I don't even remember where hydrox were made. and anyway I think that hydrox are coming back, or someone or some fucking hipster is bringing them back at some point. Man. Like there's all this shit, this false sort of nostalgiac shit on noawadys. Hydrox. Goddamn Moxie shit like th at. Coke with sugar. Pepsi in these sorts of twee freaking lirtttle cans that we
My title is Digital Scholarship Librarian, but my labour history is mostly systems administration, particularly Unix/Linux systems administration. At a university I worked at a while ago, the library actually controlled the domain name servers for the university. Domain names, if you're not familiar with them, are what allow you to type, say, "library.mcmaster.ca" in your browser and have it reach the right machine. Adding machines requires editing a text file that looks like this:
$ORIGIN example.com. ; designates the start of this zone file in the namespace
$TTL 1h ; default expiration time of all resource records without their own TTL value
example.com. IN SOA ns.example.com. username.example.com. ( 2007120710 1d 2h 4w 1h )
example.com. IN NS ns ; ns.example.com is a nameserver for example.com
example.com. IN NS ns.somewhere.example. ; ns.somewhere.example is a backup nameserver for example.com
example.com. IN MX 10 mail.example.com. ; mail.examp
newstring = ''
oldstring = 'Newton'
length_old = len(oldstring)
for char_index in range(length_old):
newstring = newstring + oldstring[length_old - char_index - 1]
print(newstring)
#!/usr/bin/env ruby
require 'twitter_ebooks'
include Ebooks
CONSUMER_KEY = ""
CONSUMER_SECRET = ""
OAUTH_TOKEN_SECRET = "" # oauth secret for ebooks account
ROBOT_ID = "ebooks" # Avoid infinite reply chains
TWITTER_USERNAME = "ebooks_username" # Ebooks account username
lightrist,
surner. MacReady rits for ice Nauls; overed bacry ond each from the hory
a for a test.
MACREADY
You wearing him recuelator reen have loven puser eloced colder. Sace, his we're winds
it.
EXT. COBPER -
Palmer's think grown wong. They down that
@jbfink
jbfink / gist:0e217dd0c03405c43960
Created December 18, 2015 16:41
javascript error console from usca shiny
Failed to load resource: the server responded with a status of 404 (Not Found)
sockjs-0.3.min.js:27 WebSocket connection to 'ws://geotwit.mcmaster.ca/usca/__sockjs__/979/kqrqffr9/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400
shiny-server.js:238 Fri Dec 18 2015 11:38:53 GMT-0500 (EST): Connection opened. http://geotwit.mcmaster.ca/usca/
shiny-server.js:224
Listening on http://127.0.0.1:46676
# ATTENTION: maps v3.0 has an updated 'world' map. #
# Many country borders and names have changed since 1990. #
# Type '?world' or 'news(package="maps")'. See README_v3. #
ClientException: Object PUT failed: https://olrc.scholarsportal.info:8080/v1/AUTH_f9a395126ac642d6b49f1e4c6d0ad094/pirate4_segments/pirate.tar_segments/0027 401 Unauthorized [first 60 chars of response] <html><h1>Unauthorized</h1><p>This server could not verify t
Process Process-29:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "build/bdist.linux-x86_64/egg/swiftslouploader/swiftslouploader.py", line 424, in process_segment
args["temp_directory"], segment_name), swift_destination, args)
File "build/bdist.linux-x86_64/egg/swiftslouploader/swiftslouploader.py", line 464, in upload_segment
In file included from ../fs-ext.cc:27:0:
../../nan/nan.h:324:27: error: redefinition of 'template<class T> v8::Local<T> Nan::imp::NanEnsureHandleOrPersistent(const v8::Local<T>&)'
NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
^
../../nan/nan.h:319:17: note: 'template<class T> v8::Handle<T> Nan::imp::NanEnsureHandleOrPersistent(v8::Handle<T>&)' previously declared here
v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
^
../../nan/nan.h:344:27: error: redefinition of 'template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(v8::Handle<T>&)'
NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {
^