-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.js
114 lines (106 loc) · 8.62 KB
/
commands.js
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
var facebook = 'https://www.facebook.com/people/Sbdeveloper90/61552643236147/';
var instagram = 'https://www.instagram.com/sbdeveloper90/';
var email = 'mailto:[email protected]?subject=Contact%20from%20TERMSITE&body=Contact%20email%20generated%20from%20TERMSITE.%0A---Insert%20text%20message%20below---';
var website = 'https://www.sbdeveloper.cloud/';
var resume = 'https://sbdeveloper90.github.io/';
var spline = 'https://sbdeveloper90.github.io/spline-design-portfolio/';
var linkedin = 'https://www.linkedin.com/in/sebastiano-bruni-b1a90b175/';
var github = 'https://github.com/sbdeveloper90/';
whois = [
"<br>",
"Hi folks, I'm Seb 👋",
"born in Urbino in 1990. I graduated from the G. Marconi Scientific High School in Pesaro",
"P.N.I. (National Informatics Plan) course; and later I graduated in Computer Science and Technology",
"at the Faculty of Physical and Natural Mathematical Sciences of the University of Bologna, Cesena campus.",
"I'm working in IT and I am passionate about music and as an instrument I play the guitar.",
"Huge fan of <a href='https://github.com/samaaron' target='_blank'>Sam Aaron</a> and his amazing <a href='sonic-pi-net/sonic-pi' target='_blank'>Sonic Pi</a> ✨🚀",
"and amazed by <a href='https://spline.design/' target='_blank'>Spline Design</a> 😍🔳🔵🔶",
"<br>",
];
whoami = [
"<br>",
"No, I am your father.",
"<br>",
];
social = [
"<br>",
'facebook <a href="' + facebook + '" target="_blank">facebook/Sbdeveloper90' + "</a>",
'instagram <a href="' + instagram + '" target="_blank">instagram/sbdeveloper90' + '</a>',
'linkedin <a href="' + linkedin + '" target="_blank">linkedin/sebastiano-bruni' + "</a>",
'github <a href="' + github + '" target="_blank">github/sbdeveloper90' + "</a>",
"<br>",
];
projects = [
"<br>",
"Still curating... most projects are offline, on GitHub, or confidential.",
'Check my personal website at <span class="command"><a href="' + website + '" target="_blank">sbdeveloper.cloud</a></span>',
'or my resume at <span class="command"><a href="' + resume + '" target="_blank">sbdeveloper90.github.io</a></span>.',
'If you are fascinated about 3D design and animations,',
'take a look at <span class="command"><a href="' + spline + '" target="_blank">Spline</a></span> (I\'m a little noob).',
"<br>",
];
repos = [
"<br>",
'<span class="index">List of my starred GitHub repos ⭐</span>',
"<br>",
'<span class="command"><a href="https://github.com/cytopia/devilbox" target="_blank">cytopia/devilbox</a></span> A modern Docker LAMP stack and MEAN stack for local development.',
'<span class="command"><a href="https://github.com/electron/electron" target="_blank">electron/electron</a></span> Build cross-platform desktop apps with JavaScript, HTML, and CSS.',
'<span class="command"><a href="https://github.com/flutter/flutter" target="_blank">flutter/flutter</a></span> Flutter makes it easy and fast to build beautiful apps for mobile and beyond.',
'<span class="command"><a href="https://github.com/nicolargo/glances" target="_blank">nicolargo/glances</a></span> Glances an Eye on your system. A top/htop alternative for GNU/Linux,',
' BSD, Mac OS and Windows operating systems.',
'<span class="command"><a href="https://github.com/mermaid-js/mermaid" target="_blank">mermaid-js/mermaid</a></span> Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown.',
'<span class="command"><a href="https://github.com/ohmyzsh/ohmyzsh" target="_blank">ohmyzsh/ohmyzsh</a></span> A delightful community-driven (with 2,400+ contributors) framework',
' for managing your zsh configuration. Includes 300+ optional plugins.',
'<span class="command"><a href="https://github.com/pi-hole/pi-hole" target="_blank">pi-hole/pi-hole</a></span> A black hole for Internet advertisements.',
'<span class="command"><a href="https://github.com/processing/p5.js" target="_blank">processing/p5.js</a></span> p5.js is a client-side JS platform that empowers artists, designers, students',
' and anyone to learn to code and express themselves creatively on the web.',
'<span class="command"><a href="https://github.com/pytorch/pytorch" target="_blank">pytorch/pytorch</a></span> Tensors and Dynamic neural networks in Python with strong GPU acceleration.',
'<span class="command"><a href="https://github.com/scikit-learn/scikit-learn" target="_blank">scikit-learn/scikit-learn</a></span> scikit-learn: machine learning in Python.',
'<span class="command"><a href="https://github.com/apache/superset" target="_blank">apache/superset</a></span> Apache Superset is a Data Visualization and Data Exploration Platform.',
'<span class="command"><a href="https://github.com/mrdoob/three.js" target="_blank">mrdoob/three.js</a></span> JavaScript 3D Library.',
'<span class="command"><a href="https://github.com/louislam/uptime-kuma" target="_blank">louislam/uptime-kuma</a></span> A fancy self-hosted monitoring tool.',
'<span class="command"><a href="https://github.com/chubin/wttr.in" target="_blank">chubin/wttr.in</a></span> The right way to check the weather.',
'<span class="command"><a href="https://github.com/zabbix/zabbix-docker" target="_blank">zabbix/zabbix-docker</a></span> Official Zabbix Dockerfiles.',
"<br>",
];
skills = [
"<br>",
'<span class="index">HTML & CSS</span> ## <span class="color3">######## </span> ##',
'<span class="index">Javascript</span> ## <span class="color3">######## </span> ##',
'<span class="index">PHP</span> ## <span class="color3">######## </span> ##',
'<span class="index">C & C#</span> ## <span class="color3">######## </span> ##',
'<span class="index">Python</span> ## <span class="color3">###### </span> ##',
'<span class="index">Bash</span> ## <span class="color3">###### </span> ##',
"<br>",
]
help = [
'<br>',
'<span class="command">banner</span> Display welcome banner',
'<span class="command">clear</span> Clear the terminal',
'<span class="command">date</span> Get current date and time',
'<span class="command">email</span> Send email to my email',
'<span class="command">help</span> Display help message',
'<span class="command">history</span> Display commands history',
'<span class="command">projects</span> List all my favourites projects',
'<span class="command">repos</span> Lis all my favourite GitHub repos',
'<span class="command">skills</span> Show my skills',
'<span class="command">social</span> Show my social links',
'<span class="command">weather</span> Get location weather (location based on your IP address)',
'<span class="command">whoami</span> Execute whoami command',
'<span class="command">whois</span> Execute whois command',
'<br>',
];
banner = [
'<span class="index">SBDeveloper90. All rights reserved.</span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> </span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> ______ ______ ______ _______ _____ </span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> / _____|____ \\(______) (_______)(_____) _____ </span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> ( (____ ____) )_ _ _____ _ _ _______ _ __ _ ||F7 ||</span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> \\____ \\| __ (| | | | ___ | | | (_____ | |/ /| | ||___||</span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> _____) ) |__) ) |__/ /| ____|\\ V / | | /_| | |/___\\|</span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> (______/|______/|_____/ |_____) \\_/ |_|\\_____/ </span>',
'<span class="color3" style="text-shadow: 0 0 7px var(--color-github-info);"> </span>',
'<span class="color2">Welcome to my interactive web terminal.</span>',
'<span class="color2">For a list of available commands, type</span> <span class="command">\'help\'</span><span class="color2">.</span>',
'<br>',
];