This file contains 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 | |
# Usage | |
# mountAPFSreadOnly device | |
# Example | |
# mountAPFSreadOnly /dev/disk8s1 | |
# inspiration via: https://forums.macrumors.com/threads/how-to-mount-an-external-drive-apfs-as-read-only.2241919/post-28578009 |
This file contains 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 | |
BUILD_DIR="bfgminer" | |
git clone --depth 1 https://github.com/luke-jr/bfgminer $BUILD_DIR | |
git submodule init && git submodule update --depth 1 | |
cd $BUILD_DIR | |
make distclean |
This file contains 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 | |
### Script to do initial configuration of MINIBIAN Raspberry Pi distribution | |
### https://minibianpi.wordpress.com/ v. 2015-02-18 | |
### inspired by http://www.htpcguides.com/lightweight-raspbian-distro-minibian-initial-setup/ | |
## Initial updates and installs | |
apt-get update | |
apt-get install nano sudo rpi-update raspi-config usbutils dosfstools rng-tools -y |
This file contains 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 | |
### Command log to install Cuda Toolkit 6.5, driver 343.22, and ccminer. | |
## Update the system | |
sudo apt-get update && sudo apt-get -y dist-upgrade | |
# All the dependencies for Cuda & ccminer (I think) | |
sudo apt-get -y install gcc g++ build-essential automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev | |
This file contains 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 | |
### Startup Script for sp's ccminer fork | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
# Got that snippet from: http://stackoverflow.com/a/246128 | |
POOLURL="stratum+tcp://us-east01.miningrigrentals.com:3333" | |
USERNAME="squadbox.14783" | |
PASSWORD="x" |
This file contains 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
### Ubuntu 14.04 NetworkConsole preseed.cfg | |
# Based off Debian Jessie's example preseed: http://d-i.debian.org/manual/example-preseed.txt | |
# Accessed: 1 Sept 2014 | |
#### Contents of the preconfiguration file (for jessie) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string en_US | |
# Keyboard selection. |