start new:
tmux
start new with session name:
tmux new -s myname
{ | |
"globals" : | |
{ | |
"alwaysShowTabs" : true, | |
"defaultProfile" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
"initialCols" : 120, | |
"initialRows" : 30, | |
"keybindings" : | |
[ | |
{ |
javascript: void (function (main) { | |
var script = document.createElement('script'); | |
script.onload = main; | |
script.src = 'https://davidshimjs.github.io/qrcodejs/qrcode.min.js'; | |
document.head.appendChild(script).parentNode.removeChild(script); | |
})(function () { | |
var size = 400; | |
var qr = new QRCode(document.body, { | |
text: location.href, | |
width: size, |
javascript:(function() { | |
function copyToClipboard(text) { | |
if (window.clipboardData && window.clipboardData.setData) { | |
/*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
return clipboardData.setData("Text", text); | |
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
var textarea = document.createElement("textarea"); | |
textarea.textContent = text; |
#!/bin/sh | |
# terraform-latest.sh - Display the download URLs for the latest version of HashiCorp Terraform | |
CURRENT_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version') | |
for SUFFIX in SHA256SUMS SHA256SUMS.sig darwin_amd64.zip freebsd_386.zip freebsd_amd64.zip freebsd_arm.zip linux_386.zip linux_amd64.zip linux_arm.zip openbsd_386.zip openbsd_amd64.zip solaris_amd64.zip windows_386.zip windows_amd64.zip; do | |
echo "https://releases.hashicorp.com/terraform/${CURRENT_VERSION}/terraform_${CURRENT_VERSION}_${SUFFIX}" | |
done |