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
# Machine with internet access | |
virtualenv -p $(which python2.7) venv | |
source venv/bin/activate | |
mkdir pip-sources | |
pip download --no-binary ./pip-sources <package1> | |
pip download --no-binary ./pip-sources <package2> | |
pip install --no-index --find-links=./pip-sources <package1> <package2> | |
pip freeze > pip_requirements.txt | |
tar czf required-packages.tar.gz pip_requirements.txt ./pip-sources |
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
# | |
# Access ZFS array on Mac without Open ZFS on OS X (O3X) | |
# | |
# Origin: O3X crashing computer, and drive array could not be attached | |
# as a complete set (as a USB device) to a VM. Used only as recovery | |
# mechanism to extract data from the ZFS array. ZFS is not fully | |
# supported on Ubuntu 15 (should be baked into 16). | |
# | |
# Requires raw access to the disks: directly attach as USB device | |
# or (as in this description) disks are accessed as raw devices |
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
# From | |
# https://sites.google.com/site/astudyofentropy/project-definition/raspberry-pi-internal-hardware-random-number-generator | |
# http://scruss.com/blog/2013/06/07/well-that-was-unexpected-the-raspberry-pis-hardware-random-number-generator/ | |
# Install the kernel module for the hardware RNG | |
# After this command, random data is available from /dev/hwrng | |
sudo modprobe bcm2708-rng | |
# Make sure it's activated each boot | |
# Add this to /etc/modules |
NewerOlder