I hereby claim:
- I am neilbartley on github.
- I am neilbartley (https://keybase.io/neilbartley) on keybase.
- I have a public key whose fingerprint is 2041 40FF BD8F 36BB 8349 1C6A B056 C472 21FA 83CE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# This script will mount /Users in the boot2docker VM using NFS (instead of the | |
# default vboxsf). It's probably not a good idea to run it while there are | |
# Docker containers running in boot2docker. | |
# | |
# Usage: sudo ./boot2docker-use-nfs.sh | |
# |
SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/BLAH/BLAH/BLAH" | |
SLACK_WEBHOOK_CHANNEL: "#events_test" |
class BespokeSlackbotService | |
NAME_AND_ICON = { | |
username: 'Bespoke Bot', | |
icon_emoji: ':bat:' | |
} | |
GOOD = 'good' | |
WARNING = 'warning' | |
DANGER = 'danger' |
Verifying that +neilbartley is my blockchain ID. https://onename.com/neilbartley
if Rails::VERSION::MINOR < 2 && Rails::VERSION::MAJOR >= 4 | |
module ActionView | |
module Helpers | |
module TagHelper | |
private | |
def tag_option(key, value, escape) | |
value = value.join(" ") if value.is_a?(Array) | |
value = ERB::Util.h(value) if escape | |
%(#{key}="#{value.gsub(/"/, '"'.freeze)}") |
Verifying that "neilbartley.id" is my Blockstack ID. https://onename.com/neilbartley |
version: '3.4' | |
services: | |
traefik: | |
# Use the apline image, its lovely and small - 22MB! | |
image: traefik:1.7.3-alpine | |
# This just exposes the ports to the host, the host firewall is configured separately | |
ports: | |
- "443:443" # Expose HTTPS port (and available externally) |
debug = false | |
logLevel = "ERROR" | |
defaultEntryPoints = ["https", "http"] | |
# https://docs.traefik.io/configuration/entrypoints/ | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] # https://docs.traefik.io/configuration/entrypoints/#redirect-http-to-https |
version: '3.4' | |
services: | |
hsb: | |
image: 123456789012.dkr.ecr.eu-west-1.amazonaws.com/hairy-slackbot:deploy-20181015-0935-e583d12 | |
command: bundle exec puma -p 3000 | |
# This links to the network created in the proxy (træfik) stack | |
networks: | |
- traefik_traefik |