This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get upgrade | |
apt-get install -y raspberrypi-kernel-headers | |
echo "deb http://deb.debian.org/debian/ unstable main" | sudo tee --append /etc/apt/sources.list.d/unstable.list | |
apt-get install -y dirmngr | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553 | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010 | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC | |
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' | sudo tee --append /etc/apt/preferences.d/limit-unstable | |
apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved: see https://github.com/marklister/overlayRoot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# "Vanity" keygen for Wireguard | |
# Example usage: ./vanity-genkey '^CPT/|^HRE/|^EDI/' | |
# Or on a multi core machine ./vanity-genkey '^CPT/|^HRE/|^EDI/' >> keys & | |
# Spawn as many as your computer can deal with. | |
# Adding -i to the grep will speed things up at the expense of readability |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Scala hex / decimal binary calculator | |
* (c) Mark Lister 2012 | |
* Licence Apache 2. | |
*/ | |
class BaseN(b: BigInt, val baseN: Int) extends BigInt(b.underlying) { | |
def n(x: Int) = new BaseN(b, x) | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.catch22.amazonws | |
/** | |
* This class derives from https://github.com/keplar/scalapac | |
* It's released under the Apache licence V2.0 | |
* Copyright (c) 2012 Orderly Ltd. All rights reserved. | |
* Copyright (c) 2012 Mark Lister | |
* | |
*/ |