kubectl get secrets local-etcd-0 -o go-template='{{index .data "tls.crt"}}' | base64 -d | openssl x509 -noout -text | grep DNS:
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
{ stdenv | |
, lib | |
, fetchurl | |
, installShellFiles | |
}: | |
stdenv.mkDerivation rec { | |
pname = "replicated"; | |
version = "0.78.0"; |
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
use std::{error::Error, sync::Arc, time::Duration}; | |
use tokio::{sync::Semaphore, task::JoinSet}; | |
use tracing_subscriber::fmt::format::FmtSpan; | |
type Result<T, E = Box<dyn Error>> = std::result::Result<T, E>; | |
const CONCURRENCY: usize = 2; | |
#[tokio::main(flavor = "current_thread")] |
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
bind-key D run-shell 'tmux send-keys $(date +%F)' |
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
cool |
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
responders: | |
# https://docs.confluent.io/current/connect/references/restapi.html#get-- | |
- when: | |
http: | |
method: GET | |
path: / | |
then: | |
http: | |
status: 200 |
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
2020/04/15 13:15:04 [INFO] Terraform version: 0.12.21 | |
2020/04/15 13:15:04 [INFO] Go runtime version: go1.12.13 | |
2020/04/15 13:15:04 [INFO] CLI args: []string{"/Users/nick/bin/terraform", "apply", "-auto-approve"} | |
2020/04/15 13:15:04 [DEBUG] Attempting to open CLI config file: /Users/nick/.terraformrc | |
2020/04/15 13:15:04 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/04/15 13:15:04 [DEBUG] checking for credentials in "/Users/nick/.terraform.d/plugins" | |
2020/04/15 13:15:04 [INFO] CLI command args: []string{"apply", "-auto-approve"} | |
2020/04/15 13:15:04 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2020/04/15 13:15:04 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2020/04/15 13:15:04 [DEBUG] New state was assigned lineage "54749269-c69a-db76-7b76-9c2893526dd3" |
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
resource "local_file" "inventory" { | |
content = templatefile("templates/inventory.tmpl", { | |
# map(string) | |
vars = var.global_vars | |
# string | |
scm_server = var.scm_server | |
db_server = var.db_server | |
krb5_server = var.krb5_server |
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
fun main() { | |
val numbers = listOf( | |
12, | |
7476589, | |
97462994, | |
37837, | |
38840184, | |
2848493, | |
1847479 | |
) |
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
kubectl get pods prometheus-prometheus-0 -o yaml | yq -y '.spec.securityContext' | |
runAsNonRoot: true | |
runAsUser: 1000 |
NewerOlder