-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
176 lines (159 loc) · 7.54 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
<!DOCTYPE html>
<html lang="en,zh">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="The sophia project is the coding-based tutorial for machine intelligence and artificial intelligence." />
<meta name="author" content="JianKai Wang, 王建凱" />
<link rel="shortcut icon" href="data/images/sophia.png" />
<title>Sophia | JianKai Wang</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.4/css/all.css" integrity="sha384-DmABxgPhJN5jlTwituIyzIUk6oqyzf3+XuP7q3VfcWA2unxgim7OSSZKKf0KSsnh" crossorigin="anonymous">
<style>
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
body {
font-family: monospace, 'Noto Sans TC', sans-serif;
padding-top: 54px;
}
.padding-bottom-50 {
padding-bottom: 50px;
}
.padding-top-bottom {
padding-top: 50px;
padding-bottom: 50px;
}
.list-item {
font-size: 1rem;
}
.margin-section {
margin: 10px 0 10px 0;
}
.fa-kaggle {
background: url('https://icons.simplesvg.com/simple-icons:kaggle.svg?color=%23007bff') no-repeat center center / contain;
content: url('https://icons.simplesvg.com/simple-icons:kaggle.svg?color=%23007bff&height=28');
vertical-align: -0.125rem;
}
p {
margin-bottom: 0px;
}
@media (min-width: 992px) {
body {
padding-top: 56px;
}
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="/">Sophia</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<h6><a class="nav-link" href="https://jiankaiwang.no-ip.biz/"><i class="fas fa-home fa-sm"></i> Personal</a></h6>
</li>
</ul>
</div>
</div>
</nav>
<!-- Header with Background Image -->
<header class="business-header padding-top-bottom">
<div class="container">
<div class="row col-lg-12 col-sm-12 mb-12">
<div class="col-lg-1"></div>
<div class="col-lg-1 col-sm-1 mb-1">
<!--<img class="rounded-circle img-fluid d-block mx-auto" width="200px" src="data/IMAG0322.jpg" alt="">-->
</div>
<div class="col-lg-8 col-sm-10 text-left mb-10">
<div class="row col-lg-12 col-sm-12 mb-12">
<h2>Sophia</h2>
</div>
<div class="row col-lg-12 col-sm-12 mb-12">
<h4><small>by JianKai Wang</small></h4>
</div>
<div class="row col-lg-12 col-sm-12 mb-12">
<h6><p class="text-muted">The sophia project is the coding-based tutorial for machine intelligence and artificial intelligence.</p></h6>
</div>
<div class="row col-lg-12 col-sm-12 mb-12">
<a href="https://github.com/jiankaiwang"><i class="fab fa-github fa-2x"></i></a>
<a href="https://rpubs.com/jiankaiwang/"><span class="simple-svg" data-icon="mdi-language-r" data-width="34" data-inline="false"></span></a>
<a href="https://www.kaggle.com/jiankaiwang"><span class="simple-svg" data-icon="simple-icons:kaggle" data-width="28" data-inline="false"></span></a>
<a href="https://www.linkedin.com/"><i class="fab fa-linkedin fa-2x"></i></a>
<a href="https://www.facebook.com/jkw0620"><i class="fab fa-facebook-square fa-2x"></i></a>
</div>
</div>
<div class="col-lg-2 col-sm-1 mb-1"></div>
</div>
</div>
</header>
<!-- Page Content -->
<div class="container padding-bottom-50">
<div class="row">
<div class="col-lg-12">
<hr />
</div>
</div>
<div class="row">
<div class="col-md-12 col-lg-12 margin-section">
<!--<h3 class="my-4"><i class="fas fa-file fa-1x"></i> Content</h3>-->
<div id="readme">
<i class="fas fa-spinner fa-spin fa-2x"></i>
</div>
</div>
</div>
</div>
<!-- footer -->
<footer class="py-4 bg-dark">
<div class="container">
<h6><p class="m-0 text-center text-white">© 2017-2018 JianKai Wang</p></h6>
</div>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="//code.simplesvg.com/1/1.0.0-beta5/simple-svg.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/async/2.6.0/async.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.0/showdown.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78133465-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-78133465-2');
</script>
<script>
var testData = "";
function fetchData(dataLink, updateItem, callback) {
$.ajax({
url: dataLink
, type: 'get'
, data: {}
, error: function (xhr, ajaxOptions, thrownError) {
$('#' + updateItem).html('<i class="fas fa-exclamation-triangle"></i> Can not fetch data.');
callback(xhr.status + " " + thrownError);
}
, success: function (response) {
var converter = new showdown.Converter(),
html = converter.makeHtml(response);
testData = html;
$('#' + updateItem).html(html);
callback(null, "");
}
})
}
$(function() {
async.parallel([
function(callback) { fetchData('README.md', 'readme', callback) }
], function (err, message) {
if(err) { console.log(err); }
});
});
</script>
</body>
</html>