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
# create a vault | |
aws glacier create-vault --account-id - --vault-name my-vault-name | |
# check that the vault was created successfully | |
aws glacier describe-vault --account-id - --vault-name my-vault-name | |
# upload a file to the vault | |
aws glacier upload-archive --vault-name my-vault-name --account-id - --archive-description "my-archive-description" --body my-text-file.txt | |
# request an inventory of the vault |
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
# Install QEMU OSX port with ARM support | |
sudo port install qemu +target_arm | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
curl -OL \ | |
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
# Download filesystem and export location |
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
If you have ever put something in a file like .bashrc and had it not work, or are | |
confused by why there are so many different files — .bashrc, .bash_profile, .bash_login, | |
.profile etc. — and what they do, this is for you. | |
The issue is that Bash sources from a different file based on what kind of shell it thinks | |
it is in. For an “interactive non-login shell”, it reads .bashrc, but for an “interactive | |
login shell” it reads from the first of .bash_profile, .bash_login and .profile (only). | |
There is no sane reason why this should be so; it’s just historical. Follows in more detail. | |
For Bash, they work as follows. Read down the appropriate column. Executes A, then B, then C, | |
etc. The B1, B2, B3 means it executes only the first of those files found. |
OlderNewer