I hereby claim:
- I am christierney on github.
- I am christierney (https://keybase.io/christierney) on keybase.
- I have a public key ASAa1y7lubJ2tHNVj6xhDVQtP4eq3IX3IJC0_ZqUpUe7Jgo
To claim this, I am signing this object:
| FROM ubuntu:bionic-20201119 | |
| RUN export DEBIAN_FRONTEND=noninteractive && \ | |
| apt-get update && \ | |
| apt-get install -y \ | |
| gcc && \ | |
| rm -rf /var/lib/apt/lists/* | |
| ARG USER_GID=1001 | |
| ARG USER_UID=1001 |
I hereby claim:
To claim this, I am signing this object:
| # nodeattr(1) completion | |
| # | |
| # Usage: add to ~/.bash_completion, or install in /etc/bash_completion.d/ | |
| # Requires: _upvar _get_comp_words_by_ref _filedir from bash-completion | |
| # Limitations: Successful completion of a query that opens with a quote causes | |
| # a closing quote to be appended automatically, which is annoying if you want | |
| # to add more attributes to the query. I think readline is doing this and I'm | |
| # not sure how to stop it. | |
| # List all nodes. |
| #!/usr/bin/env ruby | |
| # Launch, visit http://localhost:4567, authenticate with admin/secret, and wait. | |
| require 'sinatra' | |
| use Rack::Auth::Basic do |username, password| | |
| username == 'admin' && password == 'secret' | |
| end | |
| get '/' do |
| import groovy.json.* | |
| // A list of things we want to include in our json output. | |
| // Here it's a list of maps, but this could be a list of beans. | |
| things = [[id:2, name:'asdf'], [id:3, name:'foo'], [id:5, name:'bar']] | |
| // JsonBuilder is pretty cool! | |
| def json = new JsonBuilder() | |
| json { |