-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
389 lines (330 loc) · 18.3 KB
/
404.html
File metadata and controls
389 lines (330 loc) · 18.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noodp" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<title>404 Page not found - Automate everything </title><meta name="Description" content="Automate everything - Sebastian Gräf"><meta property="og:url" content="https://graef.io/404.html">
<meta property="og:site_name" content="Automate everything ">
<meta property="og:title" content="404 Page not found">
<meta property="og:description" content="Automate everything - Sebastian Gräf">
<meta property="og:locale" content="en">
<meta property="og:type" content="website">
<meta property="og:image" content="https://graef.io/logo.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://graef.io/logo.png">
<meta name="twitter:title" content="404 Page not found">
<meta name="twitter:description" content="Automate everything - Sebastian Gräf">
<meta name="twitter:site" content="@segraef">
<meta name="application-name" content="graef.io - Sebastian Gräf">
<meta name="apple-mobile-web-app-title" content="graef.io - Sebastian Gräf"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<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="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="https://graef.io/404.html" /><link rel="stylesheet" href="/lib/normalize/normalize.min.css"><link rel="stylesheet" href="/css/style.min.css"><link rel="stylesheet" href="/lib/fontawesome-free/all.min.css"><link rel="stylesheet" href="/lib/animate/animate.min.css"><meta name="google-site-verification" content="google-site-verification=081I19l1P1J3FFLaw1uKtAtY5KcJx_Z9ywiKt60VGP4" />
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "pg6m55thgo");
window.ClarityConsentManager = {
cookieName: 'clarity_consent_v2',
getConsent: function() {
try {
const consent = localStorage.getItem(this.cookieName);
return consent ? JSON.parse(consent) : null;
} catch (e) {
return null;
}
},
setConsent: function(adStorage, analyticsStorage) {
const consent = {
ad_storage: adStorage,
analytics_storage: analyticsStorage,
timestamp: Date.now()
};
try {
localStorage.setItem(this.cookieName, JSON.stringify(consent));
} catch (e) {
console.warn('Could not save consent preferences');
}
this.sendConsentToClarity(adStorage, analyticsStorage);
},
sendConsentToClarity: function(adStorage, analyticsStorage) {
if (window.clarity) {
window.clarity('consentv2', {
ad_Storage: adStorage,
analytics_Storage: analyticsStorage
});
}
},
applyExistingConsent: function() {
const consent = this.getConsent();
if (consent) {
const oneYear = 365 * 24 * 60 * 60 * 1000;
if (Date.now() - consent.timestamp < oneYear) {
this.sendConsentToClarity(consent.ad_storage, consent.analytics_storage);
return true;
}
}
return false;
},
acceptAll: function() {
this.setConsent('granted', 'granted');
this.hideBanner();
},
rejectAll: function() {
this.setConsent('denied', 'denied');
this.hideBanner();
},
acceptNecessary: function() {
this.setConsent('denied', 'granted');
this.hideBanner();
},
showBanner: function() {
const banner = document.getElementById('clarity-consent-banner');
if (banner) {
banner.style.display = 'block';
banner.setAttribute('aria-hidden', 'false');
}
},
hideBanner: function() {
const banner = document.getElementById('clarity-consent-banner');
if (banner) {
banner.style.display = 'none';
banner.setAttribute('aria-hidden', 'true');
}
},
resetConsent: function() {
try {
localStorage.removeItem(this.cookieName);
} catch (e) {
console.warn('Could not remove consent preferences');
}
if (window.clarity) {
window.clarity('consent', false);
}
(function deleteCookie(name){
try {
document.cookie = name + '=; Max-Age=0; path=/;';
} catch (e) {}
})('cookieconsent_status');
if (window.cookieconsent && window.config && window.config.cookieconsent) {
try {
window.cookieconsent.initialise(window.config.cookieconsent);
} catch (e) {}
}
},
init: function() {
if (!this.applyExistingConsent()) {
this.showBanner();
}
}
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', function() {
window.ClarityConsentManager.init();
setupCookieConsentBridge();
});
} else {
window.ClarityConsentManager.init();
setupCookieConsentBridge();
}
function setupCookieConsentBridge() {
function readCookie(name) {
const match = document.cookie.match(new RegExp('(?:^|; )' + name.replace(/([.$?*|{}()\[\]\\\/\+^])/g, '\\$1') + '=([^;]*)'));
return match ? decodeURIComponent(match[1]) : null;
}
const status = readCookie('cookieconsent_status');
if (status === 'allow') {
window.ClarityConsentManager.setConsent('granted', 'granted');
} else if (status === 'deny') {
window.ClarityConsentManager.setConsent('denied', 'denied');
}
document.addEventListener('click', function(e) {
const target = e.target;
if (!target) return;
if (target.classList && target.classList.contains('cc-allow')) {
window.ClarityConsentManager.acceptAll();
try { renderConsentDebugBadge('allow'); } catch (e) {}
} else if (target.classList && target.classList.contains('cc-deny')) {
window.ClarityConsentManager.rejectAll();
}
});
}
</script>
<script src="/js/cookie-preferences.min.js"></script></head>
<body header-desktop="auto" header-mobile="auto"><script
type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('light' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : 'light' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>
<div id="mask"></div><div class="wrapper"><header class="desktop" id="header-desktop">
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "pg6m55thgo");
</script>
<div class="header-wrapper">
<div class="header-title">
<a href="/" title="Automate everything "><img
class="lazyload logo"
src="/svg/loading.min.svg"
data-src="/logo.png"
data-srcset="/logo.png, /logo.png 1.5x, /logo.png 2x"
data-sizes="auto"
alt="/logo.png"
title="/logo.png" /></a>
</div>
<div class="menu">
<div class="menu-inner"><a class="menu-item"
href="/posts/" title="Posts" > Posts </a><a class="menu-item"
href="/categories/projects/" title="Projects" > Projects </a><a class="menu-item"
href="/categories/til/" title="Today I learned" > TIL </a><a class="menu-item"
href="/tags/" title="Tags" > Tags </a><a class="menu-item"
href="/categories/" title="Categories" > Categories </a><span class="menu-item delimiter"></span><span class="menu-item search" id="search-desktop">
<input type="text"
placeholder="Search titles or contents..."
id="search-input-desktop">
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-desktop"
title="Search">
<i class="fas fa-search fa-fw"></i>
</a>
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-desktop"
title="Clear">
<i class="fas fa-times-circle fa-fw"></i>
</a>
<span class="search-button search-loading" id="search-loading-desktop">
<i class="fas fa-spinner fa-fw fa-spin"></i>
</span>
</span><a href="javascript:void(0);" class="menu-item theme-switch" title="">
<i class="fas fa-adjust fa-fw"></i>
</a>
</div>
</div>
</div>
</header><header class="mobile" id="header-mobile">
<div class="header-container">
<div class="header-wrapper">
<div class="header-title">
<a href="/" title="Automate everything "><img
class="lazyload logo"
src="/svg/loading.min.svg"
data-src="/logo.png"
data-srcset="/logo.png, /logo.png 1.5x, /logo.png 2x"
data-sizes="auto"
alt="/logo.png"
title="/logo.png" /></a>
</div>
<div class="menu-toggle" id="menu-toggle-mobile">
<span></span><span></span><span></span>
</div>
</div>
<div class="menu" id="menu-mobile"><div class="search-wrapper">
<div class="search mobile" id="search-mobile">
<input type="text"
placeholder="Search titles or contents..."
id="search-input-mobile">
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-mobile"
title="Search">
<i class="fas fa-search fa-fw"></i>
</a>
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-mobile"
title="Clear">
<i class="fas fa-times-circle fa-fw"></i>
</a>
<span class="search-button search-loading" id="search-loading-mobile">
<i class="fas fa-spinner fa-fw fa-spin"></i>
</span>
</div>
<a href="javascript:void(0);" class="search-cancel" id="search-cancel-mobile">
Cancel
</a>
</div><a class="menu-item" href="/posts/" title="Posts" >Posts</a><a class="menu-item" href="/categories/projects/" title="Projects" >Projects</a><a class="menu-item" href="/categories/til/" title="Today I learned" >TIL</a><a class="menu-item" href="/tags/" title="Tags" >Tags</a><a class="menu-item" href="/categories/" title="Categories" >Categories</a><a href="javascript:void(0);" class="menu-item theme-switch" title="">
<i class="fas fa-adjust fa-fw"></i>
</a></div>
</div>
</header>
<div class="search-dropdown desktop">
<div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
<div id="search-dropdown-mobile"></div>
</div>
<main class="main">
<div class="container"><div class="page" id="content-404">
<h1 id="error-emoji"></h1>
<p class="error-text">The page you're looking for doesn't exist. Sorry.
<a href="javascript:void(0);" title="Back" onclick="window.history.back();"><i class="far fa-hand-point-left fa-fw"></i></a>
</p>
</div>
<script type="text/javascript">
(function() {
var emojiArray = ['\\(o_o)/', '(˚Δ˚)b', '(^-^*)', '(≥o≤)', '(^_^)b', '(·_·)','(=\'X\'=)', '(>_<)', '(;-;)'];
document.getElementById('error-emoji').appendChild(document.createTextNode(emojiArray[Math.floor(Math.random() * emojiArray.length)]));
})();
</script></div>
</main><footer class="footer">
<div class="footer-container"><div class="footer-line"><i class="far fa-copyright fa-fw"></i><span itemprop="copyrightYear">2021 - 2026</span><span class="author" itemprop="copyrightHolder"> <a href="/" target="_blank"></a></span></div>
</div>
</footer></div>
<div id="fixed-buttons"><a href="#" id="back-to-top" class="fixed-button" title="Back to Top">
<i class="fas fa-arrow-up fa-fw"></i>
</a><a href="#" id="view-comments" class="fixed-button" title="View Comments">
<i class="fas fa-comment fa-fw"></i>
</a>
</div><link rel="stylesheet" href="/lib/lightgallery/lightgallery.min.css"><link rel="stylesheet" href="/lib/katex/katex.min.css"><link rel="stylesheet" href="/lib/katex/copy-tex.min.css"><link rel="stylesheet" href="/lib/cookieconsent/cookieconsent.min.css"><script type="text/javascript" src="/lib/smooth-scroll/smooth-scroll.min.js"></script><script type="text/javascript" src="/lib/autocomplete/autocomplete.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.min.js"></script><script type="text/javascript" src="/lib/lazysizes/lazysizes.min.js"></script><script type="text/javascript" src="/lib/lightgallery/lightgallery.min.js"></script><script type="text/javascript" src="/lib/lightgallery/lg-thumbnail.min.js"></script><script type="text/javascript" src="/lib/lightgallery/lg-zoom.min.js"></script><script type="text/javascript" src="/lib/clipboard/clipboard.min.js"></script><script type="text/javascript" src="/lib/sharer/sharer.min.js"></script><script type="text/javascript" src="/lib/katex/katex.min.js"></script><script type="text/javascript" src="/lib/katex/auto-render.min.js"></script><script type="text/javascript" src="/lib/katex/copy-tex.min.js"></script><script type="text/javascript" src="/lib/katex/mhchem.min.js"></script><script type="text/javascript" src="/lib/cookieconsent/cookieconsent.min.js"></script><script type="text/javascript">
<script type="text/javascript">
// Load Microsoft Clarity
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "pg6m55thgo");
// Handle cookie consent for Microsoft Clarity
document.addEventListener('DOMContentLoaded', function() {
// Check if consent was already given
var consentCookie = document.cookie.split(';').find(row => row.trim().startsWith('cookieconsent_status='));
if (consentCookie) {
var status = consentCookie.split('=')[1];
if (status === 'allow' && window.clarity) {
window.clarity('consentv2', {
ad_Storage: 'granted',
analytics_Storage: 'granted'
});
} else if (status === 'deny' && window.clarity) {
window.clarity('consentv2', {
ad_Storage: 'denied',
analytics_Storage: 'denied'
});
}
}
// Listen for future consent changes
window.addEventListener('load', function() {
if (window.cookieconsent) {
// Monitor cookie changes
var observer = new MutationObserver(function() {
var consentCookie = document.cookie.split(';').find(row => row.trim().startsWith('cookieconsent_status='));
if (consentCookie && window.clarity) {
var status = consentCookie.split('=')[1];
if (status === 'allow') {
window.clarity('consentv2', {
ad_Storage: 'granted',
analytics_Storage: 'granted'
});
} else if (status === 'deny') {
window.clarity('consentv2', {
ad_Storage: 'denied',
analytics_Storage: 'denied'
});
}
}
});
observer.observe(document, { childList: true, subtree: true });
}
});
});
</script></script><script type="text/javascript">window.config={"code":{"copyTitle":"Copy to clipboard","maxShownLines":20},"cookieconsent":{"content":{"deny":"Reject","dismiss":"Accept","header":"🍪 Cookie Preferences","href":"/privacy-policy/","link":"Privacy Policy","message":"We use analytics cookies to understand how you interact with our website to improve your experience. We respect your privacy and give you full control over your data."},"enable":true,"palette":{"button":{"background":"#3b82f6","backgroundhover":"#2563eb","text":"#ffffff"},"popup":{"background":"#1f2937","text":"#ffffff"}},"position":"bottom","staticfooter":false,"theme":"edgeless","type":"opt-in"},"lightGallery":{"actualSize":false,"exThumbImage":"data-thumbnail","hideBarsDelay":2000,"selector":".lightgallery","speed":400,"thumbContHeight":80,"thumbWidth":80,"thumbnail":true},"math":{"delimiters":[{"display":true,"left":"$$","right":"$$"},{"display":true,"left":"\\[","right":"\\]"},{"display":false,"left":"$","right":"$"},{"display":false,"left":"\\(","right":"\\)"}],"strict":false},"search":{"highlightTag":"em","lunrIndexURL":"/index.json","maxResultLength":10,"noResultsFound":"No results found","snippetLength":30,"type":"lunr"}};</script><script type="text/javascript" src="/js/theme.min.js"></script><script type="text/javascript">
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());
gtag('config', 'UA-99599711-2', { 'anonymize_ip': true });
</script><script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=UA-99599711-2" async></script></body>
</html>