-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (57 loc) · 1.77 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name="keywords" content="JS, HTML5, canvas, websocket, PhaserJS, NodeJS, NPM, MongoDB, Lua, Love2d, CoronaSDK, C++, C#, Unity3d">
<meta name="robots" content="index, follow">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>About me</title>
<link media="screen" href="demo/styles/demo.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
</head>
<body>
<canvas oncontextmenu="return false;" id="canvas"></canvas>
<div class="code-editor">
<span class="control"></span>
<span class="control"></span>
<span class="control"></span>
<pre class="line-numbers">
<code class="language-css">
var person = {
name : "Denis Kolsanov",
location : "Russia, Kazan",
links : [
"vk.com/o_opera",
"codeforces.com/profile/deniskolsanov"
],
keywords : [
"JS",
"HTML5", // canvas, websocket, PhaserJS
"NodeJS", // NPM, MongoDB
"Lua", // Love2d, CoronaSDK
"C++",
"C#",
"Unity3d"
]
}
// more info coming soon...
// you can draw using left and right mouse button
</code></pre>
</div>
<script src="js/index.js"></script>
<script src="js/canvas.js"></script>
<script type="text/javascript">
// im very apologize about this dirty hack :(
setTimeout(function(){
var strings = document.getElementsByClassName("token string");
strings[2].outerHTML = strings[2].outerHTML.replace(/span/g,"a");
strings[2].href = "https://vk.com/o_opera";
strings[2].target = "_blank";
strings[3].outerHTML = strings[3].outerHTML.replace(/span/g,"a");
strings[3].href = "http://codeforces.com/profile/deniskolsanov";
strings[3].target = "_blank";
}, 0);
</script>
</body>
</html>