VirtualTam's bookmarks
26 bookmarks found
-
Vim: Function copy
2022-01-05 va{Vy
- Place the cursor somewhere in my method,
va{
to visually select the the code block,V
to turn the selection from character-wise to line-wise,y
to yank
-
Introduction to the Zettelkasten Method
2021-10-17 - https://luhmann.surge.sh/communicating-with-slip-boxes
- https://news.ycombinator.com/item?id=24916536
- https://forum.zettelkasten.de/discussion/comment/5918/
- https://zettelkasten.de/posts/understanding-hierarchy-translating-folgezettel/
- https://zettelkasten.de/posts/luhmanns-second-zettelkasten/
- https://en.wikipedia.org/wiki/Zettelkasten
- https://www.foleymusicandarts.com/blog/2019/3/5/how-i-use-the-archive-and-my-music-staff-to-create-engaging-lesson-notes
-
Python testing: unittest / pytest
2020-09-07 - https://blog.j-labs.pl/2019/02/Pytest-why-its-more-popular-than-unittest
- https://www.reddit.com/r/Python/comments/fdv5f2/pytest_or_unittest_in_2020/
- https://www.reddit.com/r/Python/comments/6s4a4p/played_with_pytest_for_the_first_time_today_uhh/
- https://www.reddit.com/r/Python/comments/5uxh22/unittest_vs_pytest/
- https://stackoverflow.com/questions/61121824/pytest-vs-unittest-framework-testloader-and-loadtestsfromtestcase-methods
- https://stackoverflow.com/questions/27954702/unittest-vs-pytest
-
Cross-Origin Resource Sharing (CORS) | MDN
2019-01-23 - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
-
Effective Go - Embedding
2018-09-20 - https://stackoverflow.com/questions/31505587/how-can-two-different-types-implement-the-same-method-in-golang-using-interfaces
- https://stackoverflow.com/questions/34079466/golang-embedded-struct
- https://github.com/golang/go/issues/22013
- https://golang.org/doc/faq#inheritance
- https://golang.org/doc/faq#Is_Go_an_object-oriented_language
- https://travix.io/type-embedding-in-go-ba40dd4264df
-
- https://brandonwamboldt.ca/understanding-the-php-fpm-status-page-1603/
- http://www.gregfreeman.io/2016/how-to-connect-to-php-fpm-directly-to-resolve-issues-with-blank-pages/
- https://www.thatsgeeky.com/2012/02/directly-connecting-to-php-fpm/
- https://easyengine.io/tutorials/php/fpm-status-page/
$ SCRIPT_NAME=/status \ SCRIPT_FILENAME=/status \ QUERY_STRING=json \ REQUEST_METHOD=GET \ cgi-fcgi -bind -connect /var/run/php/php7.0-fpm.sock \ | grep '{' \ | jq '.'
-
Træfik options:
- https://docs.traefik.io/configuration/backends/docker/
- https://docs.traefik.io/configuration/commons/
Relevant backend labels:
traefik.port
traefik.docker.network
traefik.backend.loadbalancer.method
traefik.backend.loadbalancer.stickiness
Examples:
Gateway timeout and overlay network setup:
-
-
Chaos Engineering - O'Reilly Media
2017-08-22 With so many interacting components, the number of things that can go wrong in a distributed system is enormous. You’ll never be able to prevent all possible failure modes, but you can identify many of the weaknesses in your system before they’re triggered by these events. This report introduces you to Chaos Engineering, a method of experimenting on infrastructure that lets you expose weaknesses before they become a real problem.
-
UK Government - Digital Service Standard
2016-08-16 - Understand user needs
- Do ongoing user research
- Have a multidisciplinary team
- Use agile methods
- Iterate and improve frequently
- Evaluate tools and systems
- Understand security and privacy issues
- Make all new source code open
- Use open standards and common platforms
- Test the end-to-end service
- Make a plan for being offline
- Make sure users succeed first time
- Make the user experience consistent with GOV.UK
- Encourage everyone to use the digital service
- Collect performance data
- Identify performance indicators
- Report performance data on the Performance Platform
- Test with the minister