Skip to content

Instantly share code, notes, and snippets.

View Feuermurmel's full-sized avatar
🐙

Feuermurmel Feuermurmel

🐙
  • Zürich, Switzerland
View GitHub Profile
@Feuermurmel
Feuermurmel / empty-1.scad
Last active August 29, 2015 14:16
OpenSCAD minkowski() test cases
minkowski() {
cube();
intersection() {
cube();
translate([2, 2, 2]) {
cube();
}
}
@Feuermurmel
Feuermurmel / prowl.py
Last active August 29, 2015 14:10
prowl.py
#! /usr/bin/env python3
import os, sys, argparse, subprocess, json, re, getpass, socket, requests
script_dir = os.path.dirname(os.path.realpath(__file__))
terminal_notifier = os.path.join(script_dir, 'terminal-notifier.app/Contents/MacOS/terminal-notifier')
def log(msg, *args):
@Feuermurmel
Feuermurmel / lvmstat.py
Created June 25, 2014 19:34
A script for LVM2 to display a quick overview over which LVs use space on which PVs.
#! /usr/bin/env python3.2
import sys, subprocess, argparse, itertools
class UserError(Exception):
def __init__(self, msg, *args):
super().__init__(msg.format(*args))