This file contains hidden or 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
provider "aws" { | |
region = "us-east-1" | |
} | |
data "aws_region" "current" { } | |
variable "stream_name" { default = "testing_example" } | |
resource "random_string" "rand" { | |
length = 16 | |
special = false |
This file contains hidden or 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
$ TF_LOG=DEBUG terraform apply | |
2018/02/14 16:02:59 [INFO] Terraform version: 0.11.3 | |
2018/02/14 16:02:59 [INFO] Go runtime version: go1.9.3 | |
2018/02/14 16:02:59 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.3/bin/terraform", "apply"} | |
2018/02/14 16:02:59 [DEBUG] Attempting to open CLI config file: /Users/rex/.terraformrc | |
2018/02/14 16:02:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/02/14 16:02:59 [INFO] CLI command args: []string{"apply"} | |
2018/02/14 16:02:59 [INFO] command: empty terraform config, returning nil | |
2018/02/14 16:02:59 [DEBUG] command: no data state file found for backend config | |
2018/02/14 16:02:59 [DEBUG] New state was assigned lineage "cb933b4d-7edf-4d44-a07c-43241ed18fb8" |
This file contains hidden or 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
$ TF_LOG=DEBUG terraform apply | |
2018/02/14 16:07:17 [INFO] Terraform version: 0.11.3 | |
2018/02/14 16:07:17 [INFO] Go runtime version: go1.9.3 | |
2018/02/14 16:07:17 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.3/bin/terraform", "apply"} | |
2018/02/14 16:07:17 [DEBUG] Attempting to open CLI config file: /Users/rex/.terraformrc | |
2018/02/14 16:07:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/02/14 16:07:17 [INFO] CLI command args: []string{"apply"} | |
2018/02/14 16:07:17 [INFO] command: empty terraform config, returning nil | |
2018/02/14 16:07:17 [DEBUG] command: no data state file found for backend config | |
2018/02/14 16:07:17 [DEBUG] New state was assigned lineage "704b4c06-c722-44b9-b640-0fe804e93dba" |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"golang.org/x/net/html" | |
"io" | |
"log" | |
"net/http" | |
"net/url" | |
"os" |
This file contains hidden or 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
Server: nginx/1.10.1 | |
Date: Fri, 25 Jan 2019 18:48:45 GMT | |
Content-Type: text/plain | |
Content-Length: 104 | |
Connection: keep-alive | |
2019/01/25 18:48:45 [debug] 6#0: *520 write new buf t:1 f:0 0000557F2633CD70, pos 0000557F2633CD70, size: 154 file: 0, size: 0 | |
2019/01/25 18:48:45 [debug] 6#0: *520 http write filter: l:0 f:0 s:154 | |
2019/01/25 18:48:45 [debug] 6#0: *520 http output filter "/_pub/ma?" | |
2019/01/25 18:48:45 [debug] 6#0: *520 http copy filter: "/_pub/ma?" |
This file contains hidden or 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
2019/01/25 19:15:31 [info] 21#0: Using 131072KiB of shared memory for nchan in /etc/nginx/nginx.conf:34 | |
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok | |
nginx: configuration file /etc/nginx/nginx.conf test is successful | |
# configuration file /etc/nginx/nginx.conf: | |
user www-data; | |
worker_processes 1; | |
pid /run/nginx.pid; | |
include /etc/nginx/modules-enabled/*.conf; | |
events { |
This file contains hidden or 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
package main | |
/* | |
this code will fill your current terminal with a screen full of flowery emoji with optional message in the middle | |
inspired by this twitter thread: https://twitter.com/Dixie3Flatline/status/1363897259297972224 | |
and this gist: | |
https://gist.github.com/april/a4010daa8581626eb4670a08df558311 | |
This file contains hidden or 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
#!/bin/bash | |
set -e | |
SRCDIR="${HOME}/github/neovim" | |
VERSION_ID=latest | |
. /etc/os-release | |
if command -v podman ;then | |
PODMAN=$(command -v podman) | |
DOCKERFILE="Containerfile" | |
fi |
This file contains hidden or 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
#!/bin/bash | |
SRCDIR="${HOME}/github/alacritty" | |
if command -v podman ;then | |
PODMAN=$(command -v podman) | |
DOCKERFILE="Containerfile" | |
fi | |
if command -v docker ;then | |
PODMAN=$(command -v docker) |
OlderNewer