Skip to content

Instantly share code, notes, and snippets.

View 2rs2ts's full-sized avatar

Andrew G 2rs2ts

View GitHub Profile
@2rs2ts
2rs2ts / kube-apiserver.log
Created February 19, 2020 21:33
kube-apiserver logs and service definition for https://github.com/kubernetes/kubernetes/issues/88293
-- Logs begin at Wed 2020-02-19 20:07:43 UTC, end at Wed 2020-02-19 20:18:18 UTC. --
Feb 19 20:10:19 ip-10-47-18-234 systemd[1]: Starting Kubernetes API Server...
[ExecStartPre output redacted]
Feb 19 20:10:30 ip-10-47-18-234 kube-apiserver[24354]: Flag --insecure-bind-address has been deprecated, This flag will be removed in a future version.
Feb 19 20:10:30 ip-10-47-18-234 kube-apiserver[24354]: Flag --insecure-port has been deprecated, This flag will be removed in a future version.
Feb 19 20:10:30 ip-10-47-18-234 kube-apiserver[24354]: I0219 20:10:30.816457 24354 flags.go:33] FLAG: --add-dir-header="false"
Feb 19 20:10:30 ip-10-47-18-234 kube-apiserver[24354]: I0219 20:10:30.816495 24354 flags.go:33] FLAG: --address="127.0.0.1"
Feb 19 20:10:30 ip-10-47-18-234 kube-apiserver[24354]: I0219 20:10:30.816504 24354 flags.go:33] FLAG: --admission-control="[]"
Feb 19 20:10:30 ip-10-47-18-234 kube-apiserver[24354]: I0219 20:10:30.816512 24354 flags.go:33] FLAG: --admission-control-config-file=""
Feb 19 20:1
@2rs2ts
2rs2ts / voiceforge_download
Last active October 24, 2022 23:33
VoiceForge download script, requires python 3 and requests
#! /usr/bin/env python3
# Copyright 2019 2rs2ts
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH TH
#!/bin/sh
BOOT2DOCKER_CERTS_DIR=/var/lib/boot2docker/certs
CERTS_DIR=/etc/ssl/certs
CAFILE=${CERTS_DIR}/ca-certificates.crt
for cert in $(/bin/ls -1 ${BOOT2DOCKER_CERTS_DIR}); do
SRC_CERT_FILE=${BOOT2DOCKER_CERTS_DIR}/${cert}
CERT_FILE=${CERTS_DIR}/${cert}
HASH_FILE=${CERTS_DIR}/$(/usr/local/bin/openssl x509 -noout -hash -in ${SRC_CERT_FILE} 2>/dev/null)