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
data "aws_vpc" "found" { | |
count = "${length(var.vpc_names)}" | |
filter { | |
name = "tag:Name" | |
values = ["${element(var.vpc_names, count.index)}"] | |
} | |
} | |
output "vpc_id" { |
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
2018/07/24 15:01:38 [INFO] Terraform version: 0.11.7 | |
2018/07/24 15:01:38 [INFO] Go runtime version: go1.10.1 | |
2018/07/24 15:01:38 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "validate"} | |
2018/07/24 15:01:38 [DEBUG] Attempting to open CLI config file: /Users/jeremy.avnet/.terraformrc | |
2018/07/24 15:01:38 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/07/24 15:01:38 [INFO] CLI command args: []string{"validate"} | |
2018/07/24 15:01:38 [DEBUG] checking for provider in "." | |
2018/07/24 15:01:38 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.7/bin" | |
2018/07/24 15:01:38 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2018/07/24 15:01:38 [DEBUG] found provider "terraform-provider-aws_v1.28.0_x4" |
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
upstream_recursive_servers: | |
- address_data: 9.9.9.9 | |
tls_auth_name: "dns.quad9.net" | |
tls_pubkey_pinset: | |
- digest: "sha256" | |
value: MujBQ+U0p2eZLTnQ2KGEqs+fPLYV/1DnpZDjBDPwUqQ= |
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
$jre/bin/keytool \ | |
-import \ | |
-trustcacerts \ | |
-file /path/to/MyIntermediateCA.crt \ | |
-alias MyIntermediateCA \ | |
-keystore $jre/lib/security/cacerts \ | |
-storepass changeit \ | |
-noprompt |
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 os | |
import subprocess | |
import shlex | |
def bail_if_another_is_running(): | |
cmd = shlex.split("pgrep -u {} -f {}".format(os.getuid(), __file__)) | |
pids = subprocess.check_output(cmd).strip().split('\n') | |
if len(pids) > 1: | |
pids.remove("{}".format(os.getpid())) |
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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 1, | |
"caret_extra_top": 1, | |
"caret_style": "solid", | |
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
"create_window_at_startup": false, | |
"ensure_newline_at_eof_on_save": true, |
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
# client TLS parameters | |
smtp_tls_security_level = secure | |
smtp_tls_mandatory_protocols = !SSLv2,!SSLv3,!TLSv1,!TLSv1.1 | |
smtp_tls_mandatory_ciphers = high | |
smtp_tls_cert_file=/etc/letsencrypt/live/XXX/fullchain.pem | |
smtp_tls_key_file=/etc/letsencrypt/live/XXX/privkey.pem | |
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt | |
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache | |
smtp_tls_loglevel = 1 | |
smtp_tls_note_starttls_offer = yes |
I hereby claim:
- I am brainsik on github.
- I am brainsik (https://keybase.io/brainsik) on keybase.
- I have a public key whose fingerprint is 5D80 FC62 9CEF 8FAE 737C DDED 19A1 D142 4FE9 8E13
To claim this, I am signing this object: