I hereby claim:
- I am mdaffin on github.
- I am mdaffin (https://keybase.io/mdaffin) on keybase.
- I have a public key whose fingerprint is 742D 825A 69EA B6A2 9096 1378 09A6 B699 E384 25B5
To claim this, I am signing this object:
| a |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # Usage: ./flasher path/to/rpi.img | |
| # | |
| # A interactive wrapper around ddrescue that offers a menu to select which | |
| # removable media to write the given image to. This makes it easier and | |
| # safer to flash images to SD Cards then simply using dd. | |
| # | |
| set -uo pipefail | |
| trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR |
| #!/bin/bash | |
| # Wraps aursync command to mount an amazon s3 bucket which contains a repository | |
| set -uo pipefail | |
| trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR | |
| INTERFACE=wlp58s0 | |
| wpa() { | |
| wpa_cli -i "${INTERFACE}" "$@" | |
| } |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "ubuntu/trusty64" | |
| config.vm.provision "shell", inline: <<-SHELL | |
| apt-get update -y | |
| apt-get install -y qemu qemu-user-static binfmt-support | |
| SHELL | |
| end |
| #![feature(lang_items,no_std,core_intrinsics,asm,start)] | |
| #![no_std] | |
| #![crate_type="staticlib"] | |
| use core::intrinsics::{volatile_store}; | |
| #[lang="stack_exhausted"] extern fn stack_exhausted() {} | |
| #[lang="eh_personality"] extern fn eh_personality() {} | |
| #[lang="panic_fmt"] | |
| #[no_mangle] |
| *.swp | |
| *.elf | |
| *.hex | |
| *.o |
| *.swp | |
| *.elf | |
| *.hex | |
| *.o |
| #!/bin/bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| function required() { | |
| hash "${1}" 2>/dev/null || { echo >&2 "${1} is required but is not installed. Aborting."; exit 1; } | |
| } | |
| required wget | |
| required unzip |