-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
417 lines (371 loc) · 17.6 KB
/
index.html
File metadata and controls
417 lines (371 loc) · 17.6 KB
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
<!DOCTYPE html>
<html lang="en" data-bs-theme="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Title</title>
<meta name="description" content="Short page description">
<link rel="stylesheet" href="styles.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" integrity="sha384-tViUnnbYAV00FLIhhi3v/dWt3Jxw4gZQcNoSCxCIFNJVCx7/D55/wXsrNIRANwdD" crossorigin="anonymous">
<style>
.scroll-container::-webkit-scrollbar {
display: none;
}
.scroll-container {
scrollbar-width: none;
}
.card-width {
width: 18rem;
}
@media (min-width: 1200px) {
.container-md { max-width: 960px; }
}
.scroll-overlay{
position: absolute;
top: 0;
bottom: 0;
width: 3rem;
border: 0;
padding: 0;
display: grid;
place-items: center;
background: transparent;
z-index: 2;
color: rgba(0,0,0,0.8);
font-size: 3rem;
}
/* right fade */
.scroll-overlay.end-0 {
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
-webkit-mask-image: linear-gradient(to left,black 0%,transparent 100%);
mask-image: linear-gradient(to left,black 0%,transparent 100%);
justify-items: end;
padding-right: .4rem;
}
/* left fade */
.scroll-overlay.start-0{
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
-webkit-mask-image: linear-gradient(to right,black 0%,transparent 100%);
mask-image: linear-gradient(to right,black 0%,transparent 100%);
justify-items: start;
padding-left: .4rem;
}
.scroll-overlay span {
transition: transform 0.15s ease;
color: var(--bs-primary);
}
.scroll-overlay:hover span {
transform: scale(1.3);
}
.clamp {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4; /* number of lines */
}
/*#navId .nav-link:focus,
#navId .nav-link:focus-visible {
color: rgba(var(--bs-white-rgb), .85);
box-shadow: none;
outline: none;
}*/
.soft-bottom {
/* Soft bottom fade */
-webkit-mask-image: linear-gradient(to bottom, white calc(100% - 2rem), transparent 100%);
mask-image: linear-gradient(to bottom, white calc(100% - 2rem), transparent 100%);
}
#navId {
white-space: nowrap;
}
#navId::-webkit-scrollbar {
display: none;
}
#navId .nav-item {
flex: 0 0 auto; /* mobile: don't shrink */
}
@media (min-width: 730px) { /* lg breakpoint */
#navId .nav-item {
flex: 1 1 0; /* allow nav-fill behaviour */
}
}
.card-img-top {
aspect-ratio: 1 / 1;
height: 15rem;
width: auto;
}
</style>
</head>
<body class="bg-body-tertiary"> <!--class="vh-100 d-flex flex-column overflow-hidden container-xxl"> class="vh-100 d-flex flex-column"> -->
<!-- nav -->
<div class="container-md position-fixed top-0 start-50 translate-middle-x z-3 soft-bottom" style="background: var(--bs-tertiary-bg); padding-top: 1rem; padding-bottom: 2rem;">
<ul id="navId" class="nav nav-pills
flex-nowrap overflow-auto nav-fill
gap-2 p-1 rounded-5
small bg-primary shadow" role="tablist" style="scrollbar-width: none; --bs-nav-link-color: rgba(var(--bs-white-rgb), 0.75); --bs-nav-pills-link-active-color: var(--bs-primary); --bs-nav-pills-link-active-bg: var(--bs-white);">
<li class="nav-item" role="presentation">
<a class="nav-link active rounded-5" href="#welcome" data-bs-toggle="tab" type="button" role="tab" aria-selected="true">Welcome</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link rounded-5" href="#projects" data-bs-toggle="tab" type="button" role="tab" aria-selected="false">Projects</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link rounded-5" href="#attitudes" data-bs-toggle="tab" type="button" role="tab" aria-selected="false">Attitudes</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link rounded-5" href="#skills" data-bs-toggle="tab" type="button" role="tab" aria-selected="false">IT skills</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link rounded-5" href="#achievements" data-bs-toggle="tab" type="button" role="tab" aria-selected="false">Other achievements</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link rounded-5" href="#links" data-bs-toggle="tab" type="button" role="tab" aria-selected="false">Useful links</a>
</li>
<li role="presentation">
<button id="themeButton" class="btn btn-primary rounded-5" data-bs-toggle="tab">
<i id="themeIcon" class="bi bi-sun"></i>
</button>
</li>
</ul>
</div>
<!--data-bs-smooth-scroll="true"-->
<div class="container-md scrollspy-example h-100" data-bs-spy="scroll" data-bs-target="#navId" tabindex="0" style="padding-top: 5rem;">
<!-- Intro paragraph -->
<div>
<h1 id="welcome" style="font-size: 3rem;">Welcome</h1>
<hr>
<h2>Introduction</h2>
<p>I learned to code through the UK BBC Microbit initiative back in 2017 (ish). Since then I have learned alot and done various personal projects, only a few of which are listed here. They are at different stages of completion and size. Some have effective commentory while others are sparse. There is a tendency for UI development, but only because those projects can be used in daily life.</p>
<p>This is not meant to be a CV, plus I have specifically excluded my true name.</p>
<b>Please remember:</b>
<ul>
<li>I don't have a Computer Science degree, but did take some Physics/Maths programming modules at university.</li>
<li>I do have a life outside of coding and can thus only code in my spare time.</li>
<li>I have an understanding of coding structures upto class inheritance, pointers, etc, and an idea of basic algorithms.</li>
<li>I will continue to add personal projects.</li>
<li>Academic projects are not listed here.</li>
</ul>
</div>
<hr>
<!-- Projects -->
<div>
<h2 id="projects">Projects</h2>
<!-- https://getbootstrap.com/docs/5.3/components/card/ -->
<!-- Existing -->
<div class="position-relative">
<!-- Left overlay -->
<button id="scrollLeft"
class="scroll-overlay start-0"
type="button" aria-label="Scroll left">
<span>‹</span>
</button>
<!-- Right overlay -->
<button id="scrollRight"
class="scroll-overlay end-0"
type="button" aria-label="Scroll right">
<span>›</span>
</button>
<div id="hscroll" class="d-flex overflow-auto flex-nowrap gap-3 scroll-container align-items-stretch">
<div class="card flex-shrink-0 d-flex flex-column card-width">
<img src="portfolio.jpg" class="card-img-top" alt="Braids.jpg">
<div class="card-body">
<h5 class="card-title">This page</h5>
<p class="card-text clamp">An online website to present a small portfolio.</p>
<a href="https://github.com/CairnCoder/portfolio" class="btn btn-primary">See in GitHub</a>
</div>
</div>
<div class="card flex-shrink-0 d-flex flex-column card-width">
<img src="omapviewer.jpg" class="card-img-top" alt="Braids.jpg">
<div class="card-body">
<h5 class="card-title">Omap viewer</h5>
<p class="card-text clamp">An online website that can be used to study (orienteering) maps in bitmap format.</p>
<a href="https://github.com/CairnCoder/o-map-viewer" class="btn btn-primary">See in GitHub</a>
</div>
</div>
<div class="card flex-shrink-0 d-flex flex-column card-width">
<img src="goniometer.jpg" class="card-img-top" alt="Braids.jpg">
<div class="card-body">
<h5 class="card-title">Engineering Internship - Goniometer</h5>
<p class="card-text clamp">A copy and paste of the code that I left Avicena Tech with at the end of my internship in summer of 2024. </p>
<a href="https://github.com/CairnCoder/Engineering-Internship-Goniometer" class="btn btn-primary">See in GitHub</a>
</div>
</div>
<div class="card flex-shrink-0 d-flex flex-column card-width">
<img src="FTP.jpg" class="card-img-top" alt="Braids.jpg">
<div class="card-body">
<h5 class="card-title">Clear ftp server folder</h5>
<p class="card-text clamp">A Windows Forms software that makes clearing the contents of an online FTP server folder, quick and simple.</p>
<a href="https://github.com/CairnCoder/clear-ftp-server-folder" class="btn btn-primary">See in GitHub</a>
</div>
</div>
<div class="card flex-shrink-0 d-flex flex-column card-width">
<img src="FTP.jpg" class="card-img-top" alt="Braids.jpg">
<div class="card-body">
<h5 class="card-title">Clear windows registry network profiles</h5>
<p class="card-text clamp">This program is an accessable tool that lists the ethernet network profiles on win10 and allows a user to delete them quickly.</p>
<a href="https://github.com/CairnCoder/clear-windows-registry-network-profiles" class="btn btn-primary">See in GitHub</a>
</div>
</div>
<div class="card flex-shrink-0 d-flex flex-column card-width">
<img src="Echo-360-Logo-Web.jpg" class="card-img-top" alt="Braids.jpg">
<div class="card-body">
<h5 class="card-title">Echo360 video copy tools</h5>
<p class="card-text clamp">Small project that allows you to download videos from echo360. This program requires that you can access the videos in your normal browsing but overcomes the issue that there is no download button.</p>
<a href="https://github.com/CairnCoder/echo360-video-copy-tools" class="btn btn-primary">See in GitHub</a>
</div>
</div>
<div class="card flex-shrink-0 d-flex flex-column card-width">
<img src="log.jpg" class="card-img-top" alt="Braids.jpg">
<div class="card-body">
<h5 class="card-title">Fitness log</h5>
<p class="card-text clamp">A cancelled project - for now. <s>A project to track my fitness beyond what commercial fitness tracking apps can provide.</s></p>
<a href="https://github.com/CairnCoder/fitness-log" class="btn btn-primary">See in GitHub</a>
</div>
</div>
</div>
</div>
</div>
<hr>
<!-- Attitudes -->
<div>
<h2 id="attitudes">Attitudes</h2>
<ul>
<li><b>I believe in well documented code</b>, for one's own sanity a few years later and for other people: inline comments, function definition messages, summaries of intended task.</li>
<li><b>I believe in time efficiency</b>, thus comments should only be done once the final version is well defined.</li>
<li><b>I believe in simplicity</b>, it is less prone to error, faster to understand, and easier to alter. Ideal simple solutions might not be immediately obvious and thus we must value the progress made to reach them.</li>
<li><b>I believe that there is no point repeating what other people have already done</b>, if the tools are there, just use them; don't waist your time in replicating them unless you have a good reason.</li>
</ul>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
</div>
<hr>
<!-- Skill -->
<div>
<h2 id="skills">IT skill</h2>
<p>This list is not exhaustive.</p>
<p>I now regularly use generative AI tools to accelerate my programming. It can't do everything: it gets things wrong, fails with niche areas of information, but excels with well known information (mostly). As the saying goes "Your job won't be replace by AI. Instead it will be replaced by the person who can use AI <b>effectively</b>."</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
<p>t</p>
</div>
<hr>
<!-- Achievements -->
<div>
<h2 id="achievements">Other achievements</h2>
<div class="card mb-3">
<div class="row g-0">
<div class="col-auto">
<img src="Screenshot_20260219_232543_Duolingo.jpg" class="img-fluid rounded-start" style="height: 30rem;" alt="Screenshot showing my 550 day streak on Duolingo.">
</div>
<div class="col">
<div class="card-body">
<h5 class="card-title">Language learning</h5>
<p class="card-text">550 day Duolingo streak. <br> Includes: Mandarin Chinese, Swedish, German.</p>
<p class="card-text"><small class="text-body-secondary">Last updated 19th February 2026</small></p>
</div>
</div>
</div>
</div>
</div>
<hr>
<!-- Achievements -->
<div>
<h2 id="links">Useful links</h2>
<h5>Technical</h5>
<ul style="list-style: none;">
<li>
<a class="icon-link icon-link-hover" href="https://www.wiisfi.com/">
WiisFi - Understanding Wi-Fi 4/5/6/6E/7/8 (802.11 n/ac/ax/be/bn)
<svg xmlns="http://www.w3.org/2000/svg" class="bi" viewBox="0 0 16 16" aria-hidden="true">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg>
</a>
</li>
<li>
<a class="icon-link icon-link-hover" href="https://earth.nullschool.net/#current/wind/surface/level/">
Global projections (weather)
<svg xmlns="http://www.w3.org/2000/svg" class="bi" viewBox="0 0 16 16" aria-hidden="true">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg>
</a>
</li>
</ul>
<h5>Sport</h5>
<ul style="list-style: none;">
<li>
<a class="icon-link icon-link-hover" href="https://www.maprunner.co.uk/">
Maprunner
<svg xmlns="http://www.w3.org/2000/svg" class="bi" viewBox="0 0 16 16" aria-hidden="true">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg>
</a>
</li>
<li>
<a class="icon-link icon-link-hover" href="https://mpickering.github.io/maps.html">
UK Routegadget maps on OSM
<svg xmlns="http://www.w3.org/2000/svg" class="bi" viewBox="0 0 16 16" aria-hidden="true">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg>
</a>
</li>
</ul>
</div>
<hr>
<!-- Footnotes -->
<p>
© 2026 CairnCoder | Built with <a href="https://getbootstrap.com/" target="_blank" rel="noopener">Bootstrap 5.3.8</a>
</p>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
<script>
const scroller = document.getElementById('hscroll');
const leftBtn = document.getElementById('scrollLeft');
const rightBtn = document.getElementById('scrollRight');
function updateOverlays() {
const maxScrollLeft = scroller.scrollWidth - scroller.clientWidth;
leftBtn.classList.toggle('d-none', scroller.scrollLeft <= 0);
rightBtn.classList.toggle('d-none', scroller.scrollLeft >= maxScrollLeft - 1);
}
function scrollByAmount(dir) {
// scroll by ~80% of container width
const amount = scroller.clientWidth * 0.8 * dir;
scroller.scrollBy({ left: amount, behavior: 'smooth' });
}
leftBtn.addEventListener('click', () => scrollByAmount(-1));
rightBtn.addEventListener('click', () => scrollByAmount(1));
scroller.addEventListener('scroll', updateOverlays);
window.addEventListener('resize', updateOverlays);
updateOverlays();
</script>
<!-- <script>
// Set top padding to match the header height (works if header height changes responsively)
const topbar = document.getElementById('navId').parentElement;
const content = document.getElementById('content');
function syncPadding() {
content.style.marginTop = topbar.offsetHeight + 'px';
}
window.addEventListener('resize', syncPadding);
syncPadding();
</script> -->
<script>
const root = document.documentElement;
document.getElementById('themeButton').addEventListener('click', () => {
root.dataset.bsTheme = root.dataset.bsTheme === 'dark' ? 'light' : 'dark';
document.getElementById('themeIcon').classList = root.dataset.bsTheme === 'light' ? 'bi-sun' : 'bi-moon';
});
</script>
</body>
</html>