I created a bootable usb drive in disk utility
then ran diskutil list
to find the identifier
/dev/disk2s1
in my case
make sure to unmount the drive
then dd
I created a bootable usb drive in disk utility
then ran diskutil list
to find the identifier
/dev/disk2s1
in my case
make sure to unmount the drive
then dd
my drive is hfsplus usb 2TB
get the usb UUID from blkid
pretty print drive locations lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
followed this, with special attention to the order. Drive must be unmounted before running fsck.
note: this is probably not a good idea if any of the media need transcoding.
another note: was able to install the open source verion of Emby called JellyFin, using Docker: https://hub.docker.com/r/jellyfin/jellyfin
https://www.mono-project.com/download/stable/#download-lin-debian
sudo apt install apt-transport-https dirmngr
I wanted to have an outside domain name resolve to a computer inside my local private network. I am tyring out duckdns.org to handle the resolution. The DNS resolves fine outside of my local network, yet locally the fqdn will not resolve. To enable this, a local dns needs to handle the request, routing to the local server.
This is where the raspberry pi dns comes in. I'm running Raspbian GNU/Linux 9 (stretch), a Debian variant. http://www.raspbian.org/
I have been unable to get dnsmasq to start correctly on reboot. Nothing stands out in daemon.log
. sudo service dnsmasq status
shows one particular line that is different from the status of a reboot vs a manual service restart:
# modified version of: | |
# wget https://gist.githubusercontent.com/samatjain/4dda24e14a5b73481e2a/raw/5d9bac8ec40b94833b4e9938121945be252fdee1/Slim-Raspbian.sh -O Slim-Raspbian.sh | |
# GUI-related packages | |
# none right now... | |
# Edu-related packages | |
pkgs=" | |
oracle-java8-jdk | |
minecraft-pi | |
python-minecraftpi |
{ | |
"Statement": [ | |
{ | |
"Action": [ | |
"apigateway:*", | |
"cloudformation:CancelUpdateStack", | |
"cloudformation:ContinueUpdateRollback", | |
"cloudformation:CreateChangeSet", | |
"cloudformation:CreateStack", | |
"cloudformation:CreateUploadBucket", |
location /__special { | |
internal; | |
allow all; | |
root /usr/share/nginx/html/__special; | |
} | |
location = /__md_file { | |
internal; | |
allow all; |
#!/usr/bin/env bash | |
INI_FILE=~/.aws/credentials | |
while IFS=' = ' read key value | |
do | |
if [[ $key == \[*] ]]; then | |
section=$key | |
elif [[ $value ]] && [[ $section == '[default]' ]]; then | |
if [[ $key == 'aws_access_key_id' ]]; then |
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.