I hereby claim:
- I am victortrac on github.
- I am victortrac (https://keybase.io/victortrac) on keybase.
- I have a public key whose fingerprint is 370F E276 C958 C190 CA3A FFF7 6648 CA71 555B F03F
To claim this, I am signing this object:
import argparse | |
import boto | |
import boto.ec2.elb | |
import time | |
AWS_ACCOUNT_ID = '0123456789' | |
REGIONS = ['us-west-2', 'us-east-1', 'eu-west-1'] | |
def get_matching_elbs(region, ssl_cert_arn): | |
print "getting matching elbs in region {}".format(region) |
#!/usr/bin/env python | |
import argparse | |
import base64 | |
import datetime | |
import hashlib | |
import json | |
import socket | |
import ssl | |
import sys |
I/Timeline( 1187): Timeline: Activity_launch_request id:com.android.dialer time:5116983 | |
I/ActivityManager( 654): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.dialer/.DialtactsActivity bnds=[48,773][282,1035]} from pid 1187 | |
W/BroadcastQueue( 654): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.cyanogenmod.trebuchet (uid 10020) | |
V/Zygote (26212): Switching descriptor 33 to /dev/null | |
V/Zygote (26212): Switching descriptor 10 to /dev/null | |
I/ActivityManager( 654): Start proc com.android.dialer for activity com.android.dialer/.DialtactsActivity: pid=26212 uid=10015 gids={50015, 3003, 1028, 1015, 1006, 3010, -1} | |
D/ActivityThread(26212): handleBindApplication:com.androi |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# reload haproxy, but avoid losing existing connections | |
# | |
# briefly reject connection (SYN) TCP packets during port switch, so that | |
# connections are retried | |
# | |
# see: | |
# https://medium.com/@Drew_Stokes/actual-zero-downtime-with-haproxy-18318578fde6 | |
# http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.html |
#!/usr/bin/env python | |
import sys | |
import time | |
from googleapiclient import discovery | |
from oauth2client.client import GoogleCredentials | |
def get_google_auth(service, version='v2'): | |
credentials = GoogleCredentials.get_application_default() | |
service_conn = discovery.build(service, version, credentials=credentials) |
#!/bin/bash | |
# Check out production branch and bring it up to date. | |
git fetch origin | |
git checkout production | |
git reset --hard origin/production | |
# Create a name for the new tag. | |
NEW_TAG=$(date +"%Y%m%d-%H%M") |
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: jenkins | |
labels: | |
app: jenkins | |
annotations: | |
volume.alpha.kubernetes.io/storage-class: default | |
spec: | |
accessModes: |
#!/bin/bash | |
# This script syncs the brightness on my laptop screen as well as my | |
# Dell 2720QM external usb-c monitor | |
# References: | |
# https://blog.tcharles.fr/ddc-ci-screen-control-on-linux | |
# Steps | |
# 1. Add udev rules to /etc/udev/rules.d/45-ddcutil-i2c.rules: |
# ~/.config/polybar/config | |
[module/pulseaudio-devices] | |
type = custom/script | |
label = "%output%" | |
label-font = 2 | |
interval = 2.0 | |
exec = ~/.config/polybar/sound.sh | |
click-right = exec pavucontrol & | |
click-left = ~/.config/polybar/sound.sh mute & | |
scroll-up = ~/.config/polybar/sound.sh up & |