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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#6a9fb5">
<title>"Tutorial"</title>
<!--
<link rel="stylesheet" href="https://unpkg.com/latex.css/style.min.css" />
-->
<link rel="stylesheet" href="/assets/c-hyde.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700">
<link rel="stylesheet" href="/assets/main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="og:site_name" content="Navan Chauhan">
<link rel="canonical" href="https://web.navan.dev">
<meta name="twitter:url" content="https://web.navan.dev">
<meta name="og:url" content="https://web.navan.dev">
<meta name="twitter:title" content="Hey - Home">
<meta name="og:title" content="Hey - Home">
<meta name="description" content="code snippets, long-form rants, and tutorials">
<meta name="twitter:description" content="code snippets, long-form rants, and tutorials">
<meta name="og:description" content="code snippets, long-form rants, and tutorials">
<meta name="twitter:card" content="summary_large_image">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/images/favicon.png" type="image/png">
<link href="/feed.rss" type="application/atom+xml" rel="alternate" title="Sitewide Atom feed">
<meta name="twitter:image" content="https://web.navan.dev/images/logo.png">
<meta name="og:image" content="https://web.navan.dev/images/logo.png">
<meta name="google-site-verification" content="LVeSZxz-QskhbEjHxOi7-BM5dDxTg53x2TwrjFxfL0k">
<script data-goatcounter="https://navanchauhan.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
<script defer data-domain="web.navan.dev" src="https://plausible.io/js/plausible.js"></script>
<link rel="manifest" href="/manifest.json">
</head>
<body class="theme-base-0d">
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<h1><a href="/">Navan</a></h1>
<p class="lead" id="random-lead">Alea iacta est.</p>
</div>
<ul class="sidebar-nav">
<li><a class="sidebar-nav-item" href="/about/">about/links</a></li>
<li><a class="sidebar-nav-item" href="/posts/">posts</a></li>
<li><a class="sidebar-nav-item" href="/3D-Designs/">3D designs</a></li>
<li><a class="sidebar-nav-item" href="/feed.rss">RSS Feed</a></li>
<li><a class="sidebar-nav-item" href="/colophon/">colophon</a></li>
</ul>
<div class="copyright"><p>© 2019-2024. Navan Chauhan <br> <a href="/feed.rss">RSS</a></p></div>
</div>
</div>
<script>
let phrases = [
"Something Funny", "Veni, vidi, vici", "Alea iacta est", "In vino veritas", "Acta, non verba", "Castigat ridendo mores",
"Cui bono?", "Memento vivere", "अहम् ब्रह्मास्मि", "अनुगच्छतु प्रवाहं", "चरन्मार्गान्विजानाति", "coq de cheval", "我愛啤酒"
];
let new_phrase = phrases[Math.floor(Math.random()*phrases.length)];
let lead = document.getElementById("random-lead");
lead.innerText = new_phrase;
</script>
<div class="content container">
<main>
<h1>Tutorial</h1><p>Posts tagged 'Tutorial'</p>
</main>
<ul>
<li><a href="/posts/2024-04-17-implementing-minimax-for-chess-in-swift.html">Implementing Minimax with Alpha-Beta pruning for a simple Chess AI in Swift</a>
<ul>
<li>Adding a bestMove method to swift-chess-neo by implementing alpha-beta pruning for minimax</li>
<li>Published On: 2024-04-17 23:20</li>
<li>Tags:
<a href='/tags/Chess.html'>Chess</a>,
<a href='/tags/Game-Theory.html'>Game-Theory</a>,
<a href='/tags/Mathematics.html'>Mathematics</a>,
<a href='/tags/Swift.html'>Swift</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2024-03-28-Running-ADFRSuite-on-arm64-Macs.html">Fixing ADFRSuite for Apple Silicon</a>
<ul>
<li>Fixing ADFRsuite on M1/MX chip Macs - CLI Tools</li>
<li>Published On: 2024-03-28 20:12</li>
<li>Tags:
<a href='/tags/Cheminformatics.html'>Cheminformatics</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/macOS.html'>macOS</a>
</ul>
</li>
<li><a href="/posts/2024-03-21-Polynomial-Regression-in-TensorFlow-2.html">Polynomial Regression Using TensorFlow 2.x</a>
<ul>
<li>Predicting n-th degree polynomials using TensorFlow 2.x</li>
<li>Published On: 2024-03-21 12:46</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/Colab.html'>Colab</a>,
<a href='/tags/Tensorflow.html'>Tensorflow</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2024-03-15-setting-up-macos-for-8088-dos-dev.html">Cross-Compiling Hello World for DOS on macOS</a>
<ul>
<li>This goes through compiling Open Watcom 2 and creating simple hello-world exampls</li>
<li>Published On: 2024-03-15 13:16</li>
<li>Tags:
<a href='/tags/DOS.html'>DOS</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/macOS.html'>macOS</a>,
<a href='/tags/x86.html'>x86</a>
</ul>
</li>
<li><a href="/posts/2024-02-26-control-element-under-another-element-html-css.html">Interacting with underlying element in HTML</a>
<ul>
<li>With CSS you can disable any interactions with an element and directly control the underlying element</li>
<li>Published On: 2024-02-26 11:57</li>
<li>Tags:
<a href='/tags/CSS.html'>CSS</a>,
<a href='/tags/Code-Snippet.html'>Code-Snippet</a>,
<a href='/tags/HTML.html'>HTML</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2023-10-05-attack-lab.html">Attack Lab</a>
<ul>
<li>Walkthrough of Attack Lab Phases 1-4 for CSCI 2400 Computer Systems</li>
<li>Published On: 2023-10-05 20:01</li>
<li>Tags:
<a href='/tags/Assembly.html'>Assembly</a>,
<a href='/tags/C++.html'>C++</a>,
<a href='/tags/CSCI2400.html'>CSCI2400</a>,
<a href='/tags/Reverse-Engineering.html'>Reverse-Engineering</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/gdb.html'>gdb</a>
</ul>
</li>
<li><a href="/posts/2023-10-04-bomb-lab.html">Bomb Lab</a>
<ul>
<li>Walkthrough of Phases 1-6 of Bomb Lab for CSCI 2400 Computer Systems Lab 2</li>
<li>Published On: 2023-10-04 13:12</li>
<li>Tags:
<a href='/tags/Assembly.html'>Assembly</a>,
<a href='/tags/C++.html'>C++</a>,
<a href='/tags/CSCI2400.html'>CSCI2400</a>,
<a href='/tags/Reverse-Engineering.html'>Reverse-Engineering</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/gdb.html'>gdb</a>
</ul>
</li>
<li><a href="/posts/2023-02-08-Interact-with-siri-from-the-terminal.html">Interacting with Siri using the command line</a>
<ul>
<li>Code snippet to interact with Siri by issuing commands from the command-line.</li>
<li>Published On: 2023-02-08 17:21</li>
<li>Tags:
<a href='/tags/AppleScript.html'>AppleScript</a>,
<a href='/tags/Code-Snippet.html'>Code-Snippet</a>,
<a href='/tags/Python.html'>Python</a>,
<a href='/tags/Siri.html'>Siri</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/macOS.html'>macOS</a>
</ul>
</li>
<li><a href="/posts/2022-12-25-blog-to-toot.html">Posting blogs as Mastodon Toots</a>
<ul>
<li>Cross posting blog posts to Mastodon</li>
<li>Published On: 2022-12-25 17:32</li>
<li>Tags:
<a href='/tags/Code-Snippet.html'>Code-Snippet</a>,
<a href='/tags/Mastodon.html'>Mastodon</a>,
<a href='/tags/Python.html'>Python</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2022-05-21-Similar-Movies-Recommender.html">Building a Similar Movies Recommendation System</a>
<ul>
<li>Building a Content Based Similar Movies Recommendatiom System</li>
<li>Published On: 2022-05-21 17:56</li>
<li>Tags:
<a href='/tags/Python.html'>Python</a>,
<a href='/tags/Recommendation-System.html'>Recommendation-System</a>,
<a href='/tags/Transformers.html'>Transformers</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2021-06-27-Crude-ML-AI-Powered-Chatbot-Swift.html">Making a Crude ML Powered Chatbot in Swift using CoreML</a>
<ul>
<li>Writing a simple Machine-Learning powered Chatbot (or, daresay virtual personal assistant ) in Swift using CoreML.</li>
<li>Published On: 2021-06-27 23:26</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/CoreML.html'>CoreML</a>,
<a href='/tags/NLP.html'>NLP</a>,
<a href='/tags/Swift.html'>Swift</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2021-06-25-Blog2Twitter-P1.html">Posting Blog Posts as Twitter Threads Part 1/n</a>
<ul>
<li>Converting Posts to Twitter Threads</li>
<li>Published On: 2021-06-25 00:08</li>
<li>Tags:
<a href='/tags/Python.html'>Python</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/Twitter.html'>Twitter</a>
</ul>
</li>
<li><a href="/posts/2020-12-1-HTML-JS-RSS-Feed.html">RSS Feed written in HTML + JavaScript</a>
<ul>
<li>Short code-snippet for an RSS feed, written in HTML and JavaScript</li>
<li>Published On: 2020-12-01 20:52</li>
<li>Tags:
<a href='/tags/Code-Snippet.html'>Code-Snippet</a>,
<a href='/tags/HTML.html'>HTML</a>,
<a href='/tags/JavaScript.html'>JavaScript</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2020-11-17-Lets-Encrypt-DuckDns.html">Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt</a>
<ul>
<li>Short code-snippet to generate HTTPS certificates using the DNS Challenge through Lets Encrypt for a web-server using DuckDNS.</li>
<li>Published On: 2020-11-17 15:04</li>
<li>Tags:
<a href='/tags/Code-Snippet.html'>Code-Snippet</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/Web-Development.html'>Web-Development</a>
</ul>
</li>
<li><a href="/posts/2020-10-11-macOS-Virtual-Cam-OBS.html">Trying Different Camera Setups</a>
<ul>
<li>Comparison of different cameras setups for using as a webcam and tutorials for the same.</li>
<li>Published On: 2020-10-11 16:12</li>
<li>Tags:
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/macOS.html'>macOS</a>
</ul>
</li>
<li><a href="/posts/2020-08-01-Natural-Feature-Tracking-ARJS.html">Introduction to AR.js and Natural Feature Tracking</a>
<ul>
<li>An introduction to AR.js and NFT</li>
<li>Published On: 2020-08-01 15:43</li>
<li>Tags:
<a href='/tags/AR.js.html'>AR.js</a>,
<a href='/tags/Augmented-Reality.html'>Augmented-Reality</a>,
<a href='/tags/JavaScript.html'>JavaScript</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2020-07-01-Install-rdkit-colab.html">Installing RDKit on Google Colab</a>
<ul>
<li>Install RDKit on Google Colab with one code snippet.</li>
<li>Published On: 2020-07-01 14:23</li>
<li>Tags:
<a href='/tags/Code-Snippet.html'>Code-Snippet</a>,
<a href='/tags/Colab.html'>Colab</a>,
<a href='/tags/RDKit.html'>RDKit</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2020-05-31-compiling-open-babel-on-ios.html">Compiling Open Babel on iOS</a>
<ul>
<li>Compiling Open Babel on iOS</li>
<li>Published On: 2020-05-31 23:30</li>
<li>Tags:
<a href='/tags/Cheminformatics.html'>Cheminformatics</a>,
<a href='/tags/Jailbreak.html'>Jailbreak</a>,
<a href='/tags/Open-Babel.html'>Open-Babel</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/iOS.html'>iOS</a>
</ul>
</li>
<li><a href="/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS.html">Fixing X11 Error on macOS Catalina for AmberTools 18/19</a>
<ul>
<li>Fixing Could not find the X11 libraries; you may need to edit config.h, AmberTools macOS Catalina</li>
<li>Published On: 2020-04-13 11:41</li>
<li>Tags:
<a href='/tags/Cheminformatics.html'>Cheminformatics</a>,
<a href='/tags/Molecular-Dynamics.html'>Molecular-Dynamics</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>,
<a href='/tags/macOS.html'>macOS</a>
</ul>
</li>
<li><a href="/posts/2020-03-03-Playing-With-Android-TV.html">Tinkering with an Android TV</a>
<ul>
<li>Tinkering with an Android TV</li>
<li>Published On: 2020-03-03 18:37</li>
<li>Tags:
<a href='/tags/Android.html'>Android</a>,
<a href='/tags/Android-TV.html'>Android-TV</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2020-01-16-Image-Classifier-Using-Turicreate.html">Creating a Custom Image Classifier using Turicreate to detect Smoke and Fire</a>
<ul>
<li>Tutorial on creating a custom Image Classifier using Turicreate and a dataset from Kaggle</li>
<li>Published On: 2020-01-16 10:36</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/Colab.html'>Colab</a>,
<a href='/tags/Turicreate.html'>Turicreate</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab.html">Setting up Kaggle to use with Google Colab</a>
<ul>
<li>Tutorial on setting up kaggle, to use with Google Colab</li>
<li>Published On: 2020-01-15 23:36</li>
<li>Tags:
<a href='/tags/Colab.html'>Colab</a>,
<a href='/tags/Kaggle.html'>Kaggle</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2019-12-22-Fake-News-Detector.html">Building a Fake News Detector with Turicreate</a>
<ul>
<li>In this tutorial we will build a fake news detecting app from scratch, using Turicreate for the machine learning model and SwiftUI for building the app</li>
<li>Published On: 2019-12-22 11:10</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/Colab.html'>Colab</a>,
<a href='/tags/Swift.html'>Swift</a>,
<a href='/tags/SwiftUI.html'>SwiftUI</a>,
<a href='/tags/Turicreate.html'>Turicreate</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2019-12-16-TensorFlow-Polynomial-Regression.html">Polynomial Regression Using TensorFlow</a>
<ul>
<li>Polynomial regression using TensorFlow</li>
<li>Published On: 2019-12-16 14:16</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/Colab.html'>Colab</a>,
<a href='/tags/Tensorflow.html'>Tensorflow</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2019-12-10-TensorFlow-Model-Prediction.html">Making Predictions using Image Classifier (TensorFlow)</a>
<ul>
<li>Making predictions for image classification models built using TensorFlow</li>
<li>Published On: 2019-12-10 11:10</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/Code-Snippet.html'>Code-Snippet</a>,
<a href='/tags/Tensorflow.html'>Tensorflow</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2019-12-08-Image-Classifier-Tensorflow.html">Creating a Custom Image Classifier using Tensorflow 2.x and Keras for Detecting Malaria</a>
<ul>
<li>Tutorial on creating an image classifier model using TensorFlow which detects malaria</li>
<li>Published On: 2019-12-08 14:16</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/Colab.html'>Colab</a>,
<a href='/tags/Tensorflow.html'>Tensorflow</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2019-12-04-Google-Teachable-Machines.html">Image Classifier With Teachable Machines</a>
<ul>
<li>Tutorial on creating a custom image classifier quickly with Google Teachable Machines</li>
<li>Published On: 2019-12-04 18:23</li>
<li>Tags:
<a href='/tags/AI.html'>AI</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
<li><a href="/posts/2019-05-05-Custom-Snowboard-Anemone-Theme.html">Creating your own custom theme for Snowboard or Anemone</a>
<ul>
<li>Tutorial on creating your own custom theme for Snowboard or Anemone</li>
<li>Published On: 2019-05-05 12:34</li>
<li>Tags:
<a href='/tags/Anemone.html'>Anemone</a>,
<a href='/tags/Designing.html'>Designing</a>,
<a href='/tags/Jailbreak.html'>Jailbreak</a>,
<a href='/tags/Snowboard.html'>Snowboard</a>,
<a href='/tags/Tutorial.html'>Tutorial</a>
</ul>
</li>
</ul>
</div>
<script src="assets/manup.min.js"></script>
<script src="/pwabuilder-sw-register.js"></script>
</body>
</html>
|