├── Node.js核心
├── url.js
├── Async_1.js
├── resources
│ ├── stderr.log
│ ├── world
│ ├── write.log
│ └── stdout.log
├── .bash_profile
├── nodeTest
│ ├── package-lock.json
│ ├── index.js
│ ├── src
│ │ ├── node_hello.h
│ │ └── node_hello.cc
│ └── package.json
├── string_decoder.js
├── util.js
├── event_2.js
├── os.js
├── error_1.js
├── path.js
├── usage_server.js
├── global_1.js
├── module.js
├── error_2.js
├── querystring.js
├── dns_1.js
├── net.js
├── readline.js
├── time.js
├── http_1.js
├── crypto_1.js
├── fs_3.js
├── events_1.js
├── process.js
├── cluster_1.js
├── fs_1.js
├── fs_2.js
├── cluster_2.js
├── console_1.js
├── child_process_1.js
├── http_2.js
├── Buffer_1.js
└── Assertion_1.js
├── HtmlCssVue
├── static
│ └── .gitkeep
├── .eslintignore
├── test
│ ├── unit
│ │ ├── setup.js
│ │ ├── .eslintrc
│ │ └── specs
│ │ │ └── HelloWorld.spec.js
│ └── e2e
│ │ ├── specs
│ │ └── test.js
│ │ ├── custom-assertions
│ │ └── elementCount.js
│ │ ├── nightwatch.conf.js
│ │ └── runner.js
├── config
│ ├── prod.env.js
│ ├── test.env.js
│ └── dev.env.js
├── build
│ ├── logo.png
│ ├── vue-loader.conf.js
│ ├── webpack.test.conf.js
│ ├── build.js
│ ├── check-versions.js
│ ├── webpack.base.conf.js
│ └── webpack.dev.conf.js
├── src
│ ├── assets
│ │ └── logo.png
│ ├── style
│ │ ├── style.less
│ │ ├── pop.less
│ │ ├── header.less
│ │ ├── alert.less
│ │ └── calendar.less
│ ├── main.js
│ ├── components
│ │ ├── Loading.vue
│ │ ├── Alert.vue
│ │ └── Header.vue
│ ├── lib
│ │ ├── mixin.js
│ │ └── dataMixin.js
│ ├── router
│ │ └── index.js
│ └── pages
│ │ ├── App.vue
│ │ ├── JSONP.vue
│ │ └── Pop.vue
├── .editorconfig
├── .babelrc
├── .postcssrc.js
├── .gitignore
├── README.md
├── .eslintrc.js
└── index.html
├── WeatherVue
├── static
│ └── .gitkeep
├── src
│ ├── less
│ │ ├── mask.less
│ │ └── define.less
│ ├── assets
│ │ ├── daytime.png
│ │ ├── map-mask.png
│ │ ├── background.png
│ │ └── weather
│ │ │ ├── haze.png
│ │ │ ├── moon.png
│ │ │ ├── snow.png
│ │ │ ├── sunny.png
│ │ │ ├── cloudy.png
│ │ │ ├── drizzle.png
│ │ │ ├── cloudynight.png
│ │ │ ├── drizzlesnow.png
│ │ │ ├── mostlycloudy.png
│ │ │ ├── slightdrizzle.png
│ │ │ └── thunderstorms.png
│ ├── libs
│ │ ├── model.js
│ │ └── mixin.js
│ ├── components
│ │ ├── App.vue
│ │ ├── county.vue
│ │ ├── ProvinceList.vue
│ │ ├── CityList.vue
│ │ ├── Header.vue
│ │ ├── Weather.vue
│ │ ├── CurrentWeather.vue
│ │ └── SevenDayWeather.vue
│ ├── main.js
│ └── common
│ │ └── province.js
├── .eslintignore
├── config
│ ├── prod.env.js
│ ├── test.env.js
│ ├── dev.env.js
│ └── index.js
├── .babelrc
├── .gitignore
├── .editorconfig
├── build
│ ├── dev-client.js
│ ├── build.js
│ ├── webpack.dev.conf.js
│ ├── utils.js
│ ├── dev-server.js
│ └── webpack.base.conf.js
├── index.html
├── .eslintrc.js
└── package.json
├── WeatherVue2.2
└── WeatherVue
│ ├── static
│ └── .gitkeep
│ ├── .gitignore
│ ├── config
│ ├── prod.env.js
│ ├── dev.env.js
│ └── index.js
│ ├── src
│ ├── assets
│ │ └── background.png
│ ├── less
│ │ └── define.less
│ ├── components
│ │ ├── App.vue
│ │ ├── County.vue
│ │ ├── ProvinceList.vue
│ │ ├── Header.vue
│ │ ├── CityList.vue
│ │ ├── Weather.vue
│ │ ├── CurrentWeather.vue
│ │ └── SevenDayWeather.vue
│ ├── main.js
│ ├── libs
│ │ └── mixin.js
│ └── common
│ │ └── province.js
│ ├── .editorconfig
│ ├── .babelrc
│ ├── build
│ ├── dev-client.js
│ ├── vue-loader.conf.js
│ ├── build.js
│ ├── check-versions.js
│ ├── webpack.dev.conf.js
│ ├── webpack.base.conf.js
│ ├── utils.js
│ └── dev-server.js
│ ├── index.html
│ ├── README.md
│ └── package.json
├── Express+mysql+nginx+ES6博客
└── myblog
│ ├── Procfile
│ ├── .gitignore
│ ├── public
│ ├── img
│ │ ├── 1.png
│ │ ├── upload_07bb571b7706cc09df03adef334ceac6.png
│ │ ├── upload_37f8f1b692afc091df641345bb7198cb.gif
│ │ └── upload_866d2b77767777d2563aa882200af1ca.png
│ ├── assets
│ │ └── postImages
│ │ │ ├── home.jpg
│ │ │ ├── 2016120801.png
│ │ │ ├── 2016121601.png
│ │ │ ├── 2016121602.png
│ │ │ ├── 2016121603.png
│ │ │ ├── 2016121604.png
│ │ │ ├── 2016121605.png
│ │ │ ├── 2017010401.png
│ │ │ ├── 2017010402.png
│ │ │ ├── 2017010403.png
│ │ │ ├── 2017010404.png
│ │ │ ├── 2017010405.png
│ │ │ ├── 2017010406.png
│ │ │ ├── 2017010407.png
│ │ │ ├── 2017011201.png
│ │ │ ├── 2017011202.png
│ │ │ ├── 2017040501.png
│ │ │ ├── 2017042601.png
│ │ │ ├── 2017042602.png
│ │ │ ├── 2017042603.png
│ │ │ ├── 2017050201.png
│ │ │ └── 2017050202.png
│ └── css
│ │ └── style.css
│ ├── test
│ └── avatar.png
│ ├── views
│ ├── vue
│ │ ├── 2.html
│ │ └── 1.html
│ ├── post.ejs
│ ├── posts.ejs
│ ├── 404.ejs
│ ├── components
│ │ ├── nav.ejs
│ │ ├── notification.ejs
│ │ ├── nav-setting.ejs
│ │ ├── post-content.ejs
│ │ └── comments.ejs
│ ├── error.ejs
│ ├── footer.ejs
│ ├── header.ejs
│ ├── signin.ejs
│ ├── create.ejs
│ ├── edit.ejs
│ └── signup.ejs
│ ├── config
│ ├── development.js
│ ├── production.js
│ └── default.js
│ ├── 数据表建表文件
│ ├── sessions.sql
│ ├── comments.sql
│ ├── posts.sql
│ └── users.sql
│ ├── routes
│ ├── signout.js
│ ├── jsonp.js
│ ├── index.js
│ ├── signin.js
│ └── vue.js
│ ├── middlewares
│ └── check.js
│ ├── ssl
│ ├── csr.pem
│ ├── file.crt
│ └── private.pem
│ ├── lib
│ └── sql.js
│ ├── models
│ └── users.js
│ └── package.json
├── gif
├── 13.gif
├── info.png
└── play.gif
├── 参考资料.txt
├── ES6
├── profile.js
├── 20Decorator.js
├── 4正则扩展.js
├── 3字符串的扩展.js
├── 5数值的扩展.js
├── 16Generator函数的异步应用.js
├── 1let和const命令.js
├── 21Module的语法.js
├── 2变量和解构赋值.js
├── 19Class的继承.js
├── 17async函数.js
├── 6函数的扩展.js
├── 12Reflect.js
├── 11Proxy.js
└── 7数组的扩展.js
├── .vscode
└── launch.json
├── .gitignore
└── README.md
/Node.js核心/url.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Node.js核心/Async_1.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/HtmlCssVue/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WeatherVue/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WeatherVue/src/less/mask.less:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Node.js核心/resources/stderr.log:
--------------------------------------------------------------------------------
1 | Hello Node.js
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Node.js核心/.bash_profile:
--------------------------------------------------------------------------------
1 | “source /nvm.sh”
2 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/Procfile:
--------------------------------------------------------------------------------
1 | web: npm start
--------------------------------------------------------------------------------
/WeatherVue/.eslintignore:
--------------------------------------------------------------------------------
1 | build/*.js
2 | config/*.js
3 |
--------------------------------------------------------------------------------
/Node.js核心/resources/world:
--------------------------------------------------------------------------------
1 | ssdfsdfsdfskjdsfqepfioxcvkjfnPZIXCJPAJENFkvjladfjas;d
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | coverage/
3 | logs/
--------------------------------------------------------------------------------
/gif/13.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/gif/13.gif
--------------------------------------------------------------------------------
/WeatherVue/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/gif/info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/gif/info.png
--------------------------------------------------------------------------------
/gif/play.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/gif/play.gif
--------------------------------------------------------------------------------
/HtmlCssVue/.eslintignore:
--------------------------------------------------------------------------------
1 | /build/
2 | /config/
3 | /dist/
4 | /*.js
5 | /test/unit/coverage/
6 |
--------------------------------------------------------------------------------
/HtmlCssVue/test/unit/setup.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 |
3 | Vue.config.productionTip = false
4 |
--------------------------------------------------------------------------------
/Node.js核心/resources/write.log:
--------------------------------------------------------------------------------
1 | Caught exception:ReferenceError: nonexitSentFunc is not defined
2 |
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log
5 |
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/HtmlCssVue/config/prod.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | module.exports = {
3 | NODE_ENV: '"production"'
4 | }
5 |
--------------------------------------------------------------------------------
/HtmlCssVue/build/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/HtmlCssVue/build/logo.png
--------------------------------------------------------------------------------
/HtmlCssVue/test/unit/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "jest": true
4 | },
5 | "globals": {
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/HtmlCssVue/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/HtmlCssVue/src/assets/logo.png
--------------------------------------------------------------------------------
/Node.js核心/nodeTest/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nodetest",
3 | "version": "1.0.0",
4 | "lockfileVersion": 1
5 | }
6 |
--------------------------------------------------------------------------------
/WeatherVue/src/assets/daytime.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/daytime.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/map-mask.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/map-mask.png
--------------------------------------------------------------------------------
/WeatherVue/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["es2015", "stage-2"],
3 | "plugins": ["transform-runtime"],
4 | "comments": false
5 | }
6 |
--------------------------------------------------------------------------------
/WeatherVue/src/assets/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/background.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/haze.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/haze.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/moon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/moon.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/snow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/snow.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/sunny.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/sunny.png
--------------------------------------------------------------------------------
/WeatherVue/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log
5 | selenium-debug.log
6 | test/unit/coverage
7 | test/e2e/reports
8 |
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/cloudy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/cloudy.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/drizzle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/drizzle.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/cloudynight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/cloudynight.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/drizzlesnow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/drizzlesnow.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/mostlycloudy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/mostlycloudy.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/img/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/img/1.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/test/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/test/avatar.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/slightdrizzle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/slightdrizzle.png
--------------------------------------------------------------------------------
/WeatherVue/src/assets/weather/thunderstorms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue/src/assets/weather/thunderstorms.png
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/src/assets/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/WeatherVue2.2/WeatherVue/src/assets/background.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/vue/2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ title }}
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Node.js核心/nodeTest/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * index.js
3 | * @authors 黄成都 (huang2009303513@gmail.com)
4 | * @date 2017-09-20 15:35:57
5 | * @version $Id$
6 | */
7 |
8 |
--------------------------------------------------------------------------------
/WeatherVue/config/test.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var devEnv = require('./dev.env')
3 |
4 | module.exports = merge(devEnv, {
5 | NODE_ENV: '"testing"'
6 | })
7 |
--------------------------------------------------------------------------------
/WeatherVue/config/dev.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var prodEnv = require('./prod.env')
3 |
4 | module.exports = merge(prodEnv, {
5 | NODE_ENV: '"development"'
6 | })
7 |
--------------------------------------------------------------------------------
/WeatherVue/src/libs/model.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @Author: huangchengdu
3 | * @Date: 2016-12-02 12:40:08
4 | * @Last Modified by: huangchengdu
5 | * @Last Modified time: 2016-12-02 19:15:35
6 | */
7 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/home.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/home.jpg
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/post.ejs:
--------------------------------------------------------------------------------
1 | <%- include('header') %>
2 |
3 | <%- include('components/post-content') %>
4 | <%- include('components/comments') %>
5 |
6 | <%- include('footer') %>
--------------------------------------------------------------------------------
/参考资料.txt:
--------------------------------------------------------------------------------
1 | https://gold.xitu.io/post/584e48b2ac502e006c74a120
2 |
3 | npm install -g cnpm --registry=https://registry.npm.taobao.org
4 | cnpm install --global vue-cli
5 | vue init webpack lessproject
--------------------------------------------------------------------------------
/HtmlCssVue/src/style/style.less:
--------------------------------------------------------------------------------
1 | @import 'reset';
2 | @import 'define';
3 | @import 'header';
4 | @import 'index';
5 | @import 'loading';
6 | @import 'calendar';
7 | @import 'pop';
8 | @import 'alert';
--------------------------------------------------------------------------------
/HtmlCssVue/config/test.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | const merge = require('webpack-merge')
3 | const devEnv = require('./dev.env')
4 |
5 | module.exports = merge(devEnv, {
6 | NODE_ENV: '"testing"'
7 | })
8 |
--------------------------------------------------------------------------------
/Node.js核心/nodeTest/src/node_hello.h:
--------------------------------------------------------------------------------
1 | #ifndef NODE_HELLO_H_
2 | #define NODE_HELLO_H_
3 | #include
4 | namespace node {
5 | v8::Handle SayHello(const v8::Arguments& args);
6 | }
7 | #endif
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/config/dev.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var prodEnv = require('./prod.env')
3 |
4 | module.exports = merge(prodEnv, {
5 | NODE_ENV: '"development"'
6 | })
7 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016120801.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016120801.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121601.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121601.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121602.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121602.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121603.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121603.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121604.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121604.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121605.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2016121605.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010401.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010401.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010402.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010402.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010403.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010403.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010404.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010404.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010405.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010405.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010406.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010406.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010407.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017010407.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017011201.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017011201.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017011202.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017011202.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017040501.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017040501.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017042601.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017042601.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017042602.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017042602.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017042603.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017042603.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017050201.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017050201.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017050202.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/assets/postImages/2017050202.png
--------------------------------------------------------------------------------
/HtmlCssVue/config/dev.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | const merge = require('webpack-merge')
3 | const prodEnv = require('./prod.env')
4 |
5 | module.exports = merge(prodEnv, {
6 | NODE_ENV: '"development"'
7 | })
8 |
--------------------------------------------------------------------------------
/HtmlCssVue/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 4
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/WeatherVue/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/posts.ejs:
--------------------------------------------------------------------------------
1 | <%- include('header') %>
2 |
3 | <% posts.forEach(function (post) { %>
4 | <%- include('components/post-content', { post: post }) %>
5 | <% }) %>
6 |
7 | <%- include('footer') %>
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/img/upload_07bb571b7706cc09df03adef334ceac6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/img/upload_07bb571b7706cc09df03adef334ceac6.png
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/img/upload_37f8f1b692afc091df641345bb7198cb.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/img/upload_37f8f1b692afc091df641345bb7198cb.gif
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/public/img/upload_866d2b77767777d2563aa882200af1ca.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huang303513/NodejsVuePractice/HEAD/Express+mysql+nginx+ES6博客/myblog/public/img/upload_866d2b77767777d2563aa882200af1ca.png
--------------------------------------------------------------------------------
/HtmlCssVue/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", {
4 | "modules": false
5 | }],
6 | "stage-2"
7 | ],
8 | "plugins": ["transform-runtime"],
9 | "env": {
10 | "test": {
11 | "presets": ["env", "stage-2"] }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/HtmlCssVue/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | // to edit target browsers: use "browserslist" field in package.json
6 | "postcss-import": {},
7 | "autoprefixer": {}
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Node.js核心/nodeTest/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nodetest",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC"
11 | }
12 |
--------------------------------------------------------------------------------
/ES6/profile.js:
--------------------------------------------------------------------------------
1 | var firstName = 'Michael';
2 | var lastName = 'Jackson';
3 | var year = 1958;
4 |
5 | function multiply(x, y) {
6 | return x * y;
7 | }
8 |
9 | function addS(x, y) {
10 | return x + y;
11 | }
12 |
13 | export { firstName, lastName, year, multiply, adds as add };
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/config/development.js:
--------------------------------------------------------------------------------
1 | let devConfig = require('./default.js');
2 |
3 | let proConfig = {
4 | devEnv: true,
5 | port: 9000,
6 | sslModel: false
7 | }
8 | let disConfig = Object.assign({}, devConfig, proConfig);
9 |
10 | module.exports = disConfig;
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["es2015", { "modules": false }],
4 | "stage-2"
5 | ],
6 | "plugins": ["transform-runtime"],
7 | "comments": false,
8 | "env": {
9 | "test": {
10 | "plugins": [ "istanbul" ]
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/404.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= blog.title %>
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/vue/1.html:
--------------------------------------------------------------------------------
1 |
2 | 访问的 URL 是12fasd: {{ url }}
3 |
4 |
5 |
--------------------------------------------------------------------------------
/HtmlCssVue/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | /dist/
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | /test/unit/coverage/
8 | /test/e2e/reports/
9 | selenium-debug.log
10 |
11 | # Editor directories and files
12 | .idea
13 | .vscode
14 | *.suo
15 | *.ntvs*
16 | *.njsproj
17 | *.sln
18 |
--------------------------------------------------------------------------------
/WeatherVue/build/dev-client.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | require('eventsource-polyfill')
3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
4 |
5 | hotClient.subscribe(function (event) {
6 | if (event.action === 'reload') {
7 | window.location.reload()
8 | }
9 | })
10 |
--------------------------------------------------------------------------------
/Node.js核心/string_decoder.js:
--------------------------------------------------------------------------------
1 | const { StringDecoder } = require('string_decoder');
2 | const decoder = new StringDecoder('utf8');
3 |
4 | const cent = Buffer.from([0xC2, 0xA2]);
5 | console.log(decoder.write(cent));
6 |
7 | const euro = Buffer.from([0xE2, 0x82, 0xAC]);
8 | console.log(decoder.write(euro));
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/WeatherVue2.2/WeatherVue/build/dev-client.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | require('eventsource-polyfill')
3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
4 |
5 | hotClient.subscribe(function (event) {
6 | if (event.action === 'reload') {
7 | window.location.reload()
8 | }
9 | })
10 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/components/nav.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Node.js核心/util.js:
--------------------------------------------------------------------------------
1 | const EventEmitter = require('events');
2 |
3 | class MyStream extends EventEmitter {
4 | write(data) {
5 | this.emit('data', data);
6 | }
7 | }
8 |
9 | const stream = new MyStream();
10 |
11 | stream.on('data', (data) => {
12 | console.log(`接收的数据:"${data}"`);
13 | });
14 | stream.write('使用 ES6');
15 |
--------------------------------------------------------------------------------
/Node.js核心/event_2.js:
--------------------------------------------------------------------------------
1 | /**
2 | * event
3 | * @authors 黄成都 (huang2009303513@gmail.com)
4 | * @date 2017-08-28 17:25:55
5 | * @version $Id$
6 | */
7 |
8 | const myEmitter = new MyEmitter();
9 |
10 | process.on('uncaughtException', (err) => {
11 | console.error('有错误');
12 | });
13 | myEmitter.emit('error', new Error('whoops!'));
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/error.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= blog.title %>
6 |
7 |
8 |
9 | <%= error.message %>
10 | <%= error.stack %>
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Express+mysql+nginx+ES6博客/myblog/views/footer.ejs:
--------------------------------------------------------------------------------
1 |
11 |