Skip to content

Instantly share code, notes, and snippets.

Andrew Rowe Martlark

View GitHub Profile
Martlark /
Last active Aug 28, 2018
Simple script to get logs from the pods of a deployment
#!/usr/bin/env bash
for p in $(kubectl get pods | grep ^${DEPLOYMENT}- | cut -f 1 -d ' '); do
echo ---------------------------
echo $p
echo ---------------------------
kubectl logs $p
Martlark / static_server.js
Last active Sep 3, 2015 — forked from ryanflorence/static_server.js
Node.JS static file web server. Put it in your path to fire up servers in any directory, takes an optional port argument. With file change detection. Requirements: npm install websocket. To use. place in head of your html files <meta detection-change="true"> so that it will auto refresh if any served files change.
View static_server.js
node js static web server with file change detection
based upon
by Andrew Rowe 2015.
npm install websocket
You can’t perform that action at this time.