-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
54 lines (54 loc) · 1.98 KB
/
app.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
$('body').terminal({
// help
help: function () {
this.echo("iam \t\t iam command and pass your name as argument"
+ "\naboutme \t About me"
+ "\nosu \t\t View my osu! stuff"
+ "\ncontacts \t More ways to contact me"
+ "\nrock-on \t :3"
+ "\nreferences \t How I made this terminal"
+ "\nexit \t\t Close this terminal"
);
},
// iam
iam: function (name) {
this.echo('Hello, ' + name);
},
// rock-on
"rock-on": function () {
this.echo("owo? I'm here~ :3");
},
// aboutme
aboutme: function () {
this.echo('An uni student who is trying to balance between tourney staffing and study');
},
// osu
osu: function () {
this.echo('An osu! player trying to get better in all gamemode (jack of all trade)'
+ '\nosu! profile link: https://osu.ppy.sh/users/9676089'
+ '\nA bit secret:'
+ '\n - osu!me is actually "my first webpage" I have ever created (using BBCode).'
+ '\n - However my first content was deleted (along with collab banner and gear setup) while osu!web was updating something, on Dec 11,2018.'
);
},
// references
references: function () {
this.echo('Making web terminal using jquery: https://www.geeksforgeeks.org/how-to-build-simple-terminal-like-website-using-jquery/'
+ '\nGithub repository: https://github.com/AcezukyRockon/acezukyrockon.github.io'
);
},
// refereces
contacts: function () {
this.echo('Discord: rock-on#9446'
+ '\nTwitter: https://twitter.com/AcezukyRockon'
+ '\nFacebook: https://www.facebook.com/AcezukyRockon/'
);
},
// exit
exit: function () {
close();
this.echo("If you still see this line more than 2 seconds, oh well... It doesn't work sometime.");
}
}, {
greetings: "Welcome to rock-on's terminal! Type 'help' to view all commands."
});