- Observability -> Collect all data to be able to observe all events market/users/profit.
- Focus -> Give everybody some timeframe (min 1h) to focus on specific thing, don't switch focus unless really necessary thus create perfect task queues with priorities.
- Ownership -> Give e2e ownership dev/test/ops/appsupport.
- Human -> Always remember that humans are great for their errors because our creativity is based on it.
- Re(spect/ward) -> Respect and Reward work.
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: error_page | |
namespace: ingress-nginx | |
data: | |
error_page: | | |
<!DOCTYPE html> | |
<html> | |
<head> |
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
locals { | |
task_definition_family = "${local.prefix}-${var.ecs_task_name}" | |
} | |
data "aws_region" "current" {} | |
data "aws_caller_identity" "current" {} | |
data "aws_ecs_task_definition" "hack_get_image" { | |
count = var.preserve_image ? 1 : 0 | |
task_definition = local.task_definition_family |
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
#!/bin/bash | |
cp $HOME/Library/Mobile\ Documents/com\~apple\~CloudDocs/Icons/Google\ Chrome /Applications/Google\ Chrome.app/Icon$'\r' | |
osascript <<EOS | |
set appName to "Google Chrome" | |
tell application appName to quit | |
repeat | |
tell application "System Events" | |
if appName is not in (name of application processes) then exit repeat |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: dnsutils | |
namespace: default | |
spec: | |
containers: | |
- name: dnsutils | |
image: gcr.io/kubernetes-e2e-test-images/dnsutils:1.3 | |
command: |
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
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
IMAGE=image | |
else | |
IMAGE=$1 | |
fi | |
WORK_DIR=$(docker image inspect ${IMAGE} --format='{{.Config.WorkingDir}}') |
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
# cat ~/.ansible.cfg | |
[defaults] | |
stdout_callback = debug | |
retry_files_enabled = False |
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
#!/usr/bin/env python | |
import sys, subprocess, os | |
try: | |
from urllib.parse import urlparse | |
except ImportError: | |
from urlparse import urlparse | |
rawRepoUrl = sys.argv[1] |
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
#!/bin/bash | |
URL=$1 | |
NAME=${URL:7} | |
echo "Press [CTRL+C] to stop..." | |
while : | |
do | |
echo $(date +%s) $(curl --max-time 10 -w "%{time_connect} %{time_starttransfer} %{time_total} %{http_code}" -o NUL -s "${URL}") | tee -a ${NAME}.log.txt |
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
version: "3" | |
services: | |
web: | |
image: nginx |
NewerOlder