-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
447 lines (320 loc) · 15.1 KB
/
index.html
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
<!DOCTYPE html>
<html xmlns="http://www.w2.org/1999/xhtml">
<html lang="en">
<head>
<meta name="generator" content="Hugo 0.92.2" />
<meta charset="utf-8" />
<title>Yudi Putra Wiratama </title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Yudi Putra Wiratama Personal Website">
<meta property="og:title" content="Yudi Putra Wiratama" />
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://yudiwiratama.github.io" />
<link rel="sitemap" type="application/xml" title="Sitemap" href=""/>
<link rel="canonical" href="https://yudiwiratama.github.io/" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="msapplication-TileColor" content="">
<script src="https://cdn.jsdelivr.net/npm/jquery"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.42.2/js/jquery.terminal.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal/js/less.min.js"></script>
<script src="https://unpkg.com/jquery.terminal/js/autocomplete_menu.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/2.42.0/css/jquery.terminal.min.css" rel="stylesheet"/>
<style>
body {
width: 100%;
font-size: 18px;
}
</style>
</head>
<body>
<script>
window.onload = function() {
document.body.style.transform = "scale(1.5)";
document.body.style.transformOrigin = "0 0";
};
jQuery(document).ready(function($) {
var animation = false;
var commands = {
help: "shows help",
less: "Use less as output method",
whois: "list basic details",
social: "list social networks",
work: "list work experience",
education: "list education",
certifications: "list certifications",
source: "shows details about template powering this website",
version: "Current version",
exit: "exit the terminal",
all: "Show all details",
};
function progressBar(number) {
var barLength = Math.round(number / 10);
var barFilled = Array(barLength + 1).join("▋");
var barBlank= Array(11 - barLength).join("░");
return barFilled + barBlank
}
function padKey(key, length) {
return key + ' '.repeat(length - key.length);
}
function commandsHelp() {
let longestKeyLength = Math.max(...Object.keys(commands).map(key => key.length));
let helpText = ""
for (let key in commands) {
if (commands.hasOwnProperty(key)) {
helpText += ` ${padKey(key, longestKeyLength)}\t${commands[key]}\n`
}
}
return helpText
}
var help = '\n[[b;white;]usage:]\n' +
'\n <command> - execute the command\n' +
' less <command> - use less to display the output\n\n' +
'\n[[b;white;]Available commands:]\n' +
commandsHelp();
var whois = [
'[[b;grey;]Name:]\t\t\tYudi Putra Wiratama\n' +
'[[b;grey;]Profession:]\t\tCloud Engineer @ Boer Technology\n' +
'[[b;grey;]Location:]\t\tSouth Jakarta, Indonesia\n' +
'[[b;grey;]Email:]\t\t\[email protected]\n' +
'[[b;grey;]Homepage:]\t\thttps:\/\/yudiwiratama.github.io\n' +
'\nHi, I’m Yudi Putra Wiratama. I’m passionate about tech, especially Linux, Cloud Computing, \nDevOps and Security . I love exploring new technologies\nand solving complex problems. When I’m not immersed in code, I share my tech experiences\nand insights on https:\/\/yudiwiratama.medium.com . Let’s connect and chat about the latest in tech!\n' +
'\r',
];
function social() {
var hideName = false;
let sMap = {
"github": "https:\/\/github.com\/yudiwiratama",
"medium": "https:\/\/yudiwiratama.medium.com",
"linkedin": "https:\/\/linkedin.com\/in\/yudi-wiratama",
};
socialText = []
for (let key in sMap) {
if (sMap.hasOwnProperty(key)) {
if (hideName) {
socialText.push(sMap[key]);
} else {
let longestKeyLength = Math.max(...Object.keys(sMap).map(key => key.length));
socialText.push(`${padKey(key, longestKeyLength)}\t${sMap[key]}`)
};
}
}
socialText.push('\r');
return socialText
}
var certifications = [
'---\n' +
'[[b;grey;]MTCNA (MikroTik Certified Network Associate)]\n' +
'July 2022 - July 2025\n' +
'Mikrotik\n' +
'Badge: \thttps:\/\/mikrotik.com\/training\/certificates\/c238192cf053aa923a5e\n' +
'\r',
'---\n' +
'[[b;grey;]MTCRE (Mikrotik Certified Routing Engineer)]\n' +
'October 2022 - October 2025\n' +
'Mikrotik\n' +
'Badge: \thttps:\/\/mikrotik.com\/training\/certificates\/c243638cbcad3ced8bda\n' +
'\r',
];
var work = [
'---\n' +
'[[b;yellow;]Cloud Engineer @ PT Boer Technology (Btech)]\n' +
'System Integrator, focusing into Cloud, DevOps, Security, and Tech Professional Delivery.\n' +
'Bogor, Indonesia\n' +
'November 2022 - Present\n' +
'\n' +
'* Upgrade, Maintain, and Manage Daily Operations of OpenStack Cluster:\n * Daily Operations and Maintenance of Ceph Storage Clusters: \n Responsible for the regular upkeep and optimization of Ceph storage clusters to ensure high availability and data integrity. \n This includes routine checks, performance tuning, and implementing upgrades to maintain system reliability.\n\n * Monitoring with Prometheus \u0026 Grafana:\n Utilized Prometheus for real-time monitoring of system performance metrics and Grafana for visualizing data through comprehensive dashboards. \n This proactive monitoring approach helps identify potential issues before they impact service availability, allowing for swift remedial actions.\n monitoring and billing system to optimize resource management for the institution.\n\n * Administrative Tasks and Troubleshooting in a Linux Environment: \n Conducted various administrative tasks, including user management, system updates, and security configurations within a Linux environment. \n Engaged in troubleshooting activities to diagnose and resolve issues related to system performance, network connectivity, and application deployment,\n ensuring smooth operation of the OpenStack infrastructure.\n' +
'\r',
];
var education = [
'---\n' +
'[[b;yellow;]SMK Negeri 4 Padalarang]\n' +
'2019 - 2022\n' +
"Computer and Network Engineering\n" +
"\r",
'---\n' +
'[[b;yellow;]Asia Cyber University]\n' +
'2023 - 2027\n' +
"Computer Science (Bachelor Degree)\n" +
"\r",
];
var projects = [
];
var skills = [
];
var softSkills = [
];
var languages = [
];
var misc = [
];
var source = ' _______ \n' +
' | | \n' +
' | | \n' +
' |_______|_______ \n' +
' | | \n' +
' | | \n' +
' ______________|_______| \n' +
'| | | | \n' +
'| | | | \n' +
'|______|_______|_______| \n' +
'[[;red;]May the source be with you]\n' +
'[[;grey;]https://github.com/coolapso/hugo-theme-terminalcv\n';
var all = [
"################",
"# About Me",
"################",
whois,
"################",
"# Social",
"################",
social(),
"################",
"# experiences",
"################",
work,
"################",
"# education",
"################",
education,
skills,
softSkills,
languages,
projects,
"################",
"# certifications",
"################",
certifications,
misc,
]
$('body').terminal(function(command, term) {
var useLess = false;
function echoArray(array) {
if (useLess) {
term.less(array);
} else {
for (i = 0; i < array.length; i += 1) {
term.echo(array[i]);
}
}
}
function progress(percent, width) {
var size = Math.round(width*percent/100);
var left = '', taken = '', i;
for (i=size; i--;) {
taken += '=';
}
if (taken.length > 0) {
taken = taken.replace(/=$/, '>');
}
for (i=width-size; i--;) {
left += ' ';
}
return '[' + taken + left + '] ' + percent + '%';
}
function loading () {
var i = 0, size = 30;
prompt = term.get_prompt();
string = progress(0, size);
term.set_prompt(progress);
animation = true;
(function loop() {
string = progress(i++, size);
term.set_prompt(string);
if (i < 100) {
timer = setTimeout(loop, 10);
} else {
term.echo(progress(i, size) + ' [[b;green;]OK]').set_prompt(prompt);
animation = false
}
})();
}
commands = command.split(/[ ]+/);
if (commands[0] == 'less') {
useLess = true;
commands.shift();
}
switch(commands[0]) {
case 'whois':
echoArray(whois);
break;
case 'social':
echoArray(social());
break;
case 'work':
echoArray(work);
break;
case 'education':
echoArray(education);
break;
case 'skills':
echoArray(skills);
break;
case 'softskills':
echoArray(softSkills);
break;
case 'languages':
echoArray(languages);
break;
case 'projects':
echoArray(projects);
break;
case 'certifications':
term.echo(certifications);
break;
case 'misc':
echoArray(misc);
break;
case 'help':
case '?':
term.echo(help);
break;
case 'all':
echoArray(all.flat(1));
break;
case ':(){:|:&};:':
term.echo("nice try");
break;
case 'source':
term.echo(source);
break;
case 'exit':
term.echo("terminating ... ")
loading();
setTimeout(function(){window.location = 'https:\/\/yudiwiratama.github.io'}, 2000);
break;
case 'version':
term.echo("20241124");
break;
case '':
break;
default:
term.echo("\nunknown command: " + command + "\n" +
"please type 'help' or '?' for a list of available commands\n");
}
}, {
prompt: '[[;white;]][[;green;]guest@yudiwiratama][[;white;]:][[;grey;]][[;white;]][[;orange;]~\/aboutme][[;white;]][[;white;]$ ]',
greetings: "[[b;white;]\n ██╗ ██╗███████╗██╗ ██████╗ ██████╗ ███╗ ███╗███████╗\n ██║ ██║██╔════╝██║ ██╔════╝██╔═══██╗████╗ ████║██╔════╝\n ██║ █╗ ██║█████╗ ██║ ██║ ██║ ██║██╔████╔██║█████╗ \n ██║███╗██║██╔══╝ ██║ ██║ ██║ ██║██║╚██╔╝██║██╔══╝ \n ╚███╔███╔╝███████╗███████╗╚██████╗╚██████╔╝██║ ╚═╝ ██║███████╗\n ╚══╝╚══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ \n\n Hi, I’m Yudi Putra Wiratama. I’m passionate about tech, especially Linux, Cloud Computing, \n And Security. I love exploring new technologies\n and solving complex problems. When I’m not immersed in code, I share my tech experiences\n and insights on https:\/\/yudiwiratama.medium.com . Let’s connect and chat about the latest in tech!\n\nType \u0027help\u0027 for a list of available commands\n]",
keydown: function(e, term) {
if (animation) {
if (e.which == 68 && e.ctrlKey) {
clearTimeout(timer);
animation = false;
term.echo(string + ' [[b;red;]FAIL]')
.set_prompt(prompt);
}
return false;
}
},
autocompleteMenu: true,
completion: Object.keys(commands)
});
});
</script>
</body>
</html>