VirtualTam's bookmarks
24 bookmarks found
-
Fixing a Bug in PyPy's Incremental GC
2024-03-28 -
Debian Package Repository - Instructions to connect to a third-party repository (with Ansible)
2024-01-06 - apt_key deprecated in Debian/Ubuntu - how to fix in Ansible
- ansible.builtin.deb822_repository - Add and remove deb822 formatted repositories
- ansible/ansible#78063 - ansible.builtin.apt_key adds keys to a deprecated location
- Example usages of the new
deb822_repository
Ansible module - Ubuntu [Spec] APT deb822 sources by default
-
Fixing stutters in Papers Please on Linux
2022-08-28 -
Recapping and restoring a Harman Kardon 330C
2022-06-05 -
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
- https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-instance-metadata-options.html
- https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/
- https://aws.amazon.com/blogs/aws/new-host-based-routing-support-for-aws-application-load-balancers/
- https://aws.amazon.com/about-aws/whats-new/2018/07/elastic-load-balancing-announces-support-for-redirects-and-fixed-responses-for-application-load-balancer/
- https://www.reddit.com/r/aws/comments/e18e5n/botexploit_what_is_this_trying_to_do_and_how
- https://www.reddit.com/r/aws/comments/e18e5n/botexploit_what_is_this_trying_to_do_and_how/f8qympp/
- https://forums.aws.amazon.com/thread.jspa?threadID=316889
- https://owasp.org/www-community/attacks/Server_Side_Request_Forgery
- https://www.wired.com/story/capital-one-paige-thompson-case-hacking-spree/
- https://krebsonsecurity.com/2019/08/what-we-can-learn-from-the-capital-one-hack/
- https://krebsonsecurity.com/2019/07/capital-one-data-theft-impacts-106m-people/
- http://www.thecloudavenue.com/2019/08/how-capital-one-hack-was-achieved-in-aws.html
- http://www.thecloudavenue.com/2019/11/changes-to-aws-ec2-instance-metadata-service.html
-
Docker & UFW
2019-10-24 - https://github.com/moby/moby#4737
- https://github.com/docker/for-linux/issues/690
- https://stackoverflow.com/questions/30383845/what-is-the-best-practice-of-docker-ufw-under-ubuntu
- https://www.mkubaczyk.com/2017/09/05/force-docker-not-bypass-ufw-rules-ubuntu-16-04/
- https://www.techrepublic.com/article/how-to-fix-the-docker-and-ufw-security-flaw/
- https://www.linux.com/news/how-fix-docker-and-ufw-security-flaw/
- https://svenv.nl/unixandlinux/dockerufw/
- https://blog.viktorpetersson.com/2014/11/03/the-dangers-of-ufw-docker.html
- https://news.ycombinator.com/item?id=27613217
-
Here are the steps I used to migrate a CentOS 7 VM from (presumably?) an ESXi server, to a local VirtualBox environment.
The LVM volumes were not detected at boot, and after the boot timeout, the OS fell back to the Dracut emergency shell.
- get a CentOS minimal installation CD
- check the VM's resources and peripherals:
- ensure there are no floppy drives (!)
- setup CPU and RAM resources
- check virtual drives
- add an SCSI optical drive if needed
- optional: convert the virtual drive images from VMDK to VDI
- mount the CentOS installation disc
- boot on the installation disc:
- select "Troubleshooting", then "Rescue"
- let the rescue utility detect filesystems and mountpoints
$ chroot
to the detected environment- backup files:
/etc/fstab
/boot/grub/grub.cfg
- under /boot, backup the initrd and initramfs for the current configuration (these will be overwritten)
- compare the current
/etc/fstab
with the output of$ lsblk
and$ blkid
- if needed, manually edit /etc/fstab to use the appropriate block device UUIDs, identifiers and mountpoints
- regenerate GRUB configuration:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- if needed, reinstall GRUB:
$ grub-install /dev/sda
- rebuild initrd:
$ mkinitrd --force /boot/<initrd_image> <kernel_version>
- rebuild initramfs:
$ dracut --force <kernel_version>
- exit the chroot
- unmount the installation disc
- reboot
- optional but highly recommended: cross your fingers
- ...
- profit!
-
-
Windows - Locate & fix the MBR
2018-01-05 - https://superuser.com/questions/510485/how-to-tell-which-physical-disks-have-bootable-mbr
- https://neosmart.net/wiki/fix-mbr/
- https://neosmart.net/wiki/reboot-and-select-proper-boot-device/
- https://askubuntu.com/questions/859685/how-to-delete-the-bootable-flag-of-a-partition
- https://superuser.com/questions/596919/how-to-set-boot-disk-flag-with-diskpart
-
- https://www.jeffgeerling.com/blog/2017/follow-questions-dont-drown-your-open-source-project
- http://www.michaelbromley.co.uk/blog/529/why-i-havent-fixed-your-issue-yet
- https://nolanlawson.com/2017/03/05/what-it-feels-like-to-be-an-open-source-maintainer/
- http://blog.ffwll.ch/2017/01/maintainers-dont-scale.html
-
xkcd: Fixing Problems
2016-10-04 -
Fix conflicts only once with git rerere
2015-06-11 Original article: http://www.git-attitude.fr/2014/11/04/git-rerere/ Official doc: http://git-scm.com/docs/git-rerere