Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
igor_chubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
igor_chubin
4y ago
please send me your IP or at least its 3 first octets to igor AT chub.in
2.
▲
by
igor_chubin
4y ago
This is not a problem with wttr.in, this is a problem of `watch`. It is a known issue: it can't render ANSI output. You can try to run it with any command that has ANSI output, and you will see it. As a simple alternative, you write yo
3.
▲
by
igor_chubin
4y ago
try `curl wttr.in/Munich` (with your location specified instead of Munich)
4.
▲
by
igor_chubin
6y ago
Just use curl --user-agant "" wttr.in?A for that. The `A` option enforces ANSI output (curl wttr.in/:help for more)
5.
▲
by
igor_chubin
6y ago
I hoe it is listed at https://github.com/chubin/awesome-console-services
6.
▲
by
igor_chubin
6y ago
curl wttr.in/:help and the curlable directory is almost there As an interim solution, you can use this: curl https://raw.githubusercontent.com/chubin/awesome-console-services/master/README.md
7.
▲
by
igor_chubin
6y ago
Yes it works! The difference is minimal though (it was intentionally a one-liner)
8.
▲
by
igor_chubin
6y ago
Wow! That's cool. Let's try it curl() { [ -t 1 ] && curl "$@" | sanitize || curl "$@"; }
9.
▲
by
igor_chubin
6y ago
See my comment in the neighbor thread
10.
▲
by
igor_chubin
6y ago
No, because they are not implemented as a part of wego; wego is used just for visualization of one of the views (v1). The rest is implemented outside of it
11.
▲
by
igor_chubin
6y ago
Just use IFS for this w() { ( IFS=+; curl wttr.in/"$*";); }
12.
▲
by
igor_chubin
6y ago
Try this: curl ga.wttr.in/limerick
13.
▲
by
igor_chubin
6y ago
curl v2.wttr.in and for the white background: curl wttr.in/?I
14.
▲
by
igor_chubin
6y ago
Just add `F` to the options, and you don't need `| head -17` then
15.
▲
by
igor_chubin
6y ago
It was the case indeed (many many years ago), we discussed at the anuualy curl hackers conference in Nuremberg back in 2017, but the only terminals that we managed to find with the support of this were not younger than 2001. Anyway, one can
16.
▲
by
igor_chubin
6y ago
curl cheat.sh curl rate.sx curl qrenco.de and the rest from https://github.com/chubin/awesome-console-services
17.
▲
by
igor_chubin
6y ago
It is possible, but it brings nothing, because you don't only need to move to the end of the line but print something in between, and for that the server mush know the width of your terminal
18.
▲
by
igor_chubin
6y ago
The problem is that it depends on the terminal, and you can render this character properly for all 100% of the terminals on the server side
19.
▲
by
igor_chubin
6y ago
To say truth, it is not just a wego as a service since many years, but is started like that indeed Now it has a lot of additional features: * one-line output for status lines * astronomical information * translation to 70+ languages * geolo
20.
▲
by
igor_chubin
8y ago
It depends on topic + you can use the ~ notation to extract only parts of the cheat sheet. Check README on Github for that (or curl cht.sh/:help)
21.
▲
by
igor_chubin
8y ago
Yes, it is not good, we are working on the new frontend. I can give a link to it to you if you want, but not here, because it will not handle the load that comes after that; just write me a mail if you want to test it. Everybody who reads t
22.
▲
by
igor_chubin
8y ago
Yes curl cht.sh/:styles-demo select the best style for you, and use it in the queries. curl cht.sh/:help for more info. Also, use the special client cht.sh which supports persitent configuration and many other useful features.
23.
▲
by
igor_chubin
8y ago
We are working on that but it is not so easy because many queries are generated just in time. The high load problem is mitigated by the way, so you can try now if you want.
24.
▲
by
igor_chubin
8y ago
We are of course aware of the beautiful cheat project and we even use it (what is documented in our README.md file), but please keep in mind that: 1. Our project is called cheat.sh and not cheat (for example xterm.js and xterm are two separ
25.
▲
by
igor_chubin
8y ago
Most important things: curl cht.sh/:help curl cht.sh/language/question for question about language ?Q to switch comments off ?T to switch syntax highlighting off append /1 for the next question S
26.
▲
curl cheat.sh – answer to any question in any language on any programming lang
(github.com)
3 points
by
igor_chubin
8y ago
|
1 comments
27.
▲
by
igor_chubin
8y ago
The tool has many features. Most important things: curl cht.sh/:help curl cht.sh/language/question for question about language ?Q to switch comments off ?T to switch syntax highlighting off append /
28.
▲
curl cheat.sh – answer to any question in any language on any programming lang
(github.com)
4 points
by
igor_chubin
8y ago
|
1 comments
29.
▲
by
igor_chubin
8y ago
wttr.in uses its own version of "wego" with many additional features, forked from wego several years ago. Actually, it would be better to say, that wttr.in uses only artwork from "wego".
30.
▲
curl rate.sx/eth (or any other coin) for the cryptocurrency exchange rate chart
(github.com)
9 points
by
igor_chubin
8y ago
|
1 comments
More ›