Skip to content

Instantly share code, notes, and snippets.

View dontrebootme's full-sized avatar
📚
beep boop

Patrick O'Connor dontrebootme

📚
beep boop
View GitHub Profile
" remap leader from \ to ,
let mapleader = ","
call plug#begin()
Plug 'fatih/vim-go'
Plug 'fatih/molokai'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'hynek/vim-python-pep8-indent'
Plug 'elzr/vim-json'
Plug 'Yggdroot/indentLine'
Dear SCALE 14X speaker --
Please forgive the impersonal nature of the salutation. The SCALE 14X Publicity Committee staff is offering you an opportunity to have this Q-and-A interview appear on the SCALE 14X web page.
You'll notice below, too, that we grant you the option to ask and answer your own question. The purpose for this is to give you an opportunity to explain your talk a little more in depth, or to bring up any question about your talk you may want to elaborate upon.
Time, of course, is of the essence and we would greatly appreciate if you could get this back to us as quickly as possible. Conversely, this interview is completely optional, and if you do not wish to take advantage of this, please let us know.
Please fill in the answers after the A: and send it back at your earliest convenience.
# Query Consul DNS API for SRV records of healthy microbot services
➜ dig +short @10.7.0.15 -p 8600 microbot-web-microbot.service.nomad-intro.consul SRV
1 1 48909 docker2.node.nomad-intro.consul.
1 1 21888 docker3.node.nomad-intro.consul.
1 1 57285 docker1.node.nomad-intro.consul.
# Access one of the result via IP:port
Open browser to either:
10.7.0.21:57285
10.7.0.22:48909
Verifying that +dontrebootme is my blockchain ID. https://onename.com/dontrebootme
@dontrebootme
dontrebootme / microbot.nomad
Last active September 28, 2015 18:57
100 Microbot Containers on Hashicorp Nomad using default Vagrantfile
job "microbot" {
datacenters = ["dc1"]
update {
# Stagger updates every 10 seconds
stagger = "10s"
# Update a single task at a time
max_parallel = 10
}
group "demo" {

Keybase proof

I hereby claim:

  • I am dontrebootme on github.
  • I am dontrebootme (https://keybase.io/dontrebootme) on keybase.
  • I have a public key whose fingerprint is 3BC4 ACBF C739 82B7 0C62 21B9 8F12 6D41 B7F7 F979

To claim this, I am signing this object:

env:
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote.port=%{hiera('webs_jmx_port')} -Dcom.sun.management.jmxremote.rmi.port=%{hiera('webs_jmx_port')} -Dcom.sun.management.jmxremote.ssl=false"
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'profile::docker::containers': Detected in [hiera('webs_jmx_port')] on node cobalt.apl.corp.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Whereas:
env:
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote.port=%{hiera('webs_jmx_port')} -Dcom.sun.management.jmxremote.rmi.port=%{hiera('stor_jmx_port')} -Dcom.sun.management.jmxremote.ssl=false"
@dontrebootme
dontrebootme / time_bomb.cna
Last active November 14, 2018 00:59
Cobalt Strike: cortana-script for IST511 Lab
# Cortana Script - "Time Bomb"
# For IST 511 2013
#
# Created by Patrick O'Connor
debug(debug()| 256);
on ready {
when heartbeat_5m {
#kick off nmap/ping sweep
@dontrebootme
dontrebootme / .zshrc
Created September 11, 2012 19:06
zshrc root
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#ZSH_THEME="dpoggi"
ZSH_THEME="gallois"
@dontrebootme
dontrebootme / .zshrc
Created August 29, 2012 00:03
.zshrc
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="xiong-chiamiov-plus"
#ZSH_THEME="random"