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
/dev | |
/media | |
/mnt | |
/proc | |
/run | |
/sys | |
/tmp | |
/var/tmp | |
.android/avd |
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
sudo su | |
mount /dev/nvme0n1p3 /mnt | |
mount /dev/nvme0n1p1 /mnt/boot/efi/ | |
mount --bind /dev /mnt/dev | |
mount --bind /proc /mnt/proc | |
mount --bind /sys /mnt/sys | |
mount -o bind /run /mnt/run | |
mkdir /run/resolvconf | |
echo 'nameserver 8.8.4.4' | tee -a /etc/resolv.conf |
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
#!/usr/bin/env python | |
# On Amazon Linux 2, when you ssh into an instance, the Elastic Beanstalk environment variables are | |
# not set. This is annoying when trying to reproduce production issues. I dug for a while, couldn't | |
# find any documentation on this, then rolled my own solution. NB AL2 has Python 2 not 3 *sigh* | |
# Usage: | |
# Save this file on the instance, I suggest the name eb-env-generator.py | |
# | |
# python eb-env-generator.py | |
# |
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
GitHub without assign, mention, review requested | |
(from:notifications@github.com -cc:(assign@noreply.github.com OR mention@noreply.github.com OR review_requested@noreply.github.com)) |