Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Wilson Mar wilsonmar

I may be slow to respond.
View GitHub Profile
View gist:55694e74a06c82e83535c1350ce6a184
# This establishes permissions to S3 buckets for
variable "bucket_root_name" {
type = string
# Parameter in GoCD Pipeline:
variable "synack_pentest_bool" {
type = bool
wilsonmar /
Created Aug 18, 2019 — forked from squarism/
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
wilsonmar /
Created Mar 10, 2019
The things I have to do for keybase ...

Keybase proof

I hereby claim:

  • I am wilsonmar on github.
  • I am wilsonmar ( on keybase.
  • I have a public key ASDxj5xIICs5HUqp9uu3ehYrtA5Wk0tvtr_UrvBu_MuvUAo

To claim this, I am signing this object:

wilsonmar / hello.groovy
Last active Jun 29, 2017
Simple Hello Groovy script
View hello.groovy
// hello.groovy in
class Example {
static void main(String[] args) {
/* This program is the first program
This program shows how to display hello world */
println('Hello World');
wilsonmar / complete.groovy
Created Jun 24, 2017 — forked from larrycai/complete.groovy
CodingWithMe Learn JobDSL for Jenkins in 90 minutes
View complete.groovy
freeStyleJob("Hello3") {
logRotator(2, 30)
scm {
triggers {
scm('H/15 * * * *')
wrappers {
View graph-dag
# Draw a graphviz diagram of the Git DAG
# Labels consist of the short SHA1 and any refs.
# Unreachable commits (ignoring the reflog) will be marked with an asterisk and
# drawn with dashed lines.
# Largely stolen from
# As seen on Seth House's videos at
wilsonmar /
Created Dec 2, 2016 — forked from dpryden/
Example of a ClassLoader leak in Java
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.Path;
* Example demonstrating a ClassLoader leak.
* <p>To see it in action, copy this file to a temp directory somewhere,
View hello-world-index.js
var express = require('express');
var app = express();
app.get('/', function(res,req){
message: 'hello world'
app.listen(3000); // This establishes port 3000. You can use another port.
wilsonmar / pedantically_commented_playbook.yml
Created May 25, 2016 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
# ^^^ YAML documents must begin with the document separator "---"
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
wilsonmar /
Created Apr 17, 2016 - Try minimal-mistakes by populating with unit test data