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 -x | |
# .gitattributes | |
# *.yml merge=sopsmerge | |
# | |
# .git/config | |
#[merge "sopsmerger"] | |
# name = A custom merge driver used to resolve conflicts in sops encrypted files | |
# driver = sops_merge.sh %O %A %B %P |
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
``` | |
https://github.com/SeleniumHQ/docker-selenium | |
``` | |
import time | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC |
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
import random | |
from queue import Queue | |
from threading import Thread | |
import boto | |
# A thread that produces data | |
def producer(out_q, num_threads): | |
print("Producer started") | |
s3 = boto.connect_s3() | |
bucket = s3.get_bucket("somebucket") |
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
import random | |
from queue import Queue | |
from threading import Thread | |
# A thread that produces data | |
def producer(out_q, num_threads): | |
for i in range(1,100): | |
# Produce some data | |
d = [] | |
d.append(i) |
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
08/07 21:05 ~ 22:10 Payments crons deployed with wrong version. | |
Alert gone after deploying a correct image version. | |
09/07 02:05 ~ 02:06 Nginx 4XX alert, traffic loop produced by old app version. | |
It's a flapping alert, there is no solution provided for now. | |
09/07 11-50 ~ 12:20 Catalog replies were slow, fond a POD killed by OOM on node. | |
RES memory size was more then 1.5G | |
09/07 22-30 ~ 22:50 Pricing app metric `pricing-auto-approver`, issue autoresolved. | |
13/07 02:50 ~ 04:45 IMR warning (stale nodes killed manually) | |
13/07 04-22 ~ 04:30 Prometheus restart happened altogether with nodes replacenent | |
in *net* namespace. So alert hangs. |