Skip to content

Instantly share code, notes, and snippets.

@phieber
phieber / makeRpi.sh
Created February 13, 2016 10:15
Script which creates new builds for the RaspberryPi. Those builds are pushed to https://rpi.pa.trickhieber.de .
#!/bin/bash
#
# Author: Patrick Hieber - github.com/phieber
#
# This work is licensed under a GNU General Public License (GPLv3) Version 3.0 http://www.gnu.org/licenses/gpl-3.0.html
cleanup() {
rm -rf /tmp/Gentoo* /tmp/root.tar.xz /tmp/boot.tar.xz /tmp/*.json /tmp/partition_setup.sh /tmp/rpi*
find /var/www/de/trickhieber/pa/rpi/htdocs/geNtOOBS* -mtime +1 -exec rm {} \;
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active October 11, 2025 07:20
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx