-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
540 lines (322 loc) · 21.3 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
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
<!DOCTYPE html>
<html>
<head>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><meta name="google-site-verification" content="sDEbyrKOUpr4GveL98sV3KvhELGuHWJULn7TWCeAph0" />
<meta charset="utf-8">
<title>Friends</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:type" content="website">
<meta property="og:title" content="Friends">
<meta property="og:url" content="http://cequn.wang/index.html">
<meta property="og:site_name" content="Friends">
<meta property="og:locale" content="default">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Friends">
<link rel="alternate" href="/atom.xml" title="Friends" type="application/atom+xml">
<link rel="icon" href="/favicon.png">
<link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/style.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-106609481-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics --><!-- hexo-inject:begin --><!-- hexo-inject:end -->
</head>
<body>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">Friends</a>
</h1>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">Home</a>
<a class="main-nav-link" href="/about">About</a>
<a class="main-nav-link" href="/archives">Archives</a>
</nav>
<nav id="sub-nav">
<a id="nav-github-link" class="nav-icon" href="https://github.com/cequn" title="Github" target="_blank"></a>
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://cequn.wang"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-open-edx-platform-Ubuntu-16-04-native-install" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2018/08/28/open-edx-platform-Ubuntu-16-04-native-install/" class="article-date">
<time datetime="2018-08-28T07:00:00.000Z" itemprop="datePublished">2018-08-28</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/edx/">edx</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2018/08/28/open-edx-platform-Ubuntu-16-04-native-install/">open edx platform -- Ubuntu 16.04 native installaton</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>最近在折腾edx平台,这个平台比较复杂,加上自己个人技术能力有限,瞎捣鼓了很长一段时间,现记录下过程中的一些使用及问题,方便以后查询。
<p class="article-more-link">
<a href="/2018/08/28/open-edx-platform-Ubuntu-16-04-native-install/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://cequn.wang/2018/08/28/open-edx-platform-Ubuntu-16-04-native-install/" data-id="cjldg6j3o000jnc68qlfef3fi" class="article-share-link">Share</a>
<a href="http://cequn.wang/2018/08/28/open-edx-platform-Ubuntu-16-04-native-install/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/open-edx/">open edx</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/云服务/">云服务</a></li></ul>
</footer>
</div>
</article>
<article id="post-腾讯云-jupyter-notebook和jupyterhub" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2018/03/10/腾讯云-jupyter-notebook和jupyterhub/" class="article-date">
<time datetime="2018-03-10T06:18:00.000Z" itemprop="datePublished">2018-03-10</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2018/03/10/腾讯云-jupyter-notebook和jupyterhub/">腾讯云: jupyter notebook和jupyterhub</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>腾讯云有个优惠活动,主机是1核2G+1Mbps+50G云盘,价格是很优惠,120元/16个月,价格相较于阿里云还是便宜很多.果断的入手了.最近因为一直在使用Python,所以想搭建一个jupyter notebook服务器版本,之前使用阿里云时候尝试了很多次没成功,也是因为自己可能对服务器操作的很多方面不是很熟悉,配置方法很多也是网上看的教程.但这次在腾讯云上的实践却是很顺利.一开始安装了个jupyter notebook准备个人使用足够.后来因为一个同事最近也在学习,所以就想安装个多用户版本的(jupyterhub).接下来开始吧:
<p class="article-more-link">
<a href="/2018/03/10/腾讯云-jupyter-notebook和jupyterhub/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://cequn.wang/2018/03/10/腾讯云-jupyter-notebook和jupyterhub/" data-id="cjldg6j3r000onc68tjmug9gb" class="article-share-link">Share</a>
<a href="http://cequn.wang/2018/03/10/腾讯云-jupyter-notebook和jupyterhub/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/jupyter/">jupyter</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/python/">python</a></li></ul>
</footer>
</div>
</article>
<article id="post-树莓派3上运行Homebridge" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2017/10/10/树莓派3上运行Homebridge/" class="article-date">
<time datetime="2017-10-10T06:09:00.000Z" itemprop="datePublished">2017-10-10</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/SmartHome/">SmartHome</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2017/10/10/树莓派3上运行Homebridge/">树莓派3上运行Homebridge</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>Youtube上看到一个很酷的视频<a href="https://www.youtube.com/watch?v=I-8QzW_thhY" target="_blank" rel="external">MK smart house</a>(想看请学会翻墙)。自己搜索了下,最开始发现了google assistant sdk for python,于是乎就想利用手上树莓派3来试试,根据<a href="https://developers.google.com/assistant/sdk/develop/python/hardware/setup" target="_blank" rel="external">官方文档</a>一步步来设置了,运行<code>google-assistant-demo</code>,提问了一些时间天气,都完全没问题。但使用该项服务,也比较麻烦,第一,大陆地区被墙,我开始时运行卡住了,咋回事呀,瞎忙活好久才想起来没有vpn;第二,这个现在不支持中文;第三,每次对话开始使用<code>Ok/Hey google</code>,感觉很二,网上文档较少,也不知道咋改。自己也根据一些例子写了简单的程序来控制卧室的床头灯,效果还不错,关键对我这蹩脚的英文口音识别还挺高。</p>
<p>后来想着自己的IPhone上有siri,而且支持中文,这样不是更方便些。于是网上搜索,发现大神真是多,有个家伙叫KhaosT是个在美留学的中国人,曾在苹果的HomeKit团队实习过,他写了个Homebridge,是用 NodeJS模拟了一个HomeKit Accessory Server,这样不用局限于那些比较昂贵的Accessory了。而且目前有500个之多的相应Plugin,下面是按照<a href="https://github.com/nfarina/homebridge" target="_blank" rel="external">github上教程</a>来安装的,过程中遇到了些问题,也找到了解决办法。
<p class="article-more-link">
<a href="/2017/10/10/树莓派3上运行Homebridge/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://cequn.wang/2017/10/10/树莓派3上运行Homebridge/" data-id="cjldg6j3q000mnc685bkso72h" class="article-share-link">Share</a>
<a href="http://cequn.wang/2017/10/10/树莓派3上运行Homebridge/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/homebridge/">homebridge</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/rpi3/">rpi3</a></li></ul>
</footer>
</div>
</article>
<article id="post-配置sublime为Matlab的编辑器" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2017/09/19/配置sublime为Matlab的编辑器/" class="article-date">
<time datetime="2017-09-19T01:27:00.000Z" itemprop="datePublished">2017-09-19</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/others/">others</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2017/09/19/配置sublime为Matlab的编辑器/">配置Sublime为Matlab的编辑器</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>最近自己的Matlab的图形界面出现一些问题,一时间也没找到解决方法,于是就试图采用Sublime Text编辑器+Matlab命令行的环境来运行自己的程序。</p>
<li>
Matlab R2015a(Liunx平台,Ubuntu 16.04)
</li>
<li>
<a href="https://www.sublimetext.com/3" target="_blank" rel="external">Sublime 3</a>
</li>
<p class="article-more-link">
<a href="/2017/09/19/配置sublime为Matlab的编辑器/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://cequn.wang/2017/09/19/配置sublime为Matlab的编辑器/" data-id="cjldg6j3t000snc68bicubha0" class="article-share-link">Share</a>
<a href="http://cequn.wang/2017/09/19/配置sublime为Matlab的编辑器/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Matlab/">Matlab</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Sublime/">Sublime</a></li></ul>
</footer>
</div>
</article>
<article id="post-Landscape主题的修改优化" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2017/09/16/Landscape主题的修改优化/" class="article-date">
<time datetime="2017-09-15T21:01:00.000Z" itemprop="datePublished">2017-09-16</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Hexo-blog/">Hexo_blog</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2017/09/16/Landscape主题的修改优化/">Landscape主题的修改优化</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>继部署完Hexo博客平台后,进一步对默认的主题Landscape做一些修改优化。当然笔者对CSS,JQuery等等这些都不是很熟悉,所以大部分主题的定制都是通过google搜索,然后稍微修改来满足自己的需求。在网上查找的时候,发现<code>Hexo-landscape-f</code>这个主题优化的挺不错,基本上都符合笔者想要的结果。当然还基于此增加了文章打赏功能(估计也没人愿意这样做),以及使用<code>hexo-tag-cloud</code>,貌似看着较酷点的动态tag。在主题修改过程中还是花费了比较多时间,也收获不少,对Hexo的主题结构形式有了更深入点的了解。</p>
<p class="article-more-link">
<a href="/2017/09/16/Landscape主题的修改优化/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://cequn.wang/2017/09/16/Landscape主题的修改优化/" data-id="cjldg6j3n000hnc68zk370de4" class="article-share-link">Share</a>
<a href="http://cequn.wang/2017/09/16/Landscape主题的修改优化/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/hexo/">hexo</a></li></ul>
</footer>
</div>
</article>
<nav id="page-nav">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">__('next') »</a>
</nav>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">Categories</h3>
<div class="widget">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Hexo-blog/">Hexo_blog</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/SmartHome/">SmartHome</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/edx/">edx</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/others/">others</a><span class="category-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Tags</h3>
<div class="widget">
<ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/Matlab/">Matlab</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Sublime/">Sublime</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/github/">github</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo/">hexo</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/homebridge/">homebridge</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/jupyter/">jupyter</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/open-edx/">open edx</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/python/">python</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/rpi3/">rpi3</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/云服务/">云服务</a><span class="tag-list-count">1</span></li></ul>
</div>
</div>
<script type="text/javascript" charset="utf-8" src="/js/tagcloud.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/tagcanvas.js"></script>
<div class="widget-wrap">
<h3 class="widget-title">Tag Cloud</h3>
<div id="myCanvasContainer" class="widget tagcloud">
<canvas width="250" height="250" id="resCanvas" style="width=100%">
<a href="/tags/Matlab/" style="font-size: 10px;">Matlab</a> <a href="/tags/Sublime/" style="font-size: 10px;">Sublime</a> <a href="/tags/github/" style="font-size: 10px;">github</a> <a href="/tags/hexo/" style="font-size: 20px;">hexo</a> <a href="/tags/homebridge/" style="font-size: 10px;">homebridge</a> <a href="/tags/jupyter/" style="font-size: 10px;">jupyter</a> <a href="/tags/open-edx/" style="font-size: 10px;">open edx</a> <a href="/tags/python/" style="font-size: 10px;">python</a> <a href="/tags/rpi3/" style="font-size: 10px;">rpi3</a> <a href="/tags/云服务/" style="font-size: 10px;">云服务</a>
</canvas>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/08/">August 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/03/">March 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/">October 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/">September 2017</a><span class="archive-list-count">3</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>
<li>
<a href="/2018/08/28/open-edx-platform-Ubuntu-16-04-native-install/">open edx platform -- Ubuntu 16.04 native installaton</a>
</li>
<li>
<a href="/2018/03/10/腾讯云-jupyter-notebook和jupyterhub/">腾讯云: jupyter notebook和jupyterhub</a>
</li>
<li>
<a href="/2017/10/10/树莓派3上运行Homebridge/">树莓派3上运行Homebridge</a>
</li>
<li>
<a href="/2017/09/19/配置sublime为Matlab的编辑器/">配置Sublime为Matlab的编辑器</a>
</li>
<li>
<a href="/2017/09/16/Landscape主题的修改优化/">Landscape主题的修改优化</a>
</li>
</ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Calendar</h3>
<div class="widget" id="calendar">
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2018 CequnWang<br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">Home</a>
<a href="/about" class="mobile-nav-link">About</a>
<a href="/archives" class="mobile-nav-link">Archives</a>
</nav>
<script>
var disqus_shortname = 'CequnWang';
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<script src="/js/jquery.min.js"></script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script src="/js/script.js"></script>
<div class="bottom-btn">
<a class="icon-gotop" href="javascript:void(0)" title="返回顶部"></a>
<script src="/js/gotop.js"></script>
</div>
<script src="/js/languages.js"></script>
<script src="/js/calendar.js"></script>
<script type="text/javascript">
$(function() {
$('#calendar').aCalendar('zh-CN', {single:true, root:'calendar/'});
});
</script>
</div>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ["$","$"], ["\\(","\\)"] ],
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'],
processEscapes: true
}
});
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax();
for (var i = 0; i < all.length; ++i)
all[i].SourceElement().parentNode.className += ' has-jax';
});
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script><!-- hexo-inject:begin --><!-- hexo-inject:end -->
</body>
</html>