Skip to content

Instantly share code, notes, and snippets.

@nielsvanderbeke
nielsvanderbeke / getMealVoucherSaldo.sh
Created January 8, 2014 14:02
Get meal voucher saldo from monizze card
#!/bin/sh
######################################################################
# script getMealVoucherSaldo.sh
# purpose Get meal voucher saldo from monizze card
# author Niels Vanderbeke
# date 20140108
# parameters none
# changed at 20140108
# changed by Niels Vanderbeke
######################################################################
@gdestuynder
gdestuynder / sudoro
Last active February 23, 2017 08:16
safety first!
#!/bin/bash
# What's this?!
# Just a POC, so there might be caveats I did not think of. It gives you a root user with read-only filesystem access
# Uses a new, non-persistent filesystem namespace in order not to pollute the system's mounts (disappears when the command exists and is not seen by other processes)
# Example:
# kang$ sudoro
# root# touch /boot/aaa
# touch: cannot touch '/boot/aaa': Read-only file system