Skip to content

Instantly share code, notes, and snippets.

View zoidyzoidzoid's full-sized avatar
🌈
Be the change you wanna see in the world!

B zoidyzoidzoid

🌈
Be the change you wanna see in the world!
View GitHub Profile
@zoidyzoidzoid
zoidyzoidzoid / DevOpsDaysCPT-Open-Spaces-2017.md
Last active November 6, 2017 14:56
DevOpsDaysCPT Open Spaces 2017

DevOpsDays Cape Town 2017

Site

Hi Simon
@zoidyzoidzoid
zoidyzoidzoid / brew-perms.sh
Created March 27, 2018 22:37 — forked from jaibeee/brew-perms.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.
#!/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/*
#!/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")
#!/usr/bin/env python
import os
REQUIRED = {
"CONFIG_BPF": "y",
"CONFIG_BPF_SYSCALL": "y"
}
OPTIONAL = {
#!/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
#!/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
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
@zoidyzoidzoid
zoidyzoidzoid / github-push-pr
Last active September 21, 2018 13:45 — forked from keegancsmith/github-push-pr
git alias to push and open PR view
#!/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.
{
"requests": [
{
"provider": {
"name": "Counter-Strike: Global Offensive",
"appid": 730,
"version": 13653,
"steamid": "76561197991583913",
"timestamp": 1537562317
},