-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
635 lines (341 loc) · 17.9 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
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Antomor</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="twitter:card" content="summary_large_image">
<meta property="og:site_name" content="Antomor">
<meta property="og:title" content="Antomor">
<meta property="og:description" content="">
<meta property="og:type" content="website">
<meta property="og:url" content="https://antomor.com/">
<meta property="og:image" content="https://antomor.com/images/antomor.jpg">
<link rel="shortcut icon" href="/favicon.ico?v=1">
<meta name="generator" content="Hugo 0.83.0" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/github.min.css">
<link rel="stylesheet" href="/css/bundle.min.3b1b5f2e683d24b1ea3b5a08c8254622e40aa935e0ead75ba6d45c0f14c2f965.css" integrity="sha256-OxtfLmg9JLHqO1oIyCVGIuQKqTXg6tdbptRcDxTC+WU="><link rel="stylesheet" href="/css/add-on.css">
</head>
<body>
<header id="site-header">
<nav id="site-nav">
<h1 class="nav-title">
<a href="/" class="nav">
Antomor
</a>
</h1>
<menu id="site-nav-menu" class="flyout-menu menu">
<a href="/" class="nav link"><i class='fa fa-home'></i> Home</a>
<a href="/about/" class="nav link"><i class='far fa-id-card'></i> About</a>
<a href="/blog/" class="nav link"><i class='far fa-newspaper'></i> Blog</a>
<a href="/categories/" class="nav link"><i class='fas fa-sitemap'></i> Categories</a>
<a href="/contact/" class="nav link"><i class='far fa-envelope'></i> Contact</a>
<a href="#share-menu" class="nav link share-toggle"><i class="fas fa-share-alt"> </i>Share</a>
<a href="#search-input" class="nav link search-toggle"><i class="fas fa-search"> </i>Search</a>
</menu>
<a href="#search-input" class="nav search-toggle"><i class="fas fa-search fa-2x"> </i></a>
<a href="#share-menu" class="nav share-toggle"><i class="fas fa-share-alt fa-2x"> </i></a>
<a href="#site-nav" class="nav nav-toggle"><i class="fas fa-bars fa-2x"></i></a>
</nav>
<menu id="search" class="menu"><input id="search-input" class="search-input menu"></input><div id="search-results" class="search-results menu"></div></menu>
<menu id="share-menu" class="flyout-menu menu">
<h1>Share Post</h1>
<a href="//twitter.com/share?text=Antomor&url=https%3a%2f%2fantomor.com%2f" target="_blank" rel="noopener" class="nav share-btn twitter">
<p>Twitter</p>
</a>
<a href="//www.linkedin.com/shareArticle?url=https%3a%2f%2fantomor.com%2f&title=Antomor" target="_blank" rel="noopener" class="nav share-btn linkedin">
<p>LinkedIn</p>
</a>
<a href="mailto:?subject=Check%20out%20this%20post%20by %7b%20%20%20%20%20%20%20%20map%5b%5d%7d&body=https%3a%2f%2fantomor.com%2f" target="_blank" class="nav share-btn email" data-proofer-ignore>
<p>Email</p>
</a>
</menu>
</header>
<div id="wrapper">
<section id="site-intro" >
<a href="/"><img src="/images/antomor.jpg" class="hexagon" width="150" alt="Antomor logo" /></a>
<header>
<h1>Antomor's personal website.</h1>
</header>
<main>
<p>Where ideas become words (maybe)</p>
</main>
<footer>
<ul class="socnet-icons">
<li><a href="/index.xml" type="application/rss+xml" target="_blank" title="RSS" class="fas fa-rss"></a></li>
<li><a href="//github.com/antomor" target="_blank" rel="noopener" title="GitHub" class="fab fa-github"></a></li>
<li><a href="//www.linkedin.com/in/antoniomorrone" target="_blank" rel="noopener" title="LinkedIn" class="fab fa-linkedin"></a></li>
<li><a href="//twitter.com/antomor_dev" target="_blank" rel="noopener" title="Twitter" class="fab fa-twitter"></a></li>
<li><a href="mailto:dev@antomor.com" target="_blank" title="Email" class="far fa-envelope"></a></li>
</ul>
</footer>
</section>
<main id="site-main">
<article class="post">
<header>
<div class="title">
<h2><a href="/blog/python-iterators-generators/">Iterators & Generators in Python</a></h2>
<p>A detailed description about iterators and generators, and the differences between them.</p>
</div>
<div class="meta">
<time datetime="2020-10-25 16:27:12 +0100 CET">October 25, 2020</time>
<p>antomor</p>
<p>3-Minute Read</p>
</div>
</header>
<div class="content">
<a href="/blog/python-iterators-generators/" class="image" style="--bg-image: url('/images/iterables-iterators-generators.jpg');">
<img src="/images/iterables-iterators-generators.jpg" alt="Low angle photography of black metal framed tower">
</a>
<p>This post aims to describe the basic mechanisms behind iterators and generators.</p>
</div>
<footer>
<a href="/blog/python-iterators-generators/" class="button big">Read More</a>
<div class="stats">
<ul class="categories">
<li><a class="article-terms-link" href="/categories/development/">Development</a></li>
</ul>
<ul class="tags">
<li><a class="article-terms-link" href="/tags/blog/">blog</a></li>
<li><a class="article-terms-link" href="/tags/python/">python</a></li>
</ul>
</div>
</footer>
</article>
<article class="post">
<header>
<div class="title">
<h2><a href="/blog/angular-dynamic-content/">Angular Dynamic Content</a></h2>
<p>An exploration of the different ways to dynamically change the content of a component.</p>
</div>
<div class="meta">
<time datetime="2020-04-11 10:51:42 +0200 CEST">April 11, 2020</time>
<p>antomor</p>
<p>3-Minute Read</p>
</div>
</header>
<div class="content">
<a href="/blog/angular-dynamic-content/" class="image" style="--bg-image: url('/images/angular-dynamic-component.jpg');">
<img src="/images/angular-dynamic-component.jpg" alt="Lego parts">
</a>
<p>In many cases we would change the content of a component dynamically, like for instance, to allow the user to change view or to let the children render the data retrieved and elaborated from its parent component. Here below we are going to show some techniques to create a component without deciding how the data would be shown. According with the application needs, each technique has its own strengths, but all of them encourage component reusability. We are going to describe:</p>
</div>
<footer>
<a href="/blog/angular-dynamic-content/" class="button big">Read More</a>
<div class="stats">
<ul class="categories">
<li><a class="article-terms-link" href="/categories/development/">Development</a></li>
</ul>
<ul class="tags">
<li><a class="article-terms-link" href="/tags/blog/">blog</a></li>
<li><a class="article-terms-link" href="/tags/tutorial/">tutorial</a></li>
<li><a class="article-terms-link" href="/tags/dev/">dev</a></li>
<li><a class="article-terms-link" href="/tags/angular/">angular</a></li>
</ul>
</div>
</footer>
</article>
<article class="post">
<header>
<div class="title">
<h2><a href="/blog/csp-and-cors/">CSP and CORS</a></h2>
<p>Definitions and relation between Content-Security-Policy and Cross-Origin-Resource-Sharing</p>
</div>
<div class="meta">
<time datetime="2020-04-11 10:51:20 +0200 CEST">April 11, 2020</time>
<p>antomor</p>
<p>3-Minute Read</p>
</div>
</header>
<div class="content">
<a href="/blog/csp-and-cors/" class="image" style="--bg-image: url('/images/csp-cors.jpg');">
<img src="/images/csp-cors.jpg" alt="A lock">
</a>
<p>CSP stands for <em>Content Security Policy</em> and it is a security mechanism that helps to protect or mitigate some common attacks such as XSS (Cross-site scripting). It can be set by means of <em>Content-Security-Policy HTTP header</em> or using HTML <em>meta</em> tag.</p>
</div>
<footer>
<a href="/blog/csp-and-cors/" class="button big">Read More</a>
<div class="stats">
<ul class="categories">
<li><a class="article-terms-link" href="/categories/security/">Security</a></li>
</ul>
<ul class="tags">
<li><a class="article-terms-link" href="/tags/blog/">blog</a></li>
<li><a class="article-terms-link" href="/tags/tutorial/">tutorial</a></li>
<li><a class="article-terms-link" href="/tags/dev/">dev</a></li>
<li><a class="article-terms-link" href="/tags/sec/">sec</a></li>
</ul>
</div>
</footer>
</article>
<article class="post">
<header>
<div class="title">
<h2><a href="/blog/angular-rxjs-http-requests/">Angular and Rxjs Http Requests: Common scenarios</a></h2>
<p>How to perform http requests using rxjs; single, parallel and mixed</p>
</div>
<div class="meta">
<time datetime="2020-04-09 19:40:48 +0200 CEST">April 9, 2020</time>
<p>5-Minute Read</p>
</div>
</header>
<div class="content">
<a href="/blog/angular-rxjs-http-requests/" class="image" style="--bg-image: url('/images/angular-rxjs-http-requests.jpg');">
<img src="/images/angular-rxjs-http-requests.jpg" alt="Sunrise in a wood">
</a>
<p>Any modern web application needs soon or later to perform some http request to retrieve data.
Here below I’ll describe some common scenario and how to perform such requests using <a href="https://rxjs.dev">RxJS</a>.</p>
</div>
<footer>
<a href="/blog/angular-rxjs-http-requests/" class="button big">Read More</a>
<div class="stats">
<ul class="categories">
<li><a class="article-terms-link" href="/categories/development/">Development</a></li>
</ul>
<ul class="tags">
<li><a class="article-terms-link" href="/tags/blog/">blog</a></li>
<li><a class="article-terms-link" href="/tags/tutorial/">tutorial</a></li>
<li><a class="article-terms-link" href="/tags/rxjs/">rxjs</a></li>
<li><a class="article-terms-link" href="/tags/angular/">angular</a></li>
</ul>
</div>
</footer>
</article>
<article class="post">
<header>
<div class="title">
<h2><a href="/blog/git-move-file-with-history/">Git: Move Files Retaining History</a></h2>
<p>How to move files among git repository retaining the history</p>
</div>
<div class="meta">
<time datetime="2020-03-14 12:28:03 +0100 CET">March 14, 2020</time>
<p>antomor</p>
<p>3-Minute Read</p>
</div>
</header>
<div class="content">
<a href="/blog/git-move-file-with-history/" class="image" style="--bg-image: url('/images/git-move.jpg');">
<img src="/images/git-move.jpg" alt="Camels at rest">
</a>
<p>Sometimes ago we need to create a new product, that shares many functionalities with the existing one. The first idea was to extract some of the code in a library, to be then imported and used independently in the two projects.</p>
</div>
<footer>
<a href="/blog/git-move-file-with-history/" class="button big">Read More</a>
<div class="stats">
<ul class="categories">
<li><a class="article-terms-link" href="/categories/development/">Development</a></li>
</ul>
<ul class="tags">
<li><a class="article-terms-link" href="/tags/dev/">dev</a></li>
<li><a class="article-terms-link" href="/tags/git/">git</a></li>
<li><a class="article-terms-link" href="/tags/blog/">blog</a></li>
<li><a class="article-terms-link" href="/tags/tutorial/">tutorial</a></li>
</ul>
</div>
</footer>
</article>
<div class="pagination">
<a href="/page/2/" class="button right"><span>Next Page</span></a>
</div>
</main>
<section id="site-sidebar">
<section id="recent-posts">
<header>
<h1>Recent Posts</h1>
</header>
<article class="mini-post">
<a href="/blog/python-iterators-generators/" class="image" style="--bg-image: url('/images/iterables-iterators-generators.jpg');">
<img src="/images/iterables-iterators-generators.jpg" alt="Low angle photography of black metal framed tower">
</a>
<header>
<h2><a href="/blog/python-iterators-generators/">Iterators & Generators in Python</a></h2>
<time class="published" datetime="2020-10-25 16:27:12 +0100 CET">October 25, 2020</time>
</header>
</article>
<article class="mini-post">
<a href="/blog/angular-dynamic-content/" class="image" style="--bg-image: url('/images/angular-dynamic-component.jpg');">
<img src="/images/angular-dynamic-component.jpg" alt="Lego parts">
</a>
<header>
<h2><a href="/blog/angular-dynamic-content/">Angular Dynamic Content</a></h2>
<time class="published" datetime="2020-04-11 10:51:42 +0200 CEST">April 11, 2020</time>
</header>
</article>
<article class="mini-post">
<a href="/blog/csp-and-cors/" class="image" style="--bg-image: url('/images/csp-cors.jpg');">
<img src="/images/csp-cors.jpg" alt="A lock">
</a>
<header>
<h2><a href="/blog/csp-and-cors/">CSP and CORS</a></h2>
<time class="published" datetime="2020-04-11 10:51:20 +0200 CEST">April 11, 2020</time>
</header>
</article>
<article class="mini-post">
<a href="/blog/angular-rxjs-http-requests/" class="image" style="--bg-image: url('/images/angular-rxjs-http-requests.jpg');">
<img src="/images/angular-rxjs-http-requests.jpg" alt="Sunrise in a wood">
</a>
<header>
<h2><a href="/blog/angular-rxjs-http-requests/">Angular and Rxjs Http Requests: Common scenarios</a></h2>
<time class="published" datetime="2020-04-09 19:40:48 +0200 CEST">April 9, 2020</time>
</header>
</article>
<article class="mini-post">
<a href="/blog/git-move-file-with-history/" class="image" style="--bg-image: url('/images/git-move.jpg');">
<img src="/images/git-move.jpg" alt="Camels at rest">
</a>
<header>
<h2><a href="/blog/git-move-file-with-history/">Git: Move Files Retaining History</a></h2>
<time class="published" datetime="2020-03-14 12:28:03 +0100 CET">March 14, 2020</time>
</header>
</article>
<footer>
<a href="/blog/" class="button">See More</a>
</footer>
</section>
<section id="categories">
<header>
<h1><a href="/categories">Categories</a></h1>
</header>
<ul>
<li>
<a href="/categories/development/">development<span class="count">8</span></a>
<li>
<a href="/categories/security/">security<span class="count">2</span></a>
<li>
<a href="/categories/other/">other<span class="count">1</span></a>
</li>
</ul>
</section>
<section id="mini-bio">
<header>
<h1>About</h1>
</header>
<p>Software Engineer passionate about Security and Privacy. Nature and animals lover. Sports (running, yoga, boxing) practitioner.</p>
<footer>
<a href="/about" class="button">Learn More</a>
</footer>
</section>
</section>
<footer id="site-footer">
<ul class="socnet-icons">
<li><a href="/index.xml" type="application/rss+xml" target="_blank" title="RSS" class="fas fa-rss"></a></li>
<li><a href="//github.com/antomor" target="_blank" rel="noopener" title="GitHub" class="fab fa-github"></a></li>
<li><a href="//www.linkedin.com/in/antoniomorrone" target="_blank" rel="noopener" title="LinkedIn" class="fab fa-linkedin"></a></li>
<li><a href="//twitter.com/antomor_dev" target="_blank" rel="noopener" title="Twitter" class="fab fa-twitter"></a></li>
<li><a href="mailto:dev@antomor.com" target="_blank" title="Email" class="far fa-envelope"></a></li>
</ul>
<p class="copyright">
© 2020 Antomor
<br>
Theme: <a href='https://github.com/pacollins/hugo-future-imperfect-slim' target='_blank' rel='noopener'>Hugo Future Imperfect Slim</a><br>A <a href='https://html5up.net/future-imperfect' target='_blank' rel='noopener'>HTML5 UP port</a> | Powered by <a href='https://gohugo.io/' title='0.83.0' target='_blank' rel='noopener'>Hugo</a>
</p>
</footer>
<a id="back-to-top" href="#" class="fas fa-arrow-up fa-2x"></a>
<script src="/js/highlight.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/languages/html.min.js"></script><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/languages/css.min.js"></script><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/languages/js.min.js"></script><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/languages/toml.min.js"></script>
<script>hljs.highlightAll();</script><script src="/js/bundle.min.00ed6026078a50712d52fc4913cee0aa3da150bcd9998ae9ffa29e71db579734.js" integrity="sha256-AO1gJgeKUHEtUvxJE87gqj2hULzZmYrp/6KecdtXlzQ="></script>
<script src="/js/add-on.js"></script>
</div>
</body>
</html>