forked from nodejh/nodejh.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.xml
More file actions
477 lines (345 loc) · 22 KB
/
index.xml
File metadata and controls
477 lines (345 loc) · 22 KB
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
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>nodejh</title>
<link>http://nodejh.com/</link>
<description>Recent content on nodejh</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh-cn</language>
<lastBuildDate>Thu, 06 Jul 2017 15:32:26 +0800</lastBuildDate>
<atom:link href="http://nodejh.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Electron Quick Start</title>
<link>http://nodejh.com/post/electron-quick-start/</link>
<pubDate>Thu, 06 Jul 2017 15:32:26 +0800</pubDate>
<guid>http://nodejh.com/post/electron-quick-start/</guid>
<description>简介 Electron 是一个可以使用 Web 技术如 JavaScript、HTML 和 CSS 来创建跨平台原生桌面应用的框架。借助 Electron,我们可以使用纯 JavaScript 来调用丰</description>
</item>
<item>
<title>Vue2 Tutorials 01 Quick Start</title>
<link>http://nodejh.com/post/vue2-tutorials-01-quick-start/</link>
<pubDate>Thu, 06 Jul 2017 14:53:34 +0800</pubDate>
<guid>http://nodejh.com/post/vue2-tutorials-01-quick-start/</guid>
<description>Vue 的官方文档 对 Vue 介绍非常详细,但官方文档使用在 HTML 中引入 vue 的方式进行讲解,而实际项目中一般使用脚手架如 vue-cli 初始化项目。以至于刚看完文档时,却依旧</description>
</item>
<item>
<title>Project Documentation With Hexo Static Site Generator</title>
<link>http://nodejh.com/post/project-documentation-with-hexo-static-site-generator/</link>
<pubDate>Wed, 05 Jul 2017 11:41:43 +0800</pubDate>
<guid>http://nodejh.com/post/project-documentation-with-hexo-static-site-generator/</guid>
<description>当我们发布一个开源项目的时候,最重要的事情之一就是要创建项目文档。对使用项目的用户来说,文档是非常有必要的,通常我们可以使用下面这些方式来创</description>
</item>
<item>
<title>Handy MySQL Commands</title>
<link>http://nodejh.com/post/handy-mysql-commands/</link>
<pubDate>Thu, 30 Mar 2017 18:06:02 +0800</pubDate>
<guid>http://nodejh.com/post/handy-mysql-commands/</guid>
<description><p></p></description>
</item>
<item>
<title>Understand the Oracle startup process</title>
<link>http://nodejh.com/post/understand-the-oracle-startup-process/</link>
<pubDate>Sun, 26 Mar 2017 00:42:23 +0800</pubDate>
<guid>http://nodejh.com/post/understand-the-oracle-startup-process/</guid>
<description><h2 id="一-常用启动步骤">一. 常用启动步骤</h2>
<p>对于普通用户,如果需要使用 Oracle 数据库,需要两个启动步骤:启动数据库和启动监听器。</p>
<p></p></description>
</item>
<item>
<title>Setting Environmental Variables in MacOS</title>
<link>http://nodejh.com/post/setting-environmental-variables-in-macos/</link>
<pubDate>Sun, 19 Mar 2017 17:15:37 +0800</pubDate>
<guid>http://nodejh.com/post/setting-environmental-variables-in-macos/</guid>
<description><p>我们安装一个软件后,之所以能够使用一些与该软件相关的命令,是因为该命令被添加到了系统的环境变量里面。</p>
<p></p></description>
</item>
<item>
<title>How to Create Auto Increment Column in Oracle</title>
<link>http://nodejh.com/post/how-to-create-auto-increment-column-in-oracle/</link>
<pubDate>Mon, 20 Feb 2017 20:26:33 +0800</pubDate>
<guid>http://nodejh.com/post/how-to-create-auto-increment-column-in-oracle/</guid>
<description><p>如果你经常使用 MySQL,你肯定对 <code>AUTO_INCREMENT</code> 非常熟悉,因为经常要用到它。</p>
<p></p></description>
</item>
<item>
<title>Is JavaScript a call by reference or call by value language?</title>
<link>http://nodejh.com/post/is-javascript-a-pass-by-reference-or-pass-by-value-language/</link>
<pubDate>Sat, 18 Feb 2017 11:07:14 +0800</pubDate>
<guid>http://nodejh.com/post/is-javascript-a-pass-by-reference-or-pass-by-value-language/</guid>
<description><h2 id="1-例子">1. 例子</h2>
<p>先来看两个个来自于 《JavaScript 高级程序设计》P70-P71 的两个例子。</p>
<p></p></description>
</item>
<item>
<title>Using SQL Plus on Oracle</title>
<link>http://nodejh.com/post/using-sql-plus-on-oracle/</link>
<pubDate>Fri, 17 Feb 2017 15:03:43 +0800</pubDate>
<guid>http://nodejh.com/post/using-sql-plus-on-oracle/</guid>
<description><p>SQL *Plus 是基于命令行的 Oracle 管理工具,可以用来执行 <code>SQL</code>、<code>PL/SQL</code>、 和 <code>SQL*Plus</code> 命令:</p>
<p></p></description>
</item>
<item>
<title>Install Shadowsocks Server in VPS</title>
<link>http://nodejh.com/post/install-shadowsocks-server-in-vps/</link>
<pubDate>Fri, 10 Feb 2017 16:52:15 +0800</pubDate>
<guid>http://nodejh.com/post/install-shadowsocks-server-in-vps/</guid>
<description><p>首先关于 Shadowsocks 的使用说明在这里:<a href="https://github.com/shadowsocks/shadowsocks/wiki/Shadowsocks-使用说明">Shadowsocks 使用说明</a>。</p>
<p></p></description>
</item>
<item>
<title>Change Source List in Ubuntu</title>
<link>http://nodejh.com/post/change-source-list-in-ubuntu/</link>
<pubDate>Tue, 07 Feb 2017 13:08:16 +0800</pubDate>
<guid>http://nodejh.com/post/change-source-list-in-ubuntu/</guid>
<description><h2 id="1-软件管理工具-apt-get">1. 软件管理工具 apt-get</h2>
<p>Ubuntu 软件源本质上是一个软件仓库,我们可以通过 <code>sudo apt-get install &lt;package-name&gt;</code> 命令来从仓库中下载安装软件。</p>
<p></p></description>
</item>
<item>
<title>Architecture And Code Analysis Of Teaching Evaluation</title>
<link>http://nodejh.com/post/architecture-and-code-analysis-of-teaching-evaluation/</link>
<pubDate>Fri, 30 Dec 2016 18:58:19 +0800</pubDate>
<guid>http://nodejh.com/post/architecture-and-code-analysis-of-teaching-evaluation/</guid>
<description><p>大到一个企业级应用,小到类似于该一键评教软件,都有自己的软件架构设计。通常来说,对于同一个需求,实现方式是多种多样的。</p>
<p></p></description>
</item>
<item>
<title>macOS Sierra Apache Multiple PHP versions</title>
<link>http://nodejh.com/post/macos-sierra-apache-multiple-php-versions/</link>
<pubDate>Thu, 29 Dec 2016 00:04:41 +0800</pubDate>
<guid>http://nodejh.com/post/macos-sierra-apache-multiple-php-versions/</guid>
<description><p>前言:每次搭建开发环境真的是一件很麻烦的事情,但随着时间的推移和系统环境的差异,网上的教程自己曾经安装的经验经常不合时宜,总会出现一些这样或那样的问题。</p>
<p>通过几番搜寻,我终于找到一篇完善的教程,将其翻译成了中文。我也会持续更新这篇文章,不断完善并记录遇到的或新或旧的问题。希望这篇文章可以终结在 macOS 上安装 PHP 开发环境的话题。</p>
<p></p></description>
</item>
<item>
<title>Wechat Development Access Guide</title>
<link>http://nodejh.com/post/wechat-development-access-guide/</link>
<pubDate>Sun, 04 Dec 2016 19:32:03 +0800</pubDate>
<guid>http://nodejh.com/post/wechat-development-access-guide/</guid>
<description><p>在进行微信公众平台开发之前,需要先接入微信公众平台。具体的步骤在 <a href="http://mp.weixin.qq.com/wiki/8/f9a0b8382e0b77d87b3bcc1ce6fbc104.html">公众平台开发者文档-接入指南</a> 已有详细介绍,文档中也提供了验证服务器的 PHP 示例代码。</p>
<p></p></description>
</item>
<item>
<title>Fix Locale Setting Warning From Perl</title>
<link>http://nodejh.com/post/fix-locale-setting-warning-from-perl/</link>
<pubDate>Fri, 02 Dec 2016 15:58:06 +0800</pubDate>
<guid>http://nodejh.com/post/fix-locale-setting-warning-from-perl/</guid>
<description><p>当使在 VPS 上安装软件的时候,经常遇到同一个警告,如下:</p>
<p></p></description>
</item>
<item>
<title>Use and Break Promise Chain</title>
<link>http://nodejh.com/post/use-and-stop-promise-break-chain/</link>
<pubDate>Thu, 24 Nov 2016 22:19:49 +0800</pubDate>
<guid>http://nodejh.com/post/use-and-stop-promise-break-chain/</guid>
<description><h2 id="abstract">Abstract</h2>
<p>本文主要讲的是如何实现 Promise 的链式调用。也就是 <code>promise().then().then().catch()</code> 的形式,然后讨论如何在某一个 <code>then()</code> 里面中止 Promise。</p>
<p></p></description>
</item>
<item>
<title>Symmetric Difference</title>
<link>http://nodejh.com/post/symmetric-difference/</link>
<pubDate>Sat, 29 Oct 2016 00:43:22 +0800</pubDate>
<guid>http://nodejh.com/post/symmetric-difference/</guid>
<description><p><strong>题目</strong></p>
<p>创建一个函数,接受两个或多个数组,返回所给数组的 对等差分(symmetric difference) (△ or ⊕)数组.</p>
<p></p></description>
</item>
<item>
<title>Build MXNet on macOS</title>
<link>http://nodejh.com/post/install-mxnet-on-macos/</link>
<pubDate>Thu, 27 Oct 2016 15:37:29 +0800</pubDate>
<guid>http://nodejh.com/post/install-mxnet-on-macos/</guid>
<description><p>MXNet 是一个深度学习系统。关于 MXNet 的介绍可以看这篇文章:<a href="https://github.com/dmlc/mxnet/issues/797">《MXNet设计和实现简介》</a>。</p>
<p></p></description>
</item>
<item>
<title>Get the Max Number in Array</title>
<link>http://nodejh.com/post/get-the-max-number-in-array/</link>
<pubDate>Mon, 24 Oct 2016 19:20:03 +0800</pubDate>
<guid>http://nodejh.com/post/get-the-max-number-in-array/</guid>
<description><p>本文介绍 JavaScript 的几种从数组中找出最大值的方法。</p>
<p></p></description>
</item>
<item>
<title>Check Parameters in Express Router</title>
<link>http://nodejh.com/post/check-parameters-in-express-router/</link>
<pubDate>Sat, 15 Oct 2016 06:46:05 +0800</pubDate>
<guid>http://nodejh.com/post/check-parameters-in-express-router/</guid>
<description><p>本文以 Express 框架为基础,讲诉如何通过一个中间件来检测 Express 路由中传输的参数是否合法。</p>
<p></p></description>
</item>
<item>
<title>A simple neural network with Python and Keras</title>
<link>http://nodejh.com/post/a-simple-neural-network-with-python-and-keras/</link>
<pubDate>Sun, 09 Oct 2016 18:27:44 +0800</pubDate>
<guid>http://nodejh.com/post/a-simple-neural-network-with-python-and-keras/</guid>
<description><blockquote>
<p>本文翻译自 <a href="http://www.pyimagesearch.com/2016/09/26/a-simple-neural-network-with-python-and-keras/">A simple neural network with Python and Keras</a></p>
</blockquote>
<p></p></description>
</item>
<item>
<title>Crawler for SCU Libirary</title>
<link>http://nodejh.com/post/crawler-for-scu-libirary/</link>
<pubDate>Fri, 07 Oct 2016 01:03:30 +0800</pubDate>
<guid>http://nodejh.com/post/crawler-for-scu-libirary/</guid>
<description><p>本文详细讲述如何模拟登录某某大学图书馆系统。为什么说是某某大学?往下看了就知道了 😉</p>
<p></p></description>
</item>
<item>
<title>The innodb_system data file 'ibdata1' must be writeable</title>
<link>http://nodejh.com/post/the-innodb_system-data-file-ibdata1-must-be-writeable/</link>
<pubDate>Sun, 02 Oct 2016 00:53:28 +0800</pubDate>
<guid>http://nodejh.com/post/the-innodb_system-data-file-ibdata1-must-be-writeable/</guid>
<description><p>今天重启电脑后 MySQL 又用不了了!</p>
<p>然后查看了错误日志 :</p>
<p></p></description>
</item>
<item>
<title>Migrate to Hugo from Hexo</title>
<link>http://nodejh.com/post/migrate-to-hugo-from-hexo/</link>
<pubDate>Fri, 30 Sep 2016 17:14:37 +0800</pubDate>
<guid>http://nodejh.com/post/migrate-to-hugo-from-hexo/</guid>
<description><p>把博客从 <a href="http://hexo.io/">Hexo</a> 迁移到了 <a href="http://gohugo.io/">Hugo</a>。主要原因有二:</p>
<p></p></description>
</item>
<item>
<title>Use eslint-config-airbnb in Atom</title>
<link>http://nodejh.com/post/use-eslint-config-airbnb-in-atom/</link>
<pubDate>Tue, 27 Sep 2016 20:48:24 +0800</pubDate>
<guid>http://nodejh.com/post/use-eslint-config-airbnb-in-atom/</guid>
<description><p>ESlint 主要是用来帮助我们规范书写 JavaScript 代码。通过使用 Atom 的 ESLit 插件,并配合 Airbnb 的 ESLint 规则,我们可以一边编码一边检测语法。</p>
<p></p></description>
</item>
<item>
<title>AJAX: XHR, jQuery and Fetch API</title>
<link>http://nodejh.com/post/ajax-xhr-jquery-and-fetch-api/</link>
<pubDate>Mon, 26 Sep 2016 19:58:03 +0800</pubDate>
<guid>http://nodejh.com/post/ajax-xhr-jquery-and-fetch-api/</guid>
<description><p>本文详细讲述如何使用原生 JS、jQuery 和 Fetch 来实现 AJAX。</p>
<p>AJAX 即 Asynchronous JavaScript and XML,异步的 JavaScript 和 XML。使用 AJAX 可以无刷新地向服务端发送请求接收服务端响应,并更新页面。</p>
<p></p></description>
</item>
<item>
<title>Start React with Webpack</title>
<link>http://nodejh.com/post/start-react-with-webpack/</link>
<pubDate>Fri, 09 Sep 2016 04:11:13 +0800</pubDate>
<guid>http://nodejh.com/post/start-react-with-webpack/</guid>
<description><h2 id="tl-dr">TL;DR</h2>
<pre><code>$ git clone https://github.com/nodejh/start-react-with-webpack react-sample
$ cd react-sample &amp;&amp; npm install
$ npm run dev
</code></pre>
<p></p></description>
</item>
<item>
<title>Install Opencv3 for Python3.5 on Mac OS X</title>
<link>http://nodejh.com/post/install-opencv3-for-python3-5-on-mac-os-x/</link>
<pubDate>Mon, 01 Aug 2016 21:17:51 +0800</pubDate>
<guid>http://nodejh.com/post/install-opencv3-for-python3-5-on-mac-os-x/</guid>
<description><h2 id="通过-homebrew-安装-opencv">通过 homebrew 安装 opencv</h2>
<p>通过 homebrew 安装在 Mac OS X 上安装为 Python3.5 安装 Opencv3:</p>
<p></p></description>
</item>
<item>
<title>Troubleshoot MySQL Start Error</title>
<link>http://nodejh.com/post/troubleshoot-mysql-start-error/</link>
<pubDate>Sun, 31 Jul 2016 17:05:44 +0800</pubDate>
<guid>http://nodejh.com/post/troubleshoot-mysql-start-error/</guid>
<description><p>今天使用 MySQL 的时候,莫名奇妙除了很多问题。在 Google 和 StackOverflow 搜索了一大堆,也没有找到很好解决办法。Anyway,最终机智的我还是把问题解决。</p>
<p></p></description>
</item>
<item>
<title>Use Nginx Reverse Proxy Node.js</title>
<link>http://nodejh.com/post/use-nginx-reverse-proxy-nodejs/</link>
<pubDate>Sat, 30 Apr 2016 17:19:20 +0800</pubDate>
<guid>http://nodejh.com/post/use-nginx-reverse-proxy-nodejs/</guid>
<description><p>一般来说使用 node.js 开发的 webapp 都不会是默认的80端口,以官方文档演示为例:</p>
<p></p></description>
</item>
<item>
<title>Webstorm: Node.js core module source not configured</title>
<link>http://nodejh.com/post/webstorm-node-js-core-module-source-not-configured/</link>
<pubDate>Tue, 26 Apr 2016 23:37:35 +0800</pubDate>
<guid>http://nodejh.com/post/webstorm-node-js-core-module-source-not-configured/</guid>
<description><p>在 Webstrom 中引入 Node.js 自带模块的时候,Webstorm 有如下错误提示:</p>
<p></p></description>
</item>
<item>
<title>Get Chinese Phonetic Syllable With JS</title>
<link>http://nodejh.com/post/get-chinese-phonetic-syllable-with-js/</link>
<pubDate>Wed, 13 Apr 2016 10:35:40 +0800</pubDate>
<guid>http://nodejh.com/post/get-chinese-phonetic-syllable-with-js/</guid>
<description><h2 id="最终函数">最终函数</h2>
<p>最近在抓取 Rice 大学的博士生姓名,并从中获取到中国人的姓名。由于博士有中国人和外国人,而中国人的姓名是由拼音组成,所以最终需求是这样的,判断一个字符串是否是由拼音音节组成。于是写了下面这个函数:</p>
<p></p></description>
</item>
<item>
<title>Create and Manage MySQL User</title>
<link>http://nodejh.com/post/create-and-manage-mysql-user/</link>
<pubDate>Tue, 12 Apr 2016 02:40:03 +0800</pubDate>
<guid>http://nodejh.com/post/create-and-manage-mysql-user/</guid>
<description><h2 id="一-创建数据库用户">一.创建数据库用户</h2>
<p>首先用root账号进入MySQL:</p>
<p></p></description>
</item>
<item>
<title>Cannot Connet to MySql With Error Code 61</title>
<link>http://nodejh.com/post/cannot-connet-to-mysql-with-error-code-61/</link>
<pubDate>Thu, 07 Apr 2016 01:55:51 +0800</pubDate>
<guid>http://nodejh.com/post/cannot-connet-to-mysql-with-error-code-61/</guid>
<description><p>远程连接 MySQL 的时候出现如下错误:</p>
<pre><code>Can't connect to MySQL server on '*.*.*.*' (61)
</code></pre>
<p></p></description>
</item>
<item>
<title>Install Eclipse/JSP/Servlet Develop Environment</title>
<link>http://nodejh.com/post/install-eclipse-jsp-servlet-develop-environment/</link>
<pubDate>Thu, 17 Mar 2016 19:15:01 +0800</pubDate>
<guid>http://nodejh.com/post/install-eclipse-jsp-servlet-develop-environment/</guid>
<description><h2 id="eclipse-jsp-servlet-环境搭建">Eclipse JSP/Servlet 环境搭建</h2>
<p>本文假定你已安装了 JDK 环境,如未安装,可参阅:</p>
<ul>
<li><a href="http://nodejh.com/post/how-to-install-java-on-ubuntu/">Ubuntu下JAVA开发环境的配置</a></li>
<li><a href="http://nodejh.com/post/how-to-install-tomcat-on-ubuntu/">Ubuntu 下 Tomcat 的配置</a></li>
</ul>
<p></p></description>
</item>
<item>
<title>How to Install Java On Ubuntu</title>
<link>http://nodejh.com/post/how-to-install-java-on-ubuntu/</link>
<pubDate>Sat, 12 Mar 2016 16:06:40 +0800</pubDate>
<guid>http://nodejh.com/post/how-to-install-java-on-ubuntu/</guid>
<description><h3 id="1-下载-jdk">1. 下载 JDK</h3>
<p>建JAVA开发环境,第一步就是要安装JDK。在这里下载:<a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html">Java SE Development Kit 8 - Downloads</a></p>
<p></p></description>
</item>
<item>
<title>How to Install Tomcat on Ubuntu</title>
<link>http://nodejh.com/post/how-to-install-tomcat-on-ubuntu/</link>
<pubDate>Sat, 12 Mar 2016 15:41:58 +0800</pubDate>
<guid>http://nodejh.com/post/how-to-install-tomcat-on-ubuntu/</guid>
<description><h3 id="1-安装-java">1. 安装 JAVA</h3>
<p>在安装 Tomcat 之前,必须得先安装 JDK 或 JRE。</p>
<p></p></description>
</item>
<item>
<title>How to Remove .DS_Store on macOS</title>
<link>http://nodejh.com/post/how-to-remove-ds-store-files-form-git-om-mac-os/</link>
<pubDate>Wed, 24 Feb 2016 14:25:25 +0800</pubDate>
<guid>http://nodejh.com/post/how-to-remove-ds-store-files-form-git-om-mac-os/</guid>
<description><p></p></description>
</item>
<item>
<title>Linux Users And Groups</title>
<link>http://nodejh.com/post/linux-users-and-groups/</link>
<pubDate>Fri, 23 Jan 2015 20:33:29 +0800</pubDate>
<guid>http://nodejh.com/post/linux-users-and-groups/</guid>
<description><p>Linux系统是一个多用户多任务的分时操作系统,任何一个要使用系统资源的用户,都必须首先向系统管理员申请一个账号,然后以这个账号的身份进入系统。</p>
<p></p></description>
</item>
</channel>
</rss>