make all file names lowercase
This commit is contained in:
25
basics/joyous_ascii.md
Normal file
25
basics/joyous_ascii.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: "Joyous ASCII"
|
||||
tags: [ "fun" ]
|
||||
---
|
||||
|
||||
- `asciiquarium`
|
||||
- `cbonsai -lim "$(fortune)"`
|
||||
|
||||
```sh
|
||||
cow=$(cowsay -l | sort -R | head -1)
|
||||
fortune -s | figlet | cowsay -nf $cow | lolcat
|
||||
```
|
||||
|
||||
Watch the [Collatz Conjecture](https://en.wikipedia.org/wiki/Collatz_conjecture) collapse:
|
||||
|
||||
```sh
|
||||
x="$(du -sc ~/.cache | tr -d '[:alpha:]' | tail -1)"
|
||||
until [ "$x" -eq "1" ]; do
|
||||
test "$(( x % 2 ))" -eq 0 && x=$(( x / 2 )) || \
|
||||
x=$(( x * 3 + 1 ))
|
||||
clear -x
|
||||
figlet "$x" | lolcat
|
||||
sleep 1
|
||||
done
|
||||
```
|
Reference in New Issue
Block a user