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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pentest.tf | |
# This establishes permissions to S3 buckets for | |
variable "bucket_root_name" { | |
type = string | |
} | |
# Parameter in GoCD Pipeline: | |
variable "synack_pentest_bool" { | |
type = bool |
I hereby claim:
- I am wilsonmar on github.
- I am wilsonmar (https://keybase.io/wilsonmar) on keybase.
- I have a public key ASDxj5xIICs5HUqp9uu3ehYrtA5Wk0tvtr_UrvBu_MuvUAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hello.groovy in https://github.com/wilsonmar/groovy-samples | |
class Example { | |
static void main(String[] args) { | |
/* This program is the first program | |
This program shows how to display hello world */ | |
println('Hello World'); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
freeStyleJob("Hello3") { | |
logRotator(2, 30) | |
scm { | |
git('https://github.com/larrycai/docker-images.git') | |
} | |
triggers { | |
scm('H/15 * * * *') | |
} | |
wrappers { | |
preBuildCleanup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# graph-dag.sh | |
# 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 https://git.wiki.kernel.org/index.php/ExampleScripts | |
# As seen on Seth House's videos at https://www.youtube.com/watch?v=AqDLz4yq_CI&index=1&list=PLA4B47B9B5F3691E3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.net.URLClassLoader; | |
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var app = express(); | |
app.get('/', function(res,req){ | |
res.json({ | |
message: 'hello world' | |
}); | |
}); | |
app.listen(3000); // This establishes port 3000. You can use another port. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# ^^^ 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This |
NewerOlder