Skip to content

Instantly share code, notes, and snippets.

View sjahl's full-sized avatar

Steve Jahl sjahl

View GitHub Profile
@sjahl
sjahl / config.h
Created December 22, 2011 17:17
snk's DWM config
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#404040";
static const char normbgcolor[] = "#282828";
static const char normfgcolor[] = "#ffffff";
static const char selbordercolor[] = "#FFB200";
static const char selbgcolor[] = "#666666";
static const char selfgcolor[] = "#ffffff";
@sjahl
sjahl / tmux.conf
Created March 30, 2012 14:15
tmux resize VI bindings
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key H resize-pane -L 5
bind-key L resize-pane -R 5

Keybase proof

I hereby claim:

To claim this, I am signing this object:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>RSS subscriptions for redacted</title>
<dateCreated>Fri, 19 Jan 2018 14:13:10 -0600</dateCreated>
<ownerEmail>redacted</ownerEmail>
</head>
<body>
<outline text="Code as Craft" title="Code as Craft" type="rss" xmlUrl="http://codeascraft.etsy.com/feed/" htmlUrl="https://codeascraft.com"/>
<outline text="Daring Fireball" title="Daring Fireball" type="rss" xmlUrl="http://daringfireball.net/index.xml" htmlUrl="https://daringfireball.net/"/>

Keybase proof

I hereby claim:

To claim this, I am signing this object:

# automatically add new windows to the current group
sticky yes
# snap windows to edges at 4 pixels distance
snapdist 4
gap 18 1 1 1
color menubg azure4
color menufg black
color selfont "#FFBF00"
ignore bar
09:29:25.693157 IP 10.48.0.46.42698 > 10.48.1.19.5432: Flags [S], seq 1204653863, win 42600, options [mss 1420,sackOK,TS val 2125025423 ecr 0,nop,wscale 7], length 0
09:29:25.694671 IP 10.48.1.19.5432 > 10.48.0.46.42698: Flags [S.], seq 1523785516, ack 1204653864, win 43648, options [mss 1420,sackOK,TS val 1299201673 ecr 2125025423,nop,wscale 7], length 0
09:29:25.694712 IP 10.48.0.46.42698 > 10.48.1.19.5432: Flags [.], ack 1, win 333, options [nop,nop,TS val 2125025425 ecr 1299201673], length 0
09:29:25.694916 IP 10.48.0.46.42698 > 10.48.1.19.5432: Flags [P.], seq 1:282, ack 1, win 333, options [nop,nop,TS val 2125025425 ecr 1299201673], length 281
09:29:25.695115 IP 10.48.1.19.5432 > 10.48.0.46.42698: Flags [.], ack 282, win 339, options [nop,nop,TS val 1299201674 ecr 2125025425], length 0
09:29:25.695322 IP 10.48.1.19.5432 > 10.48.0.46.42698: Flags [P.], seq 1:91, ack 282, win 339, options [nop,nop,TS val 1299201674 ecr 2125025425], length 90
09:29:25.695351 IP 10.48.0.46.42698 > 10.48.1.19.5432: Flags [.]
[ 110.955704s] TRACE ThreadId(01) outbound: linkerd2_proxy_transport::listen: Accepted local.addr=127.0.0.1:4140 peer.addr=10.48.0.36:48696 orig.addr=Some(10.51.241.58:5432)
[ 110.955769s] DEBUG ThreadId(01) outbound: linkerd2_cache: Caching new service
[ 110.955830s] TRACE ThreadId(01) outbound: linkerd2_cache: Dropping defunct service
[ 110.955857s] TRACE ThreadId(01) outbound: linkerd2_cache: Dropping defunct service
[ 110.955864s] DEBUG ThreadId(01) outbound: linkerd2_cache: services=1 dropped=2
[ 110.955934s] TRACE ThreadId(01) outbound:poll_profile: linkerd2_service_profiles::client: disconnected
[ 110.955961s] TRACE ThreadId(01) outbound:poll_profile: linkerd2_service_profiles::client: waiting
[ 110.956003s] TRACE ThreadId(01) outbound: linkerd2_timeout::failfast: Pending
[ 110.956048s] TRACE ThreadId(01) dst: linkerd2_buffer::dispatch: Dispatching request
[ 110.956075s] DEBUG ThreadId(01) dst: linkerd2_dns: resolve_srv name=linkerd-dst-headless.linkerd.svc.cluster.local
time="2021-02-12T18:32:52Z" level=info msg="running version edge-21.2.2"
[ 0.008006s] INFO ThreadId(01) linkerd2_proxy::rt: Using single-threaded proxy runtime
[ 0.010947s] INFO ThreadId(01) linkerd2_proxy: Admin interface on 0.0.0.0:4191
[ 0.011214s] INFO ThreadId(01) linkerd2_proxy: Inbound interface on 0.0.0.0:4143
[ 0.011275s] INFO ThreadId(01) linkerd2_proxy: Outbound interface on 127.0.0.1:4140
[ 0.011359s] INFO ThreadId(01) linkerd2_proxy: Tap DISABLED
[ 0.011395s] INFO ThreadId(01) linkerd2_proxy: Local identity is default.gh-5539.serviceaccount.identity.linkerd.cluster.local
[ 0.011524s] INFO ThreadId(01) linkerd2_proxy: Identity verified via linkerd-identity-headless.linkerd.svc.cluster.local:8080 (linkerd-identity.linkerd.serviceaccount.identity.linkerd.cluster.local)
[ 0.011586s] INFO ThreadId(01) linkerd2_proxy: Destinations resolved via linkerd-dst-headless.linkerd.svc.cluster.local:8086 (linkerd-destination.linkerd.serviceaccount.identity.linkerd.cluster.
@sjahl
sjahl / create.sh
Created March 2, 2021 14:15
linkerd edge-21.2.4 debugging
#!/bin/bash
set -eu
# preemptible is to keep cost down, i see the pg_dump hangs without it too
gcloud container clusters create --num-nodes=3 --preemptible linkerd-gh5593-test-cluster
gcloud container clusters get-credentials linkerd-gh5593-test-cluster
linkerd check --pre
linkerd install |kubectl apply -f -