generic cloud init help and docs
treats user data and cloud init as cloud-init
generic cloud init help and docs
treats user data and cloud init as cloud-init
# Create kv-policy with variable for Identity Group ID | |
data "vault_policy_document" "group" { | |
rule { | |
path = "group-kv/data/training/{{identity.groups.ids.${vault_identity_group.group.id}.name}}/*" | |
capabilities = ["create", "read", "update", "delete", "list"] | |
description = "allow all on secrets" | |
} | |
rule { |
VirtualBox only supports the x86 platform, so the default installation instructions for Vagrant does not work on Apple silicon. Thankfully Vagrant has a VMWare Provider (more on providers here), and so if I can get VMWare running on my M1 MacBook, I should be able to run Vagrant as well!
These are my notes during figuring this out.
We are in luck, as VMWare released this just a few weeks ago.
// ==UserScript== | |
// @name _Add an image to a web page | |
// @include http://stackoverflow.com/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js | |
// ==/UserScript== | |
$("body").append ( | |
'<img id="myNewImage" src="https://www.pikpng.com/pngl/m/399-3994789_mst3k-mystery-science-theater-silhouettes-clipart.png">' | |
); | |
$("#myNewImage").css ( { |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
all: teams | |
team: | |
echo $(team_name) | |
for i in `gh api /orgs/hashicorp/teams/$(team_name)/members | jq '.[].login' | sed 's/"//g'` ; do echo $i && gist -l $i ;done; | |
# to get the list of all teams in org | |
teams: | |
gh api /orgs/hashicorp/teams | jq '.[].name' |
I keep promising to folumlise this but we do it once in a while and i forget!
sudo xcodebuild -license
When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.
filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&id=${fileid}"
When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.
filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&id=${fileid}"