I hereby claim:
- I am atward on github.
- I am atward (https://keybase.io/atward) on keybase.
- I have a public key whose fingerprint is DCF7 1D93 BE2C E24D CC64 62AD 5795 E6B4 8B33 50F2
To claim this, I am signing this object:
module "http_lb" { | |
source = "GoogleCloudPlatform/lb-http/google" | |
version = "~> 4.5" | |
project = var.project_id | |
name = "demo" | |
http_forward = false | |
ssl = true | |
private_key = tls_private_key.example.private_key_pem |
# add memcache (Memorystore) example to development | |
resource "google_memcache_instance" "cache_dev" { | |
provider = google-beta | |
project = google_project.development.project_id | |
name = "cache-dev" | |
region = var.region | |
authorized_network = google_service_networking_connection.private_service_connection.network | |
node_config { | |
cpu_count = 1 |
# theme based off https://github.com/magicmonty/bash-git-prompt/blob/a2182bb646987ebca978a655a5deb18bcc65dbe1/themes/Single_line_Solarized.bgptheme | |
define_helpers() { | |
: | |
} | |
# Get git relative path | |
function prompt_callback { | |
if [[ -e "$repo" ]]; then | |
GitBaseName="${repo##*/}" |
#!/usr/bin/env python3 | |
import os | |
import json | |
from pprint import pprint | |
import boto3 | |
def safeget(dct, *keys): | |
dct = dict(dct) | |
for key in keys: | |
try: | |
dct = dct[key] | |
except (KeyError, AttributeError, TypeError) as e: | |
return None | |
return dct |
#!/usr/bin/env bash | |
# Script to download asset file from tag release using GitHub API v3. | |
# See: http://stackoverflow.com/a/35688093/55075 | |
# Check dependencies. | |
set -e | |
type curl grep sed tr >&2 | |
# Validate settings. | |
[ "$GITHUB_API_TOKEN" ] || { echo "Error: Please define GITHUB_API_TOKEN variable." >&2; exit 1; } |
I hereby claim:
To claim this, I am signing this object:
def jobs = ["JobA", "JobB", "JobC"] | |
def parallelStagesMap = jobs.collectEntries { | |
["${it}" : generateStage(it)] | |
} | |
def generateStage(job) { | |
return { | |
stage("stage: ${job}") { |
; Script to allow positioning of windows based on quadrants of the current monitor | |
; https://autohotkey.com/board/topic/108780-move-window-to-half-quarter-of-current-monitor/ | |
#Backspace:: | |
MoveIt(8) | |
Return | |
#\:: | |
MoveIt(2) | |
Return |
; Oxygen Not included fast priority keybindings. | |
; | |
; Instructions: | |
; - start ahk script | |
; - start game | |
; - hit q, wait bit to scan UI | |
; - use numbers as priorities | |
; | |
; Original credits: | |
; https://www.reddit.com/r/Oxygennotincluded/comments/5vw1us/tired_of_clicking_a_priority_use_autohotkey_to/de8fgnt/ |