- Firefox (sign in for extensions)
- Dropbox
- Slack
- Flycut
- Zoom
- Google drive
| for R in $(aws iam list-roles --query 'Roles[].RoleName[]' --output text); do | |
| echo "$R" | |
| aws iam list-attached-role-policies --role-name "$R" | |
| done | |
| for U in $(aws iam list-users --query 'Users[].UserName[]' --output text); do | |
| echo "$U" | |
| aws iam list-attached-user-policies --user-name "$U" | |
| done |
| function ESPlayer(server, indexPattern, playCallback, initialLoad = 40, delay = 10, blockDuration = 10, size = 10) { | |
| this.server = server; | |
| this.indexPattern = indexPattern; | |
| this.playCallback = playCallback; | |
| this.initialLoad = initialLoad; | |
| this.delay = delay; | |
| this.blockDuration = blockDuration; | |
| this.size = size; | |
| this.blocks = []; | |
| } |
| actions: | |
| 1: | |
| action: reindex | |
| description: Reindex 2017 indices to single index | |
| options: | |
| wait_interval: 9 | |
| max_wait: -1 | |
| request_body: | |
| source: | |
| index: REINDEX_SELECTION |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| MINOR_VERSION=$(awk -F. '{print $1 "." $2}' $(dirname $0)/../.ruby-version) | |
| NAME_FILTER="{\"Type\":\"PlatformName\",\"Operator\":\"begins_with\",\"Values\":[\"Puma with Ruby ${MINOR_VERSION}\"]}" | |
| VERSION_FILTER='{"Type":"PlatformVersion","Operator":"=","Values":["latest"]}' | |
| PLATFORM_ARN=$( | |
| aws elasticbeanstalk list-platform-versions \ |
| class Bottles | |
| def word_part(n) | |
| case n | |
| when 0 | |
| "no more bottles" | |
| when 1 | |
| "1 bottle" | |
| else | |
| "#{n} bottles" | |
| end |
| import sys | |
| import requests | |
| import os | |
| endpoint = os.environ.get("SAFECAST_API", "https://api.safecast.org") | |
| api_key = os.environ.get("SAFECAST_API_KEY") | |
| if len(sys.argv) != 2: | |
| print("Usage: {} <LOGFILE>".format(sys.argv[0]), file=sys.stderr) |
| SHELL = /bin/bash | |
| terraform_opts ?= | |
| terraform_plan_opts ?= | |
| .PHONY: help | |
| help:: | |
| @echo | |
| @echo Infrastructure management using Terraform. | |
| @echo |
| .terraform | |
| *.tfstate* | |
| terraform.tfvars | |
| bootstrap-secrets.json |
| [06/02/17, 15:15:44:796] error: WebView: Renderer crash occurred in webView: {"src":"https://REDACTED.slack.com/messages"} | |
| [06/02/17, 15:15:44:797] info: Store: RELOAD | |
| { everything: true } |