-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautosave
executable file
·42 lines (41 loc) · 3.7 KB
/
autosave
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
#!/bin/bash
cd "$(dirname "$0")"
echo -ne '▌ ▐ (0%)\r\c'
sleep 1
git commit -a
echo -ne '██████████ ▐ (33%)\r\c'
sleep 1
git push origin master
echo -ne '████████████████ ▐ (66%)\r\c'
sleep 1
git push heroku master
echo -ne '████████████████████████████ (100%)\r\c'
sleep 1
VAR1="$(( $RANDOM * 6 / 32767 + 1))"
echo -ne "
\e[3$((VAR1))m\e[47m██████████████████████████████████████████████\e[49m
\e[3$((VAR1))m\e[47m██████████████▒╱╱░▒▓▓█████████████████████████\e[49m
\e[3$((VAR1))m\e[47m██████████▓░╱, ,*╱▒▓████████████████████\e[49m
\e[3$((VAR1))m\e[47m████████▓▒. ╱▒▒▒▒▒▓▓██████████████\e[49m
\e[3$((VAR1))m\e[47m███████▓▒╱ while(noSuccess) { .*░▓███████████\e[49m
\e[3$((VAR1))m\e[47m█████▓▒*▐░ tryAgain(); ,**,░▓▓██████\e[49m
\e[3$((VAR1))m\e[47m█████* ▐░ if(Dead): .╱▓███\e[49m
\e[3$((VAR1))m\e[47m███▓▒ ▐░ break; .▒▓███\e[49m
\e[3$((VAR1))m\e[47m██▓░. ▐░ } __ .▒█████\e[49m
\e[3$((VAR1))m\e[47m██╱. ▐░ ,*╱││╱ .__ ▒██████\e[49m
\e[3$((VAR1))m\e[47m█▓, ▐░ .╱││││*, .╱││╲ ▒██████\e[49m
\e[3$((VAR1))m\e[47m█╱. ▐░ .*│││││╱* .╱││││* ▒▒█████\e[49m
\e[3$((VAR1))m\e[47m█, ▐░ ▐│││││││* *│││││*. ▒░▒▓▓██\e[49m
\e[3$((VAR1))m\e[47m█, ▐░ ▐││││││││ ╱││││││▌ ▒││││▒█\e[49m
\e[3$((VAR1))m\e[47m█╱. ▐░ ▐││││││││ .╱││││││▌ ▒││░░▓█\e[49m
\e[3$((VAR1))m\e[47m█▓, ▐░ ▐││││││││ ▐│││││││▌ ▒││▒▓▓█\e[49m
\e[3$((VAR1))m\e[47m██╱. ▐░ ▐││││││││ ▐│││││││▌ ▒││▒███\e[49m
\e[3$((VAR1))m\e[47m██▓░ ▐░ ▐││││││││ ▐│││││││▌ ▒││▓███\e[49m
\e[3$((VAR1))m\e[47m███▓▒ ▐░ ▐││││││││ ▐│││││││▌ ▒│▓████\e[49m
\e[3$((VAR1))m\e[47m████▓╱ .▐░ ▐││││││││ ▐│││││││▌ ▒│▓████\e[49m
\e[3$((VAR1))m\e[47m█████▓╱*▐░ ▐││││││││ ▐│││││││▌,░▓██████\e[49m
\e[3$((VAR1))m\e[47m████████▓▒ ▐││││││││ ▐│││││││▓▓████████\e[49m
\e[3$((VAR1))m\e[47m██████████▓*. ▐││││││││ ▐│││▒▓▓███████████\e[49m
\e[3$((VAR1))m\e[47m████████████▓▓*.. *▒│││││▒▓░▒▓▓▓██████████████\e[49m
\e[3$((VAR1))m\e[47m██████████████████████████████████████████████\e[49m"
echo -ne "\e[49m\n"