-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·474 lines (428 loc) · 17.7 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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="google-signin-client_id" content="421289883562-dgjnci681nvftirvdh0df81jsevbbgoi.apps.googleusercontent.com">
<title>Learning Blog</title>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:700%7CNunito:300,600" rel="stylesheet">
<!-- Bootstrap -->
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"/>
<!-- Font Awesome Icon -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Custom stlylesheet -->
<link type="text/css" rel="stylesheet" href="css/style.css"/>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Header -->
<header id="header">
<!-- Nav -->
<div id="nav">
<!-- Main Nav -->
<div id="nav-fixed">
<div class="container">
<!-- logo -->
<div class="nav-logo">
<a href="index.html" class="logo">My Learning Blog
<!--<img src="./img/logo.png" alt="">-->
</a>
</div>
<!-- /logo -->
<!-- nav
<ul class="nav-menu nav navbar-nav">
<li><a href="category.html">News</a></li>
<li><a href="category.html">Popular</a></li>
<li class="cat-1"><a href="category.html">Web Design</a></li>
<li class="cat-2"><a href="category.html">JavaScript</a></li>
<li class="cat-3"><a href="category.html">Css</a></li>
<li class="cat-4"><a href="category.html">Jquery</a></li>
</ul>
<!-- /nav -->
<!-- search & aside toggle -->
<div class="nav-btns">
<div class="signindiv">
<div id="signinbutton" class="g-signin2" data-onsuccess="onSignIn"></div>
<span id="welcometext"></span><img id="profileimg" class="profileimg" src="">
<button id="signoutbutton" onclick="signOut()">Sign out</button>
</div>
<button class="aside-btn"><i class="fa fa-bars"></i></button>
<!-- <button class="search-btn"><i class="fa fa-search"></i></button>
<div class="search-form">
<input class="search-input" type="text" name="search" placeholder="Enter Your Search ...">
<button class="search-close"><i class="fa fa-times"></i></button>
</div> -->
</div>
<!-- /search & aside toggle -->
</div>
</div>
<!-- /Main Nav -->
<!-- Aside Nav -->
<div id="nav-aside">
<!-- nav
<div class="section-row">
<ul class="nav-aside-menu">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="#">Join Us</a></li>
<li><a href="#">Advertisement</a></li>
<li><a href="contact.html">Contacts</a></li>
</ul>
</div>
<!-- /nav -->
<!-- widget posts -->
<div class="section-row">
<h3>Recent Posts</h3>
<!-- post -->
<div class="post post-widget">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9"><img src="./blog_img/cv2_bs.png" alt=""></a>
<div class="post-body">
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9">Capture moving objects using OpenCV</a></h3>
</div>
</div>
<!-- post -->
<!-- post -->
<div class="post post-widget">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343"><img src="./blog_img/digit_recognition.gif" alt=""></a>
<div class="post-body">
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343">Run PyCon2016 Digit Recognition project using Docker</a></h3>
</div>
</div>
<!-- post -->
</div>
<!-- /widget posts -->
<!-- social links -->
<div class="section-row">
<h3>Follow Me</h3>
<ul class="nav-aside-social">
<li><a href="https://www.linkedin.com/in/rajeshk1988"><i class="fa fa-linkedin"></i></a></li>
<li><a href="https://github.com/rajeshwerkushwaha"><i class="fa fa-github"></i></a></li>
<li><a href="https://www.facebook.com/rajeshwerkushwaha"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://twitter.com/rajeshwer18"><i class="fa fa-twitter"></i></a></li>
</ul>
</div>
<!-- /social links -->
<!-- aside nav close -->
<button class="nav-aside-close"><i class="fa fa-times"></i></button>
<!-- /aside nav close -->
</div>
<!-- Aside Nav -->
</div>
<!-- /Nav -->
</header>
<!-- /Header -->
<!-- section -->
<div class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<!-- post -->
<div class="col-md-6">
<div class="post post-thumb">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9"><img src="./blog_img/cv2_bs.png" alt="" height="333px"></a>
<div class="post-body">
<div class="post-meta">
<a class="post-category cat-5" href="#">Image Processing</a>
<span class="post-date">Mar 1, 2019</span>
</div>
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9">Capture moving objects using OpenCV</a></h3>
</div>
</div>
</div>
<!-- /post -->
<!-- post -->
<div class="col-md-6">
<div class="post post-thumb">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343"><img src="./blog_img/digit_recognition.gif" alt="" height="333px"></a>
<div class="post-body">
<div class="post-meta">
<a class="post-category cat-4" href="#">Machine Learning</a>
<span class="post-date">Feb 13, 2019</span>
</div>
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343">Run PyCon2016 Digit Recognition project using Docker</a></h3>
</div>
</div>
</div>
<!-- /post -->
</div>
<!-- /row -->
<!-- row -->
<div class="row">
<div class="col-md-12">
<div class="section-title">
<h2>Recent Posts</h2>
</div>
</div>
<!-- post -->
<div class="col-md-4">
<div class="post">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9"><img src="./blog_img/cv2_bs.png" alt="" height="176px"></a>
<div class="post-body">
<div class="post-meta">
<a class="post-category cat-5" href="#">Image Processing</a>
<span class="post-date">Mar 1, 2019</span>
</div>
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9">Capture moving objects using OpenCV</a></h3>
</div>
</div>
</div>
<!-- /post -->
<!-- post -->
<div class="col-md-4">
<div class="post">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343"><img src="./blog_img/digit_recognition.gif" alt="" height="176px"></a>
<div class="post-body">
<div class="post-meta">
<a class="post-category cat-4" href="#">Machine Learning</a>
<span class="post-date">Feb 13, 2019</span>
</div>
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343">Run PyCon2016 Digit Recognition project using Docker</a></h3>
</div>
</div>
</div>
<!-- /post -->
<div class="clearfix visible-md visible-lg"></div>
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /section -->
<!-- section -->
<div class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<div class="col-md-8">
<div class="row">
<div class="col-md-12">
<div class="section-title">
<h2>Most Read</h2>
</div>
</div>
<!-- post -->
<div class="col-md-12">
<div class="post post-row">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343"><img src="./blog_img/digit_recognition.gif" alt="" height="176px"></a>
<div class="post-body">
<div class="post-meta">
<a class="post-category cat-4" href="category.html">Machine Learning</a>
<span class="post-date">Feb 13, 2019</span>
</div>
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/run-pycon2016-digit-recognition-project-using-docker-9ca8d4a68343">Run PyCon2016 Digit Recognition project using Docker</a></h3>
<p>In this era as we all know people are crazy about Artificial Intelligence (AI), Machine Learning (ML) and Deep Learning (DL) terms so do I, so I thought to work on Machine Learning project. I started looking...</p>
</div>
</div>
</div>
<!-- /post -->
<!-- post -->
<div class="col-md-12">
<div class="post post-row">
<a class="post-img" href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9"><img src="./blog_img/cv2_bs.png" alt="" height="176px"></a>
<div class="post-body">
<div class="post-meta">
<a class="post-category cat-5" href="category.html">Image Processing</a>
<span class="post-date">Mar 1, 2019</span>
</div>
<h3 class="post-title"><a href="https://medium.com/@rajeshwerkushwaha/capture-moving-objects-using-opencv-65770a247ac9">Capture moving objects using OpenCV</a></h3>
<p>With the advent of a camera, capturing an image is really easy today but as the camera technology evolves people thought about to get a context about the image and finding the objects inside that image...</p>
</div>
</div>
</div>
<!-- /post -->
<!-- <div class="col-md-12">
<div class="section-row">
<button class="primary-button center-block">Load More</button>
</div>
</div> -->
</div>
</div>
<div class="col-md-4">
<!-- ad
<div class="aside-widget text-center">
<a href="#" style="display: inline-block;margin: auto;">
<img class="img-responsive" src="./img/ad-1.jpg" alt="">
</a>
</div>
<!-- /ad -->
<!-- catagories -->
<div class="aside-widget">
<div class="section-title">
<h2>Catagories</h2>
</div>
<div class="category-widget">
<ul>
<li><a href="#" class="cat-1">Statistics<span>0</span></a></li>
<li><a href="#" class="cat-2">Data Science<span>0</span></a></li>
<li><a href="#" class="cat-3">Deep Learning<span>0</span></a></li>
<li><a href="#" class="cat-4">Machine Learning<span>1</span></a></li>
<li><a href="#" class="cat-5">Image Processing<span>1</span></a></li>
<li><a href="#" class="cat-6">Data Visualization<span>0</span></a></li>
</ul>
</div>
</div>
<!-- /catagories -->
<!-- tags -->
<div class="aside-widget">
<div class="tags-widget">
<ul>
<li><a href="#">Statistics</a></li>
<li><a href="#">Data Science</a></li>
<li><a href="#">Deep Learning</a></li>
<li><a href="#">Machine Learning</a></li>
<li><a href="#">Docker</a></li>
<li><a href="#">Tensorflow</a></li>
<li><a href="#">OpenCV</a></li>
<li><a href="#">Deep Learning</a></li>
<li><a href="#">Image Processing</a></li>
<li><a href="#">Data Visualization</a></li>
</ul>
</div>
</div>
<!-- /tags -->
</div>
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /section -->
<!-- Footer -->
<footer id="footer">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<div class="col-md-5">
<div class="footer-widget">
<div class="footer-logo">
<a href="index.html" class="logo"><img src="./img/logo.png" alt=""></a>
</div>
<ul class="footer-nav">
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Advertisement</a></li>
</ul>
<div class="footer-copyright">
<span>© <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></span>
</div>
</div>
</div>
<div class="col-md-4">
<div class="row">
<div class="col-md-6">
<div class="footer-widget">
<h3 class="footer-title">About Us</h3>
<ul class="footer-links">
<li><a href="about.html">About Me</a></li>
<!-- <li><a href="#">Join Us</a></li> -->
<li><a href="contact.html">Contacts</a></li>
</ul>
</div>
</div>
<div class="col-md-6">
<div class="footer-widget">
<h3 class="footer-title">Catagories</h3>
<ul class="footer-links">
<li><a href="#" class="cat-1">Statistics</a></li>
<li><a href="#" class="cat-2">Data Science</a></li>
<li><a href="#" class="cat-3">Deep Learning</a></li>
<li><a href="#" class="cat-4">Machine Learning</a></li>
<li><a href="#" class="cat-5">Image Processing<span>0</span></a></li>
<li><a href="#" class="cat-6">Data Visualization<span>0</span></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="footer-widget">
<h3 class="footer-title">Join our Newsletter</h3>
<div class="footer-newsletter">
<form name="newsletter-form">
<input id="email" class="input" type="email" name="email" value="" placeholder="Enter your email">
<button class="newsletter-btn" type="submit"><i class="fa fa-paper-plane"></i></i></button>
</form>
</div>
<ul class="footer-social">
<li><a href="https://www.linkedin.com/in/rajeshk1988"><i class="fa fa-linkedin"></i></a></li>
<li><a href="https://github.com/rajeshwerkushwaha"><i class="fa fa-github"></i></a></li>
<li><a href="https://www.facebook.com/rajeshwerkushwaha"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://twitter.com/rajeshwer18"><i class="fa fa-twitter"></i></a></li>
</ul>
</div>
</div>
</div>
<!-- /row -->
</div>
<!-- /container -->
</footer>
<!-- /Footer -->
<!-- jQuery Plugins -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<script type="text/javascript">
const scriptURL = 'https://script.google.com/macros/s/AKfycbx3NJ2YK0OEmaLr97vRnDCIGVbxtRw6SQPRyKIOfzgJqp7PTi4/exec'
const form = document.forms['newsletter-form']
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => {
$(".fa-paper-plane").addClass("fa-check").removeClass("fa-paper-plane");
$(".fa-check").css({'color':'limegreen'});
$("#email").val('');
$("#email").attr("placeholder", "Thank you!");
})
.catch(error => console.error('Error!', error.message))
setTimeout(function(){
$(".fa-check").addClass("fa-paper-plane").removeClass("fa-check");
$(".fa-paper-plane").css({'color':''});
$("#email").attr("placeholder", "Enter your email");
},5000);
})
</script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script type="text/javascript">
$("#signoutbutton").hide();
function onSignIn(googleUser) {
var profile = googleUser.getBasicProfile();
console.log('ID: ' + profile.getId()); // Do not send to your backend! Use an ID token instead.
console.log('Name: ' + profile.getName());
console.log('Image URL: ' + profile.getImageUrl());
console.log('Email: ' + profile.getEmail()); // This is null if the 'email' scope is not present.
$("#signinbutton").hide()
$("#welcometext").text('Welcome, ' + profile.getName() + ' ');
$("#welcometext").show();
$("#profileimg").attr("src", profile.getImageUrl());
$("#profileimg").show();
$('#profileimg').on({
'click': function(){
$("#signoutbutton").show();
}
});
}
function signOut() {
var auth2 = gapi.auth2.getAuthInstance();
auth2.signOut().then(function () {
console.log('User signed out.');
$("#signinbutton").show();
$("#welcometext").hide();
$("#profileimg").hide();
$("#signoutbutton").hide();
});
}
</script>
</body>
</html>