399 karma · joined May 2, 2018 (8y ago) · 97 submissions
comment 3d ago · link · parent
1. Increase the font-size 2. Remove the white background for light mode 3. Respect system dark mode and have a nice dark theme
Snippet (hopefully HN renders it ok):
! Hacker News: bigger text + soft light theme + dark theme that follows the system setting
news.ycombinator.com##html:style(zoom: 1.25 !important)
news.ycombinator.com##.comment, .commtext:style(font-size: 10pt !important; line-height: 1.45 !important)
news.ycombinator.com###hnmain:style(max-width: 960px !important)
! Light
news.ycombinator.com##:matches-media((prefers-color-scheme: light)) body, #hnmain, input[readonly]:style(background-color: #f1eee6 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: light)) .subtext, .comhead, .subtext a:link, .comhead a:link:style(color: #666 !important)
! Dark
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) html:style(color-scheme: dark !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) body:style(background-color: #111 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) #hnmain, input[readonly]:style(background-color: #1c1c1c !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) td[bgcolor="#ff6600"]:style(background-color: #b34700 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .pagetop, .pagetop a:link, .pagetop a:visited:style(color: #111 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) body, td, .default, .title, .subtext, .comhead, .yclinks:style(color: #8f8f8f)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) a:link, .c00, .c00 a:link, .admin, .admin td:style(color: #dcdcdc !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) a:visited, .subtext a:link, .comhead a:link:style(color: #8f8f8f !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .c5a, .c5a a:link, .c5a a:visited:style(color: #a8a8a8 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .c73, .c73 a:link, .c73 a:visited, .c82, .c82 a:link, .c82 a:visited:style(color: #8a8a8a !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .c88, .c88 a:link, .c88 a:visited, .c9c, .c9c a:link, .c9c a:visited:style(color: #707070 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .cae, .cae a:link, .cae a:visited, .cbe, .cbe a:link, .cbe a:visited:style(color: #575757 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .cce, .cce a:link, .cce a:visited, .cdd, .cdd a:link, .cdd a:visited:style(color: #424242 !important)
news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) input, textarea:style(background-color: #262626 !important; color: #dcdcdc !important; border: 1px solid #444 !important)
You can tweak them as you please :)comment 6mo ago · link · parent
comment 8mo ago · link · parent
You write a command, you remember that you need to do something else first, press ctrl+q/the lines gets cleared, write a different command and after you press enter to run it the old command appears again :)
comment 1y ago · link · parent
If the answer is the latter, seaweedfs is an option:
https://github.com/seaweedfs/seaweedfs?tab=readme-ov-file#qu...
comment 1y ago · link · parent
There was a discussion open on containerd's GitHub on removing the dependency on the pause image but it has been closed as won't fix: https://github.com/containerd/containerd/issues/10505
Also, if you are using kubeadm to create your cluster, beware that kubeadm may be pre-pulling a different pause image if it does not match your containerd configuration: https://github.com/kubernetes/kubeadm/issues/2020
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
The United Provinces of the Río de la Plata (Spanish: Provincias Unidas del Río de la Plata), earlier known as the United Provinces of South America (Spanish: Provincias Unidas de Sudamérica), was a name adopted in 1816 by the Congress of Tucumán for the region of South America that declared independence in 1816, with the Sovereign Congress taking place in 1813, during the Argentine War of Independence (1810–1818) that began with the May Revolution in 1810. It originally comprised rebellious territories of the former Spanish Viceroyalty of the Río de la Plata dependencies and had Buenos Aires as its capital.
source: https://en.wikipedia.org/wiki/United_Provinces_of_the_R%C3%A...
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
If everybody did a fair-use of the Docker Hub maybe we wouldn't have the rate-limits in the first place? But I think we all learned that won't be happening in the open Internet.
Setting up a pull-through cache is pretty straight-forward, you can find the instructions in Docker's documentation: https://docs.docker.com/docker-hub/image-library/mirror/
comment 1y ago · link · parent
I guess that more advance tool would be "atuin" [1], but it is too much for my use case.
[0] https://github.com/junegunn/fzf [1] https://github.com/atuinsh/atuin
comment 1y ago · link · parent
Note: english is not my mother tongue, but I am from the civilised part of the world that uses the metric system FWIW.
comment 2y ago · link · parent
What's wrong with using a calendar date like may the 1st? I know that there are other calendars too. But is more manageable IMO.
comment 2y ago · link · parent
comment 3y ago · link · parent
It's so great to be able to listen and learn from the people that invented these important building blocks themselves, I feel lucky. Thanks for sharing.