VirtualTam's bookmarks
46 bookmarks found
-
-
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
-
Lenovo Thinkpad 13 + Linux - Feedback
2017-04-15 +++: backlit keyboard, battery ++: HDPI matte screen, touchpad+trackpad -: BIOS messages in approximative English --: no ethernet port ---: cooling / fan noise
ETH available through:
- 10$ generic USB-C adapter
- 25$ Lenovo USB-C adapter
- 150$ Lenovo USB-C dock
- 180$ Lenovo docking station
Cooling / fan control:
- triggered when the CPU reaches approx. 46° / 20% load
- slowest speed: 3400 RPM (!), goes up to 4000+ RPM
TODO:
- try updating BIOS/UEFI
- use a laptop cooling pad
- killall -9 firefox # not really an option tho
User-contributed feedback:
- https://www.reddit.com/r/thinkpad/comments/4k2kzl/debian_on_the_thinkpad_13/
- https://www.reddit.com/r/thinkpad/comments/4jh3wb/thinkpad_13_manjaroarch_impressions/
- https://www.reddit.com/r/thinkpad/comments/4lzsks/my_thinkpad_13_experience_with_ubuntu_1604/
- https://www.reddit.com/r/thinkpad/comments/4pieti/thinkpad_13_fan_vs_zenbook/
-
Audacity themes
2016-08-30 To enable theming, append the following section to ~/.audacity-data/audacity.cfg
[Theme] LoadAtStart=1
This will load any theme resource located under ~/.audacity-data/Theme/ImageCache.png
Some themes:
-
Literate DevOps
2016-03-29 """ Instead of opening up a terminal to my virtual machine, I pop into Emacs and load this sprint’s /note file/1, create a new header, and enter the shell and ruby commands in this text file.
What good is this? Unlike a traditional terminal, this allows me to log, document and execute each command.
As an old bear with very little brains, my prose can explain the background and purpose of each command. Clicking the hyperlink refreshes my memory of previous discoveries. A keychord executes the code block… """
-
PulseAudio Modules
2015-01-08 Tweak which modules are loaded in either: /etc/pulse/default.pa ~/.config/pulse/default.pa