Skip to content

Instantly share code, notes, and snippets.

View dmolesUC's full-sized avatar

David Moles dmolesUC

View GitHub Profile
@dmolesUC
dmolesUC / VertxThreadTest.java
Created November 16, 2017 23:26
Vert.x test example with thread debugging
/*
Output (with org.slf4j:slf4j-simple:1.7.25):
[main] INFO VertxThreadTest - setUp running
[main] INFO VertxThreadTest - deploying on port 53539
[main] INFO VertxThreadTest - Test status200 running
[vert.x-eventloop-thread-0] INFO VertxThreadTest - Handling request
[vert.x-eventloop-thread-2] INFO VertxThreadTest - Test status200 got response
[main] INFO VertxThreadTest - tearDown running
[main] INFO VertxThreadTest - setUp running
@dmolesUC
dmolesUC / neo4j-gd.md
Created July 6, 2017 20:57
Neo4J Graph Days: notes

username/password: neo4j/neo4j1

building blocks

  • nodes = nouns
  • relationships = verbs
    • no dangling relationships
  • properties = adjectives or adverbs
    • on nodes or relationships
  • strings, floats, longs, arrays, etc.
@dmolesUC
dmolesUC / hide-network-questions.js
Last active July 9, 2019 20:00
Tampermonkey script for hiding certain StackExchange sites from the "Hot Network Questions" section
// ==UserScript==
// @name Hide Hot Network Questions
// @namespace GreaseMonkeyStackOverflow
// @description Hides certain Hot Network Questions on Stack Overflow
// @include http://*.stackexchange.com/*
// @include http://stackoverflow.com/*
// @include http://*.stackoverflow.com/*
// @include http://*.askubuntu.com/*
// @include http://*.mathoverflow.com/*
// @include http://*.serverfault.com/*
@dmolesUC
dmolesUC / travis-ci.md
Last active August 18, 2016 19:50
Travis-CI lightning talk notes

Travis CI

  • developers check in early, check in often
  • automated build verifies every check-in

Why continuous integration

  • catch issues quickly

Fedora breakout session

Islandora

Islandora CLAW: Islandora + Fedora 4

  • in process of moving from F3 to F4, possibly Drupal 7 to Drupal 8
  • timeline?
    • Nick Ruest (York U):
  • four less-than-part-time developers
msg = "required #{__FILE__}, #{caller[0]}"
File.open('/tmp/require.log', 'a') { |f| f.puts(msg) }
puts msg
@dmolesUC
dmolesUC / stash-docker-notes.md
Last active January 9, 2016 01:03
Stash / Docker diary

Creating a Dockerfile for Stash development

Emulating the AWS development environment

It is possible to find Docker images for Amazon Linux, but because the RPM repositories for Amazon Linux are only available within AWS, they only work if the Docker host is also on AWS.

Instead, we're going to try use Centos, which