-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·219 lines (182 loc) · 7.75 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Organisers | CTF Team</title>
<meta name="generator" content="Jekyll v3.10.0" />
<meta property="og:title" content="Organisers" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="CTF Team" />
<meta property="og:description" content="CTF Team" />
<link rel="canonical" href="https://org.anize.rs/" />
<meta property="og:url" content="https://org.anize.rs/" />
<meta property="og:site_name" content="Organisers" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Organisers" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebSite","description":"CTF Team","headline":"Organisers","name":"Organisers","url":"https://org.anize.rs/"}</script>
<!-- End Jekyll SEO tag -->
<meta property="og:image" content="https://org.anize.rs/assets/images/logo.png" />
<meta name="twitter:card" content="summary" />
<!-- TODO <meta name="twitter:description" content="" /> -->
<meta name="twitter:title" content="Organisers" />
<meta name="twitter:site" content="@0rganizers" />
<!-- TODO <meta name="twitter:image" content="" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#040d21">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Hack monospace font -->
<link rel='stylesheet' href='//cdn.jsdelivr.net/npm/[email protected]/build/web/hack.css'>
<link rel="stylesheet" href="/assets/css/style.css?v=5316bc4f8afe836db672f15ce29aefda1eb1fb2d">
<link rel="stylesheet" href="/assets/css/highlight.css?v=5316bc4f8afe836db672f15ce29aefda1eb1fb2d">
<link rel="stylesheet" href="/assets/css/light.css?v=5316bc4f8afe836db672f15ce29aefda1eb1fb2d">
<!-- legitimize current Mastodon profile via link verification -->
<link rel="me" href="https://infosec.exchange/@organizers" />
<script type="text/javascript">
function isLightThemeSelected() {
return document.cookie.match(/theme=light/i) != null
}
function setThemeFromCookie() {
var html = document.getElementsByTagName('html')[0]
html.className = isLightThemeSelected() ? 'light-theme' : 'dark-theme'
console.log('Loaded cookie: ' + document.cookie)
}
(function() {
setThemeFromCookie()
})();
</script>
<script type="text/javascript">
function getFootnoteContent(linkId) {
const fnId = linkId.replace(/^fnref/, 'fn');
return document.getElementById(fnId).querySelector("p").innerHTML;
}
function addFootnote(element, content) {
const footnote = document.createElement('div');
footnote.classList.add('footnote-box');
// Also add the footnote number
footnote.innerHTML = `<sup>${element.innerText}</sup> ${content}`;
footnote.querySelectorAll('a.reversefootnote').forEach((backlink) => {
footnote.removeChild(backlink);
});
element.insertAdjacentElement('afterend', footnote);
element.dataset.toggled = '1';
}
function removeFootnote(element) {
element.parentElement.removeChild(element.nextSibling);
element.dataset.toggled = '0';
}
window.addEventListener("load", function() {
document.querySelectorAll("a.footnote").forEach((el) => {
const sup = el.parentElement;
el.addEventListener("click", (event) => {
const isOpen = Number.parseInt(sup.dataset.toggled || '0');
if (!isOpen) {
addFootnote(sup, getFootnoteContent(sup.id));
} else {
removeFootnote(sup);
}
event.preventDefault();
});
});
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
fonts: ["Gyre-Pagella"],
imageFont: null,
undefinedFamily: "'Arial Unicode MS', cmbright"
},
tex2jax: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
processEscapes: true
}
});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_HTML"></script>
</head>
<body>
<header class="page-header-simple" role="banner">
<div class="left-links"><a id="header-logo" href="/">Organi{s|z}ers</a></div>
<div class="right-links">
<a href="/writeups">Writeups</a>
<a href="/achievements">Achievements</a>
</div>
</header>
<main id="content" class="main-content" role="main">
<div class="html-logo">
<div class="circle">
<div class="text-holder">
<p>
,aooooa,<br />
,oY"' '"Yo,<br />
,oY00 Yo,<br />
oo <span class="highlight">ORG</span> oo<br />
oo <span class="highlight">ANI</span> oo<br />
oo {<span class="highlight">S</span>|<span class="highlight">Z</span>} oo<br />
oo <span class="highlight">ERS</span> oo<br />
`ob 00do'<br />
`oba, ,ado'<br />
"YooooY"
</p>
</div>
</div>
Contact us: <a href="mailto:[email protected]">[email protected]</a>
</div>
<!-- <footer class="site-footer">
<a href="https://twitter.com/0rganizers">Twitter</a> | <a id="changeTheme" class="btn-toggle">Dark-Mode</a>
</footer> -->
<div class="lever-meme">
<div id="lever" class="lever-off"></div>
</div>
<div class="twitter">
<a href="https://twitter.com/0rganizers"><img src="/assets/images/twitter.svg"></a>
</div>
<script>
let leverCount = 0;
let manic = false;
function resetLever() {
leverCount = 0;
setTimeout(resetLever, 1750);
}
resetLever();
document.getElementById('lever')
.addEventListener('click', function (event) {
if(leverCount > 10){
manic = true;
document.getElementById("lever").classList.add('lever-manic');
document.getElementById("header-logo").classList.add('rainbow');
}
if(!manic){
document.getElementById("lever").classList.toggle('lever-on');
++leverCount;
}
});
</script>
<script>
function updateThemeToggleFooter() {
let elem = document.querySelector('#lever');
// elem.innerHTML = isLightThemeSelected() ? 'Dark Mode' : 'Light Mode'
}
(function() {
updateThemeToggleFooter()
})();
function togglePageContentLightDark() {
var html = document.getElementsByTagName('html')[0]
var currentClass = html.className
var newClass = html.className == 'dark-theme' ? 'light-theme' : 'dark-theme'
html.className = newClass
document.cookie = 'theme=' + (newClass == 'light-theme' ? 'light' : 'dark') + '; SameSite=Strict; path=/; expires=Fri, 31 Dec 9999 23:59:59 GMT'
console.log('Cookies are now: ' + document.cookie)
updateThemeToggleFooter()
}
const btn = document.querySelector("#lever");
btn.addEventListener("click", function() {
togglePageContentLightDark();
});
</script>
</main>
</body>
</html>