• Announcements

    • MannDude

      Current state of vpsBoard   02/04/2017

      Dear vpsBoard members and guests:

      Over the last year or two vpsBoard activity and traffic has dwindled. I have had a change of career and interests, and as such am no longer an active member of the web hosting industry.

      Due to time constraints and new interests I no longer wish to continue to maintain vpsBoard. The web site will remain only as an archive to preserve and showcase some of the great material, guides, and industry news that has been generated by members, some of which I remain in contact to this very day and now regard as personal friends.

      I want to thank all of our members who helped make vpsBoard the fastest growing industry forum. In it's prime it was an active and ripe source of activity, news, guides and just general off-topic banter and fun.

      I wish all members and guests the very best, whether it be with your business or your personal projects.

      -MannDude
drmike

Weather from the Commandline by Igor Chubin

7 posts in this topic

I find myself looking at weather sites too often.  Part of work and need to.

Websites for weather are various states of bloat, plugins and  heavy to deal with.  I always have a slew of terminal windows open... so...

This is a good new / recent project by @igor_chubin (on Twitter) https://twitter.com/igor_chubin:

curl http://wttr.in/90210

curl http://wttr.in/seattle

For now it only outputs non US values (Celcius and km/h).   US-ificiation is coming soon.

Long live terminal friendly things like this!

PS: It works in browser also:

http://wttr.in/manisa

 

Code for the project: https://github.com/chubin/wttr.in

2 people like this

Share this post


Link to post
Share on other sites

Oh, that's awesome.

m6WXVQf.png

 

1 person likes this

Share this post


Link to post
Share on other sites

@MannDude It will help you for now to become a good world citizen and adapt to Celcius :)

Share this post


Link to post
Share on other sites

Nah, I like my weather and measurements made in freedom units.

3 people like this

Share this post


Link to post
Share on other sites

It needs curl user-agent to work though.

My curlrc file is set to  Windows firefox to avoid website 403s most of the time. If you curl it with non-curl useragent, you get html source.

 

[email protected]:/dev/null$ pc curl -L -A "curl 666 satanic edition" wttr.in/washington
ProxyChains-3.1 (http://proxychains.sf.net)
|DNS-request| wttr.in
|R-chain|-<>--<><>-OK
|DNS-response| wttr.in is ..
|R-chain|-<>--<--timeout
|R-chain|-<>--<><>-OK
Weather for City: Washington, United States of America

    \  /       Partly Cloudy
  _ /"".-.     17 °C         
    \_(   ).   ↑ 24 km/h     
    /(___(__)  16 km         
               0.0 mm        
                                                       long result

Follow @igor_chubin for wttr.in updates

 

 

Well done to the man, programmers always amaze with their achievements.

Share this post


Link to post
Share on other sites

Pretty nifty.... of you to have curl setting browser.. Indeed common problem getting blocked due to such for me on downloads.

@igor_chubin is active with this project, so I am expecting more goodies :)

Share this post


Link to post
Share on other sites

  • Similar Content

    • By drmike
      Anyone have personal notes or aware of a working how-to out there for Debian and derivatives that covers Softether installation?
      Looking for how-to that does pedestrian VPN setup as a replacement to OpenVPN.  Nothing fancy.  Only requirement is all CLI as doing this with servers and no GUI or Windows for the control client they push.