ASCII version of the local weather. You can also visit a specific city by appending the city name to the URL, like this:
Nicely done. Very retro.
ASCII version of the local weather. You can also visit a specific city by appending the city name to the URL, like this:
Nicely done. Very retro.
This is really designed for use in the Terminal. Just type… “curl wttr.in” into your Terminal window. No need to specify the location since it will make a decent guess at your location based on your IP address.
It also recognizes 3 letter airport codes (i.e. phl for Philadelphia).
Cool. But tonight it’s still going to be sunny. Now I’m worried.
Unless you’re in a big company like mine. I’m in Chicago but my IP address is in Florida.
I wish there were a way to make it switch to Fahrenheit.
You can use zipcode too so if you are looking for most accurate local weather then that might be the way to go, e.g., “curl wttr.in/90210”
The conversion of C to F is only hard because we don’t look at it properly. Anybody can do it in his head.
F = C * 9/5 + 32
Yep, it looks hard. But consider:
9/5 = (10-1)/5 = 2-⅕ = 2 – 0.2
So no look at it:
F = 2C – 0.2C +32
Take 18C. Can you double it? Of course. That’s 36. So
36 – 3.6 + 32 = 64.4F
Do the addition first, then the substraction, and you’ll probably find it easier, since the subtraction will usually add 1 digit to the number you’re keeping in your head.
(I don’t know if anybody else got something out of this, but I think it’s great. I only today looked anew at that equation, just for this post)
I usually do the CF conversion in my head the way the equation is written.. but your method is how I solve just about every other math problem.
I usually do the CF conversion in my head the way the equation is written.. but your method is how I solve just about every other math problem.