-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathindex.html
More file actions
122 lines (115 loc) · 4.28 KB
/
index.html
File metadata and controls
122 lines (115 loc) · 4.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Awesome GPU Engineering</title>
<link rel="icon" href="https://awesome.re/badge.svg">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q1H5MRCWWL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Q1H5MRCWWL');
</script>
<style>
body {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
max-width: 900px;
margin: 2rem auto;
padding: 1rem;
line-height: 1.6;
}
code, pre { background: #f6f8fa; padding: 2px 4px; border-radius: 4px; }
a { color: #0366d6; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { border-bottom: 1px solid #eee; padding-bottom: 0.3rem; }
img { vertical-align: middle; }
</style>
</head>
<body>
<!-- GitHub Corner Badge -->
<a href="https://github.com/goabiaryan/awesome-gpu-engineering" target="_blank"
style="
position: fixed;
top: 1rem;
right: 1rem;
background-color: #24292e;
color: white;
font-weight: 600;
font-size: 14px;
padding: 8px 14px;
border-radius: 6px;
text-decoration: none;
display: flex;
align-items: center;
gap: 6px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
z-index: 9999;
">
<svg height="18" width="18" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
<path d="M8 0C3.58 0 0 3.58 0 8a8 8 0 0 0 5.47 7.59c.4.07.55-.17.55-.38
0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94
-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53
.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66
.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95
0-.87.31-1.59.82-2.15-.08-.2-.36-1.01.08-2.11 0 0
.67-.21 2.2.82a7.63 7.63 0 0 1 2-.27c.68 0 1.36.09
2 .27 1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.91.08
2.11.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65
3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19
0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
</svg>
Check on GitHub
</a>
<style>
.github-corner:hover .octo-arm { animation: octocat-wave 560ms ease-in-out; }
@keyframes octocat-wave {
0%, 100% { transform: rotate(0); }
20%, 60% { transform: rotate(-25deg); }
40%, 80% { transform: rotate(10deg); }
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm { animation: none; }
.github-corner .octo-arm { animation: octocat-wave 560ms ease-in-out; }
}
</style>
<div id="content">Loading...</div>
<script src="https://cdn.jsdelivr.net/npm/showdown@2.1.0/dist/showdown.min.js"></script>
<script>
// Fetch and render the README.md
fetch('README.md')
.then(response => response.text())
.then(markdown => {
const converter = new showdown.Converter({ tables: true });
document.getElementById('content').innerHTML = converter.makeHtml(markdown);
});
</script>
<script>
// Fetch and render the README.md
fetch('README.md')
.then(response => response.text())
.then(markdown => {
const converter = new showdown.Converter({ tables: true });
document.getElementById('content').innerHTML = converter.makeHtml(markdown);
// Inject email capture after README content
const emailSection = document.createElement('div');
emailSection.style.margin = '40px 0';
emailSection.style.padding = '20px';
emailSection.style.border = '1px solid #EEE';
emailSection.style.background = 'white';
emailSection.style.textAlign = 'center';
emailSection.innerHTML = `
<h2>Get the GPU Engineering Interview Guide</h2>
<p>I'm compiling an exclusive GPU Engineering System Design interview guide. To receive it straight in your inbox once it's done.</p>
<iframe src="https://modelcraft.substack.com/embed"
width="100%"
height="320"
style="max-width:480px; border:1px solid #FFF; background:white;"
frameborder="0" scrolling="no"></iframe>
`;
document.getElementById('content').appendChild(emailSection);
});
</script>
</body>
</html>