VirtualTam's bookmarks
67 bookmarks found
-
Software disenchantment @ tonsky.me
2018-09-29 -
Kubernetes Best Practices - GCP Blog
2018-09-28 - https://cloudplatform.googleblog.com/2018/04/Kubernetes-best-practices-how-and-why-to-build-small-container-images.html
- https://cloudplatform.googleblog.com/2018/04/Kubernetes-best-practices-Organizing-with-Namespaces.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-Setting-up-health-checks-with-readiness-and-liveness-probes.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-Resource-requests-and-limits.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-terminating-with-grace.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-mapping-external-services.html
- https://cloudplatform.googleblog.com/2018/06/Kubernetes-best-practices-upgrading-your-clusters-with-zero-downtime.html
-
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!
-
Validating Atom and RSS feeds
2018-04-02 Specifications:
- Atom:
- RSS 2.0:
- http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared
W3C Validation services:
- https://validator.w3.org/feed/
- https://validator.w3.org/feed/docs/
- http://www.feedvalidator.org/
- https://github.com/rubys/feedvalidator
- https://lists.w3.org/Archives/Public/www-validator/
- https://groups.google.com/group/feedvalidator-users
Literature:
- https://feeder.co/knowledge-base/rss-feed-creation/how-to-validate-a-rss-feed/
- http://www.rss-specifications.com/feed-validators.htm
Threads:
-
Administration
- https://docs.djangoproject.com/en/2.0/ref/contrib/admin/
- https://docs.djangoproject.com/en/2.0/ref/contrib/admin/admindocs/
Models and Querysets
- https://docs.djangoproject.com/en/2.0/topics/db/models/
- https://docs.djangoproject.com/en/2.0/ref/models/instances/
- https://docs.djangoproject.com/en/2.0/ref/models/fields/
- https://docs.djangoproject.com/en/2.0/topics/db/aggregation/
Static files
User management
- https://docs.djangoproject.com/en/2.0/topics/auth/default/
- https://docs.djangoproject.com/en/2.0/topics/auth/customizing/
- https://docs.djangoproject.com/en/2.0/ref/contrib/auth/
- https://docs.djangoproject.com/en/2.0/ref/settings/#login-redirect-url
URL dispatcher
-
DMARC reports analysis tools
2017-12-21 - https://dmarc.org/resources/code-and-libraries/
- https://blog.returnpath.com/how-to-read-your-first-dmarc-reports-part-1/
- https://domainaware.github.io/checkdmarc/
- https://github.com/domainaware/checkdmarc
- https://github.com/domainaware/parsedmarc
- https://github.com/trailofbits/dmarc
- https://github.com/beckspaced/Dmarc-Report-Viewer-Extended
- https://github.com/linkedin/lafayette/
- https://github.com/thinkingserious/sendgrid-python-dmarc-parser
- https://github.com/prbinu/dmarc-report-processor
- https://github.com/alan-hicks/django-dmarc
- https://github.com/martinhoefling/go-dmarc-report
- https://github.com/cheatas/DMARCate
-
Actors:
- database server / cluster
- load-balanced application servers relying on a database schema with migrations
- reverse proxy
Issue:
- managing database schema migrations
Possible sequence:
- create the database
- run a service that executes database schema migrations
- start application servers
- start the load-balancer / reverse-proxy
Resources:
- https://www.reddit.com/r/docker/comments/2t2pnf/what_are_best_strategies_to_migrate_relational/
- https://softwareengineering.stackexchange.com/questions/357929/db-migration-strategy-for-docker-containers-in-aws-ecs
- https://stackoverflow.com/questions/41592091/run-a-database-migration-command-when-deploying-a-docker-container-to-aws
- https://ltd-keeper.lsst.io/gke-migrations.html
- https://stackoverflow.com/questions/31715239/docker-compose-database-migrations-and-other-pre-post-scripts
- https://stackoverflow.com/questions/38089999/docker-compose-rails-best-practice-to-migrate
- https://stackoverflow.com/questions/37058812/how-best-to-run-one-off-migration-tasks-in-a-kubernetes-cluster
-
- http://espressif.com/products/hardware/esp8266ex/overview/
- http://espressif.com/en/products/hardware/esp8266ex/resources
- https://github.com/espressif/esptool
- https://esp8266.ru/esplorer/
- https://github.com/nodemcu/nodemcu-firmware
- https://medium.com/bonus-thoughts/getting-started-with-the-esp8266-a94a85de5174
- https://blog.hackster.io/a-wi-fi-analyzer-inside-of-a-tic-tac-container-9f76483d245a
- https://medium.com/tag/esp8266
- https://github.com/dgolak/esp8266
- https://twitter.com/ESP8266
- https://github.com/esp8266
- https://github.com/esp8266/Arduino
-
- https://www.quora.com/What-are-good-Python-interview-questions
- https://www.reddit.com/r/Python/comments/1knw7z/python_interview_questions/
- https://resources.workable.com/python-developer-interview-questions
- https://stackoverflow.com/questions/2573135/python-progression-path-from-apprentice-to-guru/2576240#2576240
- https://docs.python.org/3/tutorial/
- https://www.reddit.com/r/Python/comments/6v0amj/the_more_i_learn_about_python_the_more_i_realized/
- https://github.com/00111000/Imports-in-Python
Language:
- GIL
- memory management, object references
- data structures
- duck typing
- monkey patching
- generators
- list & dict comprehensions
- decorators
- introspection
- ...
Development tools:
- debugging
- packaging
- lint
- testing: unitary, functional, TDD, BDD
Libraries:
- data parsing
- data scraping
- database management
- http requests
- web frameworks
- ...