forked from k4m4/movies-for-hackers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmovies-for-hackers.sh
executable file
·47 lines (39 loc) · 2.93 KB
/
movies-for-hackers.sh
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
#/bin/sh
case $SHELL in
*bash)
ECHO='echo -e'
;;
*)
ECHO='echo'
;;
esac
purple="\033[0;35m"
red="\033[1;31m"
green="\033[1;32m"
blue="\033[1;34m"
clear; ${ECHO} ""
${ECHO} "$purple "
${ECHO} " ███╗ ███╗ ██████╗ ██╗ ██╗██╗███████╗███████╗ "
${ECHO} " ████╗ ████║██╔═══██╗██║ ██║██║██╔════╝██╔════╝ "
${ECHO} " ██╔████╔██║██║ ██║██║ ██║██║█████╗ ███████╗ "
${ECHO} " ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██║██╔══╝ ╚════██║ "
${ECHO} " ██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ██║███████╗███████║ "
${ECHO} " ╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚═╝╚══════╝╚══════╝ "
${ECHO} ""
${ECHO} " ███████╗ ██████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ ███████╗ "
${ECHO} " ██╔════╝██╔═══██╗██╔══██╗ ██║ ██║██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗██╔════╝ "
${ECHO} " █████╗ ██║ ██║██████╔╝ ███████║███████║██║ █████╔╝ █████╗ ██████╔╝███████╗ "
${ECHO} " ██╔══╝ ██║ ██║██╔══██╗ ██╔══██║██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════██║ "
${ECHO} " ██║ ╚██████╔╝██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ██║███████║ "
${ECHO} " ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ "
${ECHO} ""
${ECHO} $green" A list of movies every hacker & cyberpunk must watch ("$red"Movies For Hackers"$green")"
${ECHO} $blue " Made with <3 by:"$green" Nikolaos Kamarinakis ("$red"k4m4"$green")"
${ECHO} ""
jq -Rn '
{"items":
[inputs
| . / "\n"
| (.[] | select(length > 0) | . / ",") as $input
| {"imdb": $input[0], "title": $input[1], "genre": $input[2], "year": $input[3], "rating": $input[4]}]}
' < movies-for-hackers.csv