![]() |
|
|
#1 |
|
"Mike"
Aug 2002
25×257 Posts |
There are lots of cool command-line tricks.
Maybe post one in this thread. Here is an interesting use for curl: Code:
$ curl wttr.in/Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
Weather report: Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
\ / Partly cloudy
_ /"".-. 30..+41 °F
\_( ). → 27 mph
/(___(__) 6 mi
0.0 in
┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Tue 11 Feb ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ _`/"".-. Moderate or he…│ _`/"".-. Light sleet sh…│ _`/"".-. Light sleet sh…│ .-. Patchy sleet p…│
│ ,\_( ). 26..+39 °F │ ,\_( ). 28..+41 °F │ ,\_( ). 26..+39 °F │ ( ). 26..+39 °F │
│ /(___(__) → 27-41 mph │ /(___(__) → 31-44 mph │ /(___(__) → 26-42 mph │ (___(__) → 24-38 mph │
│ * * * * 4 mi │ ‘ * ‘ * 6 mi │ ‘ * ‘ * 6 mi │ ‘ * ‘ * 5 mi │
│ * * * * 0.0 in | 99% │ * ‘ * ‘ 0.1 in | 72% │ * ‘ * ‘ 0.0 in | 88% │ * ‘ * ‘ 0.0 in | 69% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Wed 12 Feb ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ _`/"".-. Moderate or he…│ .-. Patchy sleet p…│ \ / Partly cloudy │ \ / Partly cloudy │
│ ,\_( ). 28..+37 °F │ ( ). 32..41 °F │ _ /"".-. 30..+37 °F │ _ /"".-. 28..+35 °F │
│ /(___(__) → 16-26 mph │ (___(__) → 18-24 mph │ \_( ). ↑ 8-16 mph │ \_( ). ↖ 9-16 mph │
│ * * * * 4 mi │ ‘ * ‘ * 5 mi │ /(___(__) 6 mi │ /(___(__) 6 mi │
│ * * * * 0.0 in | 63% │ * ‘ * ‘ 0.0 in | 88% │ 0.0 in | 0% │ 0.0 in | 0% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Thu 13 Feb ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ _`/"".-. Light rain sho…│ _`/"".-. Light rain sho…│ _`/"".-. Light rain sho…│ _`/"".-. Patchy rain po…│
│ ,\_( ). 35..41 °F │ ,\_( ). 41..44 °F │ ,\_( ). 35..41 °F │ ,\_( ). 33..37 °F │
│ /(___(__) ↑ 6-10 mph │ /(___(__) ↓ 6-9 mph │ /(___(__) ↓ 8-13 mph │ /(___(__) ↓ 4-9 mph │
│ ‘ ‘ ‘ ‘ 6 mi │ ‘ ‘ ‘ ‘ 6 mi │ ‘ ‘ ‘ ‘ 6 mi │ ‘ ‘ ‘ ‘ 6 mi │
│ ‘ ‘ ‘ ‘ 0.0 in | 76% │ ‘ ‘ ‘ ‘ 0.1 in | 89% │ ‘ ‘ ‘ ‘ 0.0 in | 83% │ ‘ ‘ ‘ ‘ 0.0 in | 87% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
Location: Llanfairpwllgwyngyll, Isle of Anglesey, Wales, LL61, UK [53.2213252,-4.208335]
|
|
|
|
|
|
#2 | |
|
Bamboozled!
"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across
101010000000012 Posts |
Quote:
![]() It relies on an external source of information --- nothing wrong with that --- but entirely self-hosted examples have a certain cachet. I will try to dig up a few. telnet towel.blinkenlights.nl still works, some thirty years after I first discovered it. |
|
|
|
|
|
|
#3 | |
|
Bamboozled!
"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across
10,753 Posts |
Quote:
If you have a Ubuntu or Debian system, try apt-get moo. No guarantee it works but it does on the machine on which I am typing. If at first you don't succeed, try successively aptitude -v moo, aptitude -vv moo , aptitude -vvv moo , aptitude -vvvv moo aptitude -vvvvv moo through to aptitude -vvvvvv moo This one I saw some years ago but had long forgot the details. I occasionally type sl when I meant ls. Try running "sudo apt-get install sl" (use yum on RedHat-derived distros) to ensure that sl works properly. This last is completely new to me. |
|
|
|
|
|
|
#4 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
619610 Posts |
There are a bunch of sites that have lists of these.
Here is one. https://www.tecmint.com/20-funny-com...n-in-terminal/ |
|
|
|
|
|
#5 | |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
263B16 Posts |
Quote:
|
|
|
|
|
|
|
#6 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
619610 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PARI/GP tips and tricks | CRGreathouse | PARI/GP | 40 | 2018-02-15 18:20 |
| Card Tricks | davar55 | Hobbies | 11 | 2013-05-27 14:28 |
| How To Evaluate SNFS Polynomial Tricks? | wblipp | Factoring | 4 | 2011-04-15 16:22 |