Skip to content

Commit 777f67e

Browse files
committed
feat: gh pages action & jinja2
1 parent 6bc2d41 commit 777f67e

24 files changed

+267
-264
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.x"
20+
21+
- name: Install Jinja2
22+
run: pip install jinja2
23+
24+
- name: Build
25+
run: make all
26+
27+
- name: Setup Pages
28+
id: pages
29+
uses: actions/configure-pages@v3
30+
31+
- name: Upload artifact
32+
uses: actions/upload-pages-artifact@v2
33+
with:
34+
path: dist/
35+
36+
- name: Deploy to GitHub Pages
37+
id: deployment
38+
uses: actions/deploy-pages@v2

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
files := dist/index.html dist/main.css
2+
all: $(files)
3+
4+
clean:
5+
rm -rf $(files)
6+
7+
.PHONY: all clean
8+
9+
dist/%: data.yaml src/%.jinja2
10+
jinja2 $(patsubst dist/%,src/%,$@).jinja2 data.yaml > $@

data.yaml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
theme:
2+
color:
3+
background: "#2a0a2a"
4+
index:
5+
parts:
6+
- title: links
7+
type: links-only
8+
description: ""
9+
links:
10+
- title: GitHub
11+
url: https://github.com/mtib
12+
- title: LinkedIn
13+
url: https://www.linkedin.com/in/mtib/
14+
- title: CV
15+
url: /assets/cv.pdf
16+
- title: posts
17+
type: links-only
18+
description: |
19+
WIP - migrating from client-side rendered markdown to static HTML. Check my
20+
<a href="https://github.com/mtib?tab=repositories" target="_blank" rel="noopener noreferrer">
21+
GitHub repositories</a> for what I am working on.
22+
links: []
23+
- title: apps
24+
type: apps
25+
apps:
26+
- title: no-bs countdown
27+
description: |
28+
A fully client-side, static html countdown timer, with no ads or accounts or price. All data is
29+
stored in the URL.
30+
links:
31+
- title: Website
32+
url: https://blog.mtib.dev/no-bs-countdown/
33+
- title: Repository
34+
url: https://github.com/mtib/no-bs-countdown
35+
- title: no-bs spinner
36+
description: |
37+
A fully client-side, static html spinner, with no ads or accounts or price. All data is
38+
stored in the URL.
39+
links:
40+
- title: Website
41+
url: https://blog.mtib.dev/no-bs-spinner/
42+
- title: Repository
43+
url: https://github.com/mtib/no-bs-spinner
44+
- title: esc.pos
45+
description: |
46+
A fully client-side, static html ESC/POS (thermal printer) UI. Using WebUSB to print on connected
47+
hardware without requiring any drivers.
48+
Prints any markdown (rendered in browser to ESC/POS bitmap commands).
49+
links:
50+
- title: Website
51+
url: https://esc.pos.mtib.dev/
52+
- title: Repository
53+
url: https://github.com/mtib/esc-pos-generator
54+
- title: void
55+
description: |
56+
Web application to store, view and share markdown documents in a mostly write-only style, with
57+
powerful search and privacy (local encryption).
58+
links:
59+
- title: Website
60+
url: https://void.mtib.dev/
61+
- title: Front-end Repository
62+
url: https://github.com/mtib/void-frontend
63+
- title: Back-end Repository
64+
url: https://github.com/mtib/void-backend
65+
- title: papers
66+
type: apps
67+
apps:
68+
- title: "SplitBFT: Improving Byzantine Fault Tolerance Safety Using Trusted Compartments"
69+
links:
70+
- title: Paper (ACM)
71+
url: https://dl.acm.org/doi/abs/10.1145/3528535.3531516
72+
- title: Resilient Byzantine Fault-Tolerance using Multiple Trusted Execution Environments
73+
links:
74+
- title: Paper
75+
url: /assets/papers/splitbft_resilient_consensus.pdf
76+
- title: Slides
77+
url: /assets/slides/splitbft_resilient_consensus_slides.pdf
78+
- title: Presentation
79+
url: https://www.youtube.com/watch?v=6fuUlrk3IDg
80+
- title: Microsecond Replication for Microsecond Applications
81+
links:
82+
- title: Paper
83+
url: /assets/papers/ms_consensus.pdf
84+
- title: Slides
85+
url: /assets/slides/ms_consensus_slides.pdf
86+
- title: Low Latency Byzantine Agreement using RDMA
87+
links:
88+
- title: Paper
89+
url: /assets/papers/rdma_consensus.pdf
90+
- title: Slides
91+
url: /assets/slides/rdma_consensus_slides.pdf
92+
- title: certifications
93+
type: links-only
94+
description: ""
95+
links:
96+
- title: Master of Science in Computer Science
97+
url: /assets/certs/ma_cert.pdf
98+
- title: TT38 Talent Test
99+
url: /assets/certs/tt38_talent_test.pdf
100+
- title: "Predictive Index: Behaviour"
101+
url: /assets/certs/pi_behaviour.pdf
102+
- title: "Predictive Index: Cognitive"
103+
url: /assets/certs/pi_cognitive.pdf

dist/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
index.html
2+
main.css

CNAME renamed to dist/CNAME

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)