Hi Simon
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/sh | |
# Configure homebrew permissions to allow multiple users on MAC OSX. | |
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
# allow admins to manage homebrew's local install directory | |
chgrp -R admin /usr/local/* | |
chmod -R g+w /usr/local/* |
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
#!/usr/bin/env bash | |
set -e | |
for full_name in $(kubectl get all -o name | grep -vE replicaset\|pod); do | |
name="$(echo "$full_name" | sed -e "s/.*\///g")"; | |
type="$(echo "$full_name" | sed -e "s/\/.*//g")"; | |
case "${type}" in | |
deployment*) | |
type=Deployment | |
;; | |
"service") |
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
#!/usr/bin/env python | |
import os | |
REQUIRED = { | |
"CONFIG_BPF": "y", | |
"CONFIG_BPF_SYSCALL": "y" | |
} | |
OPTIONAL = { |
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
#!/usr/bin/env bash | |
set -eu | |
PROJECT_ID="${1:-}" | |
if [[ -z $PROJECT_ID ]]; then | |
echo "Project ID not set" | |
echo | |
echo "Try ./create-service-account.sh zoidbergwill-testing" | |
exit 1 | |
fi |
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
#!/usr/bin/env python | |
# Some code borrowed from yapcg/measurements/perftools/udpstat at https://code.google.com/archive/p/yapcg/source/default/source?page=1 | |
# | |
# man proc | |
# /proc/net/udp | |
# Holds a dump of the UDP socket table. Much of the information is not of use apart from debugging. The "sl" value is | |
# the kernel hash slot for the socket, the "local_address" is the local address and port number pair. The | |
# "rem_address" is the remote address and port number pair (if connected). "St" is the internal status of the socket. | |
# The "tx_queue" and "rx_queue" are the outgoing and incoming data queue in terms of kernel memory usage. The "tr", | |
# "tm->when", and "rexmits" fields are not used by UDP. The "uid" field holds the effective UID of the creator of the |
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
Dart-Code.dart-code | |
DavidAnson.vscode-markdownlint | |
EFanZh.graphviz-preview | |
EditorConfig.EditorConfig | |
HookyQR.beautify | |
JakeBecker.elixir-ls | |
Pendrica.chef | |
PeterJausovec.vscode-docker | |
Shan.code-settings-sync | |
Stephanvs.dot |
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 | |
# Pushes to origin and opens a github compare view of it to speed up PR | |
# creation. | |
# | |
# To install add to $PATH with executable permission and run | |
# | |
# git config --global alias.pr '!github-push-pr' | |
# |
This file has been truncated, but you can view the full file.
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
{ | |
"requests": [ | |
{ | |
"provider": { | |
"name": "Counter-Strike: Global Offensive", | |
"appid": 730, | |
"version": 13653, | |
"steamid": "76561197991583913", | |
"timestamp": 1537562317 | |
}, |