Makes one 8-inch round cake
- ½ cup (113 grams or 1 stick) unsalted butter
- 1 cup (140 grams) all-purpose flour
| » time bash -c "kubectl -v9 get pods 2>&1 | grep ServerProcessing" | |
| I0331 13:49:30.847942 21872 round_trippers.go:570] HTTP Statistics: DNSLookup 1 ms Dial 38 ms TLSHandshake 44 ms ServerProcessing 56 ms Duration 422 ms | |
| I0331 13:49:30.930520 21872 round_trippers.go:570] HTTP Statistics: GetConnection 0 ms ServerProcessing 39 ms Duration 39 ms | |
| I0331 13:49:31.014527 21872 round_trippers.go:570] HTTP Statistics: GetConnection 0 ms ServerProcessing 44 ms Duration 44 ms | |
| I0331 13:49:31.014528 21872 round_trippers.go:570] HTTP Statistics: GetConnection 0 ms ServerProcessing 44 ms Duration 44 ms | |
| I0331 13:49:31.016835 21872 round_trippers.go:570] HTTP Statistics: GetConnection 0 ms ServerProcessing 46 ms Duration 46 ms | |
| I0331 13:49:31.016873 21872 round_trippers.go:570] HTTP Statistics: GetConnection 0 ms ServerProcessing 46 ms Duration 46 ms | |
| I0331 13:49:31.016907 21872 round_trippers.go:570] HTTP Statistics: GetConnection 0 ms ServerProcessing 44 ms Duration 45 ms | |
| I0331 13:49:31.016912 21872 round_tripp |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| usage() { | |
| cat <<EOF |
| AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV AW AX AY AZ Aa Ab Ac Ad Ae Af Ag Ah Ai Aj Ak Al Am An Ao Ap Aq Ar As At Au Av Aw Ax Ay Az A0 | |
| A1 A2 A3 A4 A5 A6 A7 A8 A9 BA BB BC BD BE BF BG BH BI BJ BK BL BM BN BO BP BQ BR BS BT BU BV BW BX BY BZ Ba Bb Bc Bd Be Bf Bg Bh Bi Bj Bk Bl Bm Bn Bo Bp Bq Br | |
| Bs Bt Bu Bv Bw Bx By Bz B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 CA CB CC CD CE CF CG CH CI CJ CK CL CM CN CO CP CQ CR CS CT CU CV CW CX CY CZ Ca Cb Cc Cd Ce Cf Cg Ch Ci | |
| Cj Ck Cl Cm Cn Co Cp Cq Cr Cs Ct Cu Cv Cw Cx Cy Cz C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 DA DB DC DD DE DF DG DH DI DJ DK DL DM DN DO DP DQ DR DS DT DU DV DW DX DY DZ | |
| Da Db Dc Dd De Df Dg Dh Di Dj Dk Dl Dm Dn Do Dp Dq Dr Ds Dt Du Dv Dw Dx Dy Dz D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 EA EB EC ED EE EF EG EH EI EJ EK EL EM EN EO EP EQ | |
| ER ES ET EU EV EW EX EY EZ Ea Eb Ec Ed Ee Ef Eg Eh Ei Ej Ek El Em En Eo Ep Eq Er Es Et Eu Ev Ew Ex Ey Ez E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 FA FB FC FD FE FF FG FH | |
| FI FJ FK FL FM FN FO FP FQ FR FS FT FU FV FW FX FY FZ Fa Fb Fc Fd Fe F |
Screwing up is easy, and figuring out how to fix your mistakes is sometimes impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.
So here are some bad situations I've gotten myself into, and how I eventually got myself out of them in plain english*.
| # Resize FS | |
| resize2fs /dev/sdb | |
| # Only if needed: | |
| # Stop ES | |
| service bitnami stop | |
| ps -efa|grep elasticsearch |
| #!/bin/bash | |
| # ============================================================== | |
| # How to make an ISO from the "Install $OS_NAME.app" | |
| # ============================================================== | |
| OS_NAME="${1:-macOS Sierra}" | |
| SHORT_NAME="${2:-macOS}" | |
| INSTALLER_PATH="/Applications/Install $OS_NAME.app" | |
| IMAGE_PATH="/tmp/$SHORT_NAME" |
| -- Logs begin at Tue 2016-08-23 14:13:04 UTC, end at Tue 2016-08-23 15:05:50 UTC. -- | |
| Aug 23 14:13:42 ip-10-111-13-245.ec2.internal systemd[1]: Stopped etcd2. | |
| Aug 23 14:14:09 ip-10-111-13-245.ec2.internal systemd[1]: Starting etcd2... | |
| Aug 23 14:14:12 ip-10-111-13-245.ec2.internal etcd2[1259]: recognized and used environment variable ETCD_ADVERTISE_CLIENT_URLS=http://10.111.13.245:2379 | |
| Aug 23 14:14:12 ip-10-111-13-245.ec2.internal etcd2[1259]: recognized and used environment variable ETCD_DATA_DIR=/var/lib/etcd2 | |
| Aug 23 14:14:12 ip-10-111-13-245.ec2.internal etcd2[1259]: recognized and used environment variable ETCD_ELECTION_TIMEOUT=1200 | |
| Aug 23 14:14:12 ip-10-111-13-245.ec2.internal etcd2[1259]: recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=http://10.111.13.245:2380 | |
| Aug 23 14:14:12 ip-10-111-13-245.ec2.internal etcd2[1259]: recognized and used environment variable ETCD_INITIAL_CLUSTER=i-066bec7aa6a963d89=http://10.111.13.245:2380,i-0a83d3f217a063659=http://10.111.13.246:2380,i-0870117 |
| class Notification | |
| require 'aws-sdk' | |
| require 'httparty' | |
| attr_accessor :message_info, :verifier, :message_body | |
| def initialize(message_body, logger) | |
| @message_info = JSON.parse(message_body) | |
| @message_body = message_body | |
| @verifier = ::Aws::SNS::MessageVerifier.new | |
| @logger = logger |