Skip to content

Instantly share code, notes, and snippets.

View voneiden's full-sized avatar
➡️
try leaving a message to the shoutbox

Matti Eiden voneiden

➡️
try leaving a message to the shoutbox
View GitHub Profile
@voneiden
voneiden / weave-status-connections.sh
Created January 28, 2020 12:32
Check cluster weave connections status on kubernetes using kubectl
#!/bin/bash
kubectl get pods -n kube-system | grep weave | awk '{print $1;}' | while read -r podname ; do
kubectl exec -n kube-system $podname /home/weave/weave -- --local status connections
done
@voneiden
voneiden / gist:7527933
Created November 18, 2013 13:41
Checks Bitstamp API for latest price and produces a Pushover notification if price exceeds defined limits
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 1 10:20:23 2013
----------------------------------------------------------------------------
"THE BEER-WARE LICENSE" (Revision 42):
voneiden <gmail:snaipperi> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy me a beer in return
----------------------------------------------------------------------------