-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
468 lines (432 loc) · 20.7 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
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<!DOCTYPE html>
<html>
<head>
<title>Darmansyah Nugraha</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- bootstrap 4.0.0-beta.2 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin="anonymous">
<!-- main style -->
<link rel="stylesheet" type="text/css" href="css/main.css?v=2018.09.20">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-107490980-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments) };
gtag('js', new Date());
gtag('config', 'UA-107490980-1');
</script>
</head>
<body>
<header>
<div class='slider-navigation'>
<div class='nav-pointer draggable'>
0/0
</div>
</div>
</header>
<div class='site-container'>
<!-- select style button -->
<div class="btn-group" id="changestyle">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
<span id="selstyle">Style Space</span>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#" data-val="default">Style Block</a></li>
<li><a class="dropdown-item" href="#" data-val="space">Style Space</a></li>
<li><a class="dropdown-item" href="#" data-val="snow">Style Snow</a></li>
</ul>
</div>
<section class='intro'>
<div id='particles-js'></div>
<div class='wrap'>
<div class='content'>
<div class="profile-card">
<header>
<!-- avatar -->
<a><img src="img/hd.jpg" class="unselectable"></a>
<!-- name -->
<h1 class="unselectable">Darmansyah Nugraha</h1>
<!-- role -->
<h2 class="unselectable">Full Stack Developer</h2>
</header>
<div class="profile-bio">
<p class="unselectable">
Passionate about technology
<br>Contact Me
</p>
</div>
<!-- social links -->
<ul class="profile-social-links">
<li><a target="_blank" href="https://www.linkedin.com/in/adamnkri/">
<i class="fa fa-lg fa-linkedin"></i>
</a>
</li>
<li><a target="_blank" href="https://stackoverflow.com/users/11043188/adam-network">
<i class="fa fa-lg fa-stack-overflow"></i>
</a>
</li>
<li><a target="_blank" href="https://github.com/syahnetwork">
<i class="fa fa-lg fa-github-alt"></i>
</a>
</li>
<li><a target="_blank" href="https://www.facebook.com/TheJohnSmith.Sr">
<i class="fa fa-lg fa-facebook"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<div class="parallax-window" data-parallax="scroll" data-image-src="img/Ottawa_1920x1080.jpg"></div>
<section>
<div class="about-me">
<div class="text-center">
<img class="unselectable" src="img/about-me.png" height="100" width="550">
<br><br>
</div>
<div class="clearfix"></div>
<div class="about-me__content" id="terminal-start">
<p>Last login: Mon Jul 06 00:28:38 2020 from
cpe44d9e79bd14b-cma84e3fd1a7d0.cpe.net.cable.rogers.com</p>
<pre style="border: none;">
__| __|_ )
_| ( / Amazon Linux AMI
___|\___|___|
Amazon Linux version 2020.07 is available.
</pre>
<br><br>
<div class="command">
<!-- email -->
<p>echo $email</p>
<span class="hideme">email: [email protected]</span>
<!-- phone -->
<p>echo $phone</p>
<span class="hideme">phone: (62)-8966962-XXXX</span>
<!-- address -->
<p>echo $address</p>
<span class="hideme">address: Yogyakarta, DIY, Indonesia</span>
<!-- education -->
<p>echo $education</p>
<span class="hideme">Yogyakarta<br>
BSc: Specialization in Computer Science</span>
<!-- eligible_to_work -->
<p>echo $eligible_to_work</p>
<span class="hideme">Permanent Resident of Indonesia</span>
</div>
</div>
</div>
</section>
<div class="parallax-window-half" data-parallax="scroll" data-image-src="img/test-oct.png"></div>
<section class="flx-center">
<div class="text-center">
<!-- Block 5 (SHA-256 blockchain) -->
<div class="one-block latest-block">
<p class="h4 text-center">Block #: 005</p>
<p><label>Data:</label></p>
<div class="block-data">
<p>
<label>Title:</label><b>Software Developer</b></p>
<p>
<label>Company:</label>Lumut</p>
<p>
<label>Stack:</label>MySQL, Ruby on Rails, React</p>
<p>
<label>Time:</label>Jan 2019 - Present</p>
</div>
<div>
<br>
<p class="truncate">
<small><label>Hash: </label>9d169ad4b0875680b2256b5f8cfe9c02b977fe5cc2f1659ffdf63fc9955f4b45</small>
<br>
<small><label>Previous Hash: </label>964c3a9c26762dce89d124381b91f0469fb549915077377ba943b60a78e2eb54</small>
</p>
</div>
</div>
<!-- Block 4 (SHA-256 blockchain) -->
<div class="one-block">
<p class="h4 text-center">Block #: 004</p>
<p><label>Data:</label></p>
<div class="block-data">
<p>
<label>Title:</label><b>Full Stack Developer</b></p>
<p>
<label>Company:</label>Mega Giga Solusindo</p>
<p>
<label>Stack:</label>MySQL, Python, Vue2, NodeJS, AWS, Salesforce</p>
<p>
<label>Time:</label>Feb 2017 - May 2019</p>
</div>
<div>
<br>
<p class="truncate">
<small><label>Hash: </label>964c3a9c26762dce89d124381b91f0469fb549915077377ba943b60a78e2eb54</small>
<br>
<small><label>Previous Hash: </label>c9e0d20f8660f77636c18bed30d0331ccee6724e03ccbc37d7d73fdc13326a51</small>
</p>
</div>
</div>
<!-- Block 3 (SHA-256 blockchain) -->
<div class="one-block">
<p class="h4 text-center">Block #: 003</p>
<p><label>Data:</label></p>
<div class="block-data">
<p>
<label>Title:</label><b>Software Application Developer</b></p>
<p>
<label>Company:</label>Wahana Jaya Komunika</p>
<p>
<label>Stack:</label>PostgresSQL, Node.js, JS, HTML5, CSS3</p>
<p>
<label>Time:</label>Mar 2016 - Feb 2017</p>
</div>
<div>
<br>
<p class="truncate">
<small><label>Hash: </label>c9e0d20f8660f77636c18bed30d0331ccee6724e03ccbc37d7d73fdc13326a51</small>
<br>
<small><label>Previous Hash: </label>b2d7beff5177094f4a4aceb7c9bf1cc6434cd5a2b8d68cc0a572ac2e963cb2a2</small>
</p>
</div>
</div>
<br>
<!-- Block 2 (SHA-256 blockchain) -->
<div class="one-block hide-mobile">
<p class="h4 text-center">Block #: 002</p>
<p><label>Data:</label></p>
<div class="block-data">
<p>
<label>Title:</label><b>Front End Developer</b></p>
<p>
<label>Company:</label>Freelancer.com</p>
<p>
<label>Stack:</label>Vue.js, CoffeeScript, JS, HTML5, CSS3</p>
<p>
<label>Time:</label>June 2016 - Nov 2016</p>
</div>
<div>
<br>
<p class="truncate">
<small><label>Hash: </label>b2d7beff5177094f4a4aceb7c9bf1cc6434cd5a2b8d68cc0a572ac2e963cb2a2</small>
<br>
<small><label>Previous Hash: </label>29aa94f65fa959c35fb44427d09018b95117be94b0d7eeb921e79c3cda20d174</small>
</p>
</div>
</div>
<!-- Block 1 (SHA-256 blockchain) -->
<div class="one-block hide-mobile">
<p class="h4 text-center">Block #: 001</p>
<p><label>Data:</label></p>
<div class="block-data">
<p>
<label>Title:</label><b>Web Developer</b></p>
<p>
<label>Company:</label>Upwork.com</p>
<p>
<label>Stack:</label>LAMP, PHP5, JS, HTML5, CSS3</p>
<p>
<label>Time:</label>Mar 2015 - Feb 2016</p>
</div>
<div>
<br>
<p class="truncate">
<small><label>Hash: </label>29aa94f65fa959c35fb44427d09018b95117be94b0d7eeb921e79c3cda20d174</small>
<br>
<small><label> </label>"Genesis Block"</small>
</p>
</div>
</div>
<div class="text-center h5">SHA-256 blockchain</div>
</div>
</section>
<div class="parallax-window" data-parallax="scroll" data-image-src="img/test-oct-6.png"></div>
<!-- =================== script =================== -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script src="lib/parallax.js-1.4.2/parallax.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<!-- particles js -->
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<!-- bootstrap 4.0.0-beta.2 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ"
crossorigin="anonymous"></script>
<!-- main js file -->
<script src="js/main.js"></script>
<script>
$(document).ready(function () {
// random style on page load
let display_text = ''
switch (Math.round(Math.random() * 2 + 1)) {
case 1:
styleDefault();
display_text = 'Style Block'
break;
case 2:
styleSpace();
display_text = 'Style Space'
break;
case 3:
styleSnow();
display_text = 'Style Snow'
break;
default:
styleSpace();
display_text = 'Style Block'
}
$('#selstyle').text(display_text);
$('#changestyle .dropdown-menu a').click(function () {
var style = $(this).data('val');
switch (style) {
case 'default':
styleDefault();
break;
case 'space':
styleSpace();
break;
case 'snow':
styleSnow();
break;
default:
styleSpace();
}
$('#selstyle').text($(this).text());
});
/*-------------------------------
terminal linux style
-------------------------------*/
var about_me_content_displayed = false;
var $lines = $('.command p');
$lines.hide();
var lineContents = [];
var output = [];
var terminal = function () {
var skip = 0;
typeLine = function (idx) {
idx == null && (idx = 0);
var element = $lines.eq(idx);
var content = lineContents[idx];
if (typeof content == "undefined") {
$('.skip').hide();
return;
}
var charIdx = 0;
var typeChar = function () {
var rand = Math.round(Math.random() * 150) + 20;
setTimeout(function () {
var char = content[charIdx++];
element.append(char);
if (typeof char !== "undefined")
typeChar();
else {
element.append('<br/><span class="output">' + output[idx] + '</span>');
element.removeClass('active');
typeLine(++idx);
}
}, skip ? 0 : rand);
}
element.append('[ec2-user@ip-127-0-0-1 ~]$ ').addClass('active');
typeChar();
}
$lines.each(function (i) {
lineContents[i] = $(this).text();
output[i] = $(this).next('span').html();
$(this).text('').show();
});
typeLine();
}
$(window).scroll(function () {
var hT = $('#terminal-start').offset().top,
hH = $('#terminal-start').outerHeight(),
wH = $(window).height(),
wS = $(this).scrollTop() - 250;
if (wS > (hT + hH - wH) && !about_me_content_displayed) {
about_me_content_displayed = true;
terminal();
}
});// end terminal style -------
$('section').each(function () {
$('.slider-navigation').prepend('<div class="tick"></div>');
});
$('.tick').on('click', function () {
var tickIndex = $(this).index();
$('body').scrollTop($(window).height() * tickIndex);
});
updatePos();
}); // end document ready -------
var isDragging = false;
var sliderTop, pointerPos, currentSection;
var bodyHeight = $('body').height();
var sliderHeight = $('.slider-navigation').height();
var elementHeight = $('section').height();
var sectionAmount = $('section').length;
var scale = (bodyHeight - (elementHeight)) / (sliderHeight - $('.nav-pointer').outerHeight());
var waitForFinalEvent = (function () {
var timers = {};
return function (callback, ms, uniqueId) {
if (!uniqueId) {
uniqueId = "resize";
}
if (timers[uniqueId]) {
clearTimeout(timers[uniqueId]);
}
timers[uniqueId] = setTimeout(callback, ms);
};
})();
function updatePos() {
currentSection = $(window).scrollTop() / elementHeight;
currentSectionNum = Math.ceil(currentSection + 0.01);
sliderTop = $(window).scrollTop() / scale;
$('.nav-pointer').css('top', sliderTop).text(currentSectionNum + '/' + sectionAmount);
}
function sliderMove(e) {
$('body').scrollTop(parseInt(e) * scale);
}
$(window).scroll(function () {
if (!isDragging) {
updatePos();
}
});
$(window).resize(function () {
waitForFinalEvent(function () {
bodyHeight = $('body').height();
sliderHeight = $('.slider-navigation').height();
elementHeight = $('section').height();
sectionAmount = $('section').length;
scale = (bodyHeight - (elementHeight)) / (sliderHeight - $('.nav-pointer').outerHeight());
updatePos();
}, 500, "resizing");
});
// $(".draggable").draggable({
// axis: "y",
// containment: "parent",
// start: function() {
// isDragging = true;
// $('body').addClass('dragging');
// },
// drag: function() {
// pointerPos = $(this).css('top');
// sliderMove(pointerPos);
// updatePos();
// },
// stop: function() {
// isDragging = false;
// $('body').removeClass('dragging');
// }
// });
// Steve Jobs Quotes
console.log("\n \t Your work is going to fill a large part of your life,\n and the only way to be " +
"truly satisfied is to do what you \n believe is great work. And the only way to do great" +
" work \n is to love what you do. If you haven't found it yet, keep \n looking. Don't settle." +
" As with all matters of the heart, \n you'll know when you find it.\n\n\n \t\t\t\t\t\t\t\t\t\t\t " +
"Steve Jobs \n\n");
</script>
</body>
</html>