面白コマンド
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
[root@HYPERION ~]# curl wttr.in/Tokyo Weather report: Tokyo, Japan \ / Partly cloudy _ /"".-. 25-26 °C \_( ). ↑ 9 km/h /(___(__) 20 km 0.0 mm lqqqqqqqqqqqqqk lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqqu Tue 29 May tqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Morning x Noon mqqqqqqwqqqqqqj Evening x Night x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu x \ / Partly cloudy x \ / Partly cloudy x \ / Partly cloudy x Cloudy x x _ /"".-. 25-26 °C x _ /"".-. 28 °C x _ /"".-. 26 °C x .--. 23-25 °C x x \_( ). ↑ 9-11 km/h x \_( ). ↑ 20-23 km/h x \_( ). ↑ 27-37 km/h x .-( ). ↑ 24-35 km/h x x /(___(__) 20 km x /(___(__) 19 km x /(___(__) 20 km x (___.__)__) 20 km x x 0.0 mm | 0% x 0.0 mm | 0% x 0.0 mm | 0% x 0.0 mm | 0% x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj lqqqqqqqqqqqqqk lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqqu Wed 30 May tqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Morning x Noon mqqqqqqwqqqqqqj Evening x Night x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu x Overcast x _`/"".-. Moderate rain …x .-. Light rain x .-. Patchy light r…x x .--. 22 °C x ,\_( ). 21 °C x ( ). 19 °C x ( ). 19 °C x x .-( ). ← 5-7 km/h x /(___(__) ← 6-8 km/h x (___(__) ← 10-13 km/h x (___(__) ? 10-14 km/h x x (___.__)__) 15 km x ?‘?‘?‘?‘ 12 km x ‘ ‘ ‘ ‘ 13 km x ‘ ‘ ‘ ‘ 13 km x x 0.0 mm | 0% x ?’?’?’?’ 3.2 mm | 89% x ‘ ‘ ‘ ‘ 1.8 mm | 87% x ‘ ‘ ‘ ‘ 2.0 mm | 86% x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj lqqqqqqqqqqqqqk lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqqu Thu 31 May tqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Morning x Noon mqqqqqqwqqqqqqj Evening x Night x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu x \ / Partly cloudy x \ / Partly cloudy x _`/"".-. Patchy light d…x Overcast x x _ /"".-. 21 °C x _ /"".-. 23-25 °C x ,\_( ). 21 °C x .--. 20 °C x x \_( ). ? 3-4 km/h x \_( ). ↑ 10-12 km/h x /(___(__) ↑ 22-27 km/h x .-( ). ↑ 9-12 km/h x x /(___(__) 20 km x /(___(__) 20 km x ‘ ‘ ‘ ‘ 12 km x (___.__)__) 11 km x x 0.0 mm | 0% x 0.0 mm | 0% x ‘ ‘ ‘ ‘ 0.2 mm | 60% x 0.0 mm | 0% x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj New feature: multilingual location names wttr.in/станция+Восток (in UTF-8) and location search wttr.in/~Kilimanjaro (just add ~ before) Follow @igor_chubin for wttr.in updates |
ヘルプでいろいろいじれそう
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
[root@HYPERION ~]# curl wttr.in/:help Usage: $ curl wttr.in # current location $ curl wttr.in/muc # weather in the Munic airport Supported location types: /paris # city name /~Eiffel+tower # any location /Москва # Unicode name of any location in any language /muc # airport code (3 letters) /@stackoverflow.com # domain name /94107 # area codes /-78.46,106.79 # GPS coordinates Special locations: /moon # Moon phase (add ,+US or ,+France for these cities) /moon@2016-10-25 # Moon phase for the date (@2016-10-25) Units: ?m # metric (SI) (used by default everywhere except US) ?u # USCS (used by default in US) ?M # show wind speed in m/s View options: ?0 # only current weather ?1 # current weather + 1 day ?2 # current weather + 2 days ?n # narrow version (only day and night) ?q # quiet version (no "Weather report" text) ?Q # superquiet version (no "Weather report", no city name) ?T # switch terminal sequences off (no colors) PNG options: /paris.png # generate a PNG file ?p # add frame arond the output ?t # transparency 150 transparency=... # transparency from 0 to 255 (255 = not transparent) Options can be combined: /Paris?0pq /Paris?0pq&lang=fr /Paris_0pq.png # in PNG the file mode are specified after _ /Rome_0pq_lang=it.png # long options are separated with underscore Localization: $ curl fr.wttr.in/Paris $ curl wttr.in/paris?lang=fr $ curl -H "Accept-Language: fr" wttr.in/paris Supported languages: de fr id it nb ru (supported) ar az be bg bs ca cy cs da el eo es et fi hi hr hu hy is ja jv ka kk ko ky lt lv mk ml nl nn pt pl ro sk sl sr sr-lat sv sw th tr uk uz vi zh zu he (in progress) Special URLs: /:help # show this page /:bash.function # show recommended bash function wttr() /:translation # show the information about the translators |