Jay.M.Hu
Jay.M.Hu
通过 `jsconfig.json` 来实现,核心配置如下: ```json { "compilerOptions": { "baseUrl": ".", "paths": { "@/*": [ "src/*" ] }, "target": "ES6", "module": "commonjs", "allowSyntheticDefaultImports": true, "experimentalDecorators": true }, "include": [ "src/**/*" ], "exclude":...
``` location / { root /dist; try_files $uri $uri/ /index.html; # process history error_page 404 /index.html; #process history } ```
``` root = true [*] charset = utf-8 indent_style = space indent_size = 2 tab_width = 2 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true ```
```js class SQLiteClient { constructor(db) { this.db = db; } beginTransaction() { return this._exec('BEGIN TRANSACTION;'); } commitTransaction() { return this._exec('COMMIT TRANSACTION;'); } rollbackTransaction() { return this._exec('ROLLBACK TRANSACTION;'); } executeQuery(sql, params)...
```js class MysqlClient { constructor(pool) { this.pool = pool; } /** * Begin database transaction */ beginTransaction() { return this._getConnection() .then(conn => { return new Promise((resolve, reject) => { conn.beginTransaction(err...
- 公司不是慈善机构,不会让你进去再学; - 不要和面试官说,我相信我自己肯定能行,公司需要的是你现在能行; - 未毕业/刚毕业,没有工作经验,但如果项目经验多也是加分项; - 证书(不是指毕业证)大多数无用,但如果是国际性/国家级的技能比赛证书,也是很好的加分项; - 潜力(学习能力)很重要,不怕你暂时不会,但就怕你学不会; - 如果有机会,维护好自己的github,有些公司比较看重; - 切勿好高骛远,切勿眼高手低;
```js var SSH = require('simple-ssh'); var argv = require('yargs').argv; var ssh = new SSH({ host: '11.11.11.11', user: 'root', pass: 'xxx', baseDir: '/opt/docker-builds/' }); var opt = { out: function (stdout)...
# 正常请求 直接返回具体的业务数据,HTTP状态码根据具体的场景列举如下: - 200 最常用,返回数据 - 201 如果是创建资源成功,则使用201 - 202 如果是更新或删除资源成功,则使用202 - 204 不想返回任何内容,则可以使用204 # 异常请求 ## 业务异常 - 400 错误的请求,可能是参数不对 - 401 未授权 - 403 禁止访问 - 404...
1. SmartAdmin [http://wrapbootstrap.com/preview/WB0573SK0](http://wrapbootstrap.com/preview/WB0573SK0) 2. Angel [https://wrapbootstrap.com/preview/WB04HF123](https://wrapbootstrap.com/preview/WB04HF123) 扁平化设计 3. BeyondAdmin [http://wrapbootstrap.com/preview/WB06R48S4](http://wrapbootstrap.com/preview/WB06R48S4) 各种风格,强大 4. Meterial Admin [http://wrapbootstrap.com/preview/WB011H985](http://wrapbootstrap.com/preview/WB011H985)
1、http://slides.com/tangguichuan/es6-in-modern-development ES6 in modern 2、https://camsong.github.io/redux-in-chinese/index.html Redux中文文档 3、Angular2入门项目:https://angularclass.github.io/angular2-webpack-starter/,先学会使用,再改造。 4、Angular2入门项目:https://github.com/mgechev/angular2-seed 5、http://www.primefaces.org/primeng/ Angular2组件