-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathegg.sh
More file actions
28 lines (23 loc) · 731 Bytes
/
egg.sh
File metadata and controls
28 lines (23 loc) · 731 Bytes
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
#!/bin/bash
fetch_ascii_art(){
touch .ascii-art
curl \
'https://ssfy.sh/dev/text-to-ascii-art@d9d0510c/textToAsciiArt?text=fastapi-ml-serving&font=5%20Line%20Oblique' >> .ascii-art
echo "" >> .ascii-art
echo "By: https://github.com/arthurhenrique/cookiecutter-fastapi" >> .ascii-art
}
prolado(){
cat .ascii-art
echo "[RUNNING] http://localhost:8080/docs"
echo "[CTRL-C] to exit or wait.."
}
prooutro(){
cat .ascii-art
echo "[RUNNING] http://localhost:8080/docs"
echo "[CTRL-C] to exit or wait..."
}
if [[ ! -e .ascii-art ]]; then
fetch_ascii_art
fi
egg="$(python -c 'print("clear ; prolado ; sleep 1 ; clear ; prooutro; sleep 1;" * (0xDEADBEAF - (0xDEADBEAF - 42)))')"
eval $egg