Skip to content

Commit 3ea84f2

Browse files
actions
1 parent 18e5944 commit 3ea84f2

File tree

7 files changed

+22
-69
lines changed

7 files changed

+22
-69
lines changed

.github/workflows/publish.yml

Whitespace-only changes.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/.quarto/
2+
/docs/

_publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- source: project
2+
netlify:
3+
- id: 866a37ec-e06f-4a31-8c6e-26d9c10604db
4+
url: https://michaelgicheru.com

docs/blog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ <h3 class="no-anchor listing-title">
500500
}
501501
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
502502
var mailtoRegex = new RegExp(/^mailto:/);
503-
var filterRegex = new RegExp('/' + window.location.host + '/');
503+
var filterRegex = new RegExp("https:\/\/michaelgicheru\.com\/");
504504
var isInternal = (href) => {
505505
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
506506
}

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ <h2 data-anchor-id="hi-im-michael">Hi, I’m Michael</h2>
401401
}
402402
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
403403
var mailtoRegex = new RegExp(/^mailto:/);
404-
var filterRegex = new RegExp('/' + window.location.host + '/');
404+
var filterRegex = new RegExp("https:\/\/michaelgicheru\.com\/");
405405
var isInternal = (href) => {
406406
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
407407
}

docs/posts/2025-12-29/index.html

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -22,41 +22,6 @@
2222
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
2323
vertical-align: middle;
2424
}
25-
/* CSS for syntax highlighting */
26-
html { -webkit-text-size-adjust: 100%; }
27-
pre > code.sourceCode { white-space: pre; position: relative; }
28-
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
29-
pre > code.sourceCode > span:empty { height: 1.2em; }
30-
.sourceCode { overflow: visible; }
31-
code.sourceCode > span { color: inherit; text-decoration: inherit; }
32-
div.sourceCode { margin: 1em 0; }
33-
pre.sourceCode { margin: 0; }
34-
@media screen {
35-
div.sourceCode { overflow: auto; }
36-
}
37-
@media print {
38-
pre > code.sourceCode { white-space: pre-wrap; }
39-
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
40-
}
41-
pre.numberSource code
42-
{ counter-reset: source-line 0; }
43-
pre.numberSource code > span
44-
{ position: relative; left: -4em; counter-increment: source-line; }
45-
pre.numberSource code > span > a:first-child::before
46-
{ content: counter(source-line);
47-
position: relative; left: -1em; text-align: right; vertical-align: baseline;
48-
border: none; display: inline-block;
49-
-webkit-touch-callout: none; -webkit-user-select: none;
50-
-khtml-user-select: none; -moz-user-select: none;
51-
-ms-user-select: none; user-select: none;
52-
padding: 0 4px; width: 4em;
53-
}
54-
pre.numberSource { margin-left: 3em; padding-left: 4px; }
55-
div.sourceCode
56-
{ }
57-
@media screen {
58-
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
59-
}
6025
</style>
6126

6227

@@ -370,23 +335,6 @@ <h1 class="title">Test</h1>
370335

371336

372337
<p>Hello!</p>
373-
<div class="cell">
374-
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(dplyr)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
375-
<div class="cell-output cell-output-stderr">
376-
<pre><code>
377-
Attaching package: 'dplyr'</code></pre>
378-
</div>
379-
<div class="cell-output cell-output-stderr">
380-
<pre><code>The following objects are masked from 'package:stats':
381-
382-
filter, lag</code></pre>
383-
</div>
384-
<div class="cell-output cell-output-stderr">
385-
<pre><code>The following objects are masked from 'package:base':
386-
387-
intersect, setdiff, setequal, union</code></pre>
388-
</div>
389-
</div>
390338

391339

392340

@@ -476,7 +424,7 @@ <h1 class="title">Test</h1>
476424
}
477425
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
478426
var mailtoRegex = new RegExp(/^mailto:/);
479-
var filterRegex = new RegExp('/' + window.location.host + '/');
427+
var filterRegex = new RegExp("https:\/\/michaelgicheru\.com\/");
480428
var isInternal = (href) => {
481429
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
482430
}

docs/search.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
[
2+
{
3+
"objectID": "posts/2025-12-29/index.html",
4+
"href": "posts/2025-12-29/index.html",
5+
"title": "Test",
6+
"section": "",
7+
"text": "Hello!"
8+
},
9+
{
10+
"objectID": "blog.html",
11+
"href": "blog.html",
12+
"title": "blog",
13+
"section": "",
14+
"text": "Below are some of my musings on various topics, ranging from speeding up code, actuarial science and data science (and their intersection). Please feel free to comment!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nTest\n\n\n\nQuarto\n\nR\n\n\n\ntest\n\n\n\n\n\nMichael Gicheru\n\n\n\n\n\nNo matching items"
15+
},
216
{
317
"objectID": "index.html",
418
"href": "index.html",
@@ -12,19 +26,5 @@
1226
"title": "Michael Gicheru",
1327
"section": "",
1428
"text": "I am currently an actuarial analyst at Britam, where I support the non-life insurance subsidiaries. I do actuarial investigations, triangulation and IFRS 17 reporting, among other things. I received a bachelor’s degree in actuarial science from Strathmore University in 2023.\nBesides, I procrastinate by reading books and research papers, learning R and Rust, and gaming. My favourite past time is writing R code/packages, particularly showcasing that R is in fact a fully-fledged programming language and can be used for production grade software; it is kind of “spite-driven development”. I like my code clean and blazing fast. Lately, I have had a fascination wth Rust and what you can do with it in conjunction with R as the glue language."
15-
},
16-
{
17-
"objectID": "blog.html",
18-
"href": "blog.html",
19-
"title": "blog",
20-
"section": "",
21-
"text": "Below are some of my musings on various topics, ranging from speeding up code, actuarial science and data science (and their intersection). Please feel free to comment!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nTest\n\n\n\nQuarto\n\nR\n\n\n\ntest\n\n\n\n\n\nMichael Gicheru\n\n\n\n\n\nNo matching items"
22-
},
23-
{
24-
"objectID": "posts/2025-12-29/index.html",
25-
"href": "posts/2025-12-29/index.html",
26-
"title": "Test",
27-
"section": "",
28-
"text": "Hello!\n\nlibrary(dplyr)\n\n\nAttaching package: 'dplyr'\n\n\nThe following objects are masked from 'package:stats':\n\n filter, lag\n\n\nThe following objects are masked from 'package:base':\n\n intersect, setdiff, setequal, union"
2929
}
3030
]

0 commit comments

Comments
 (0)