Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demoBased off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demoBased off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demo| var request = require('request'); | |
| var cheerio = require('cheerio'); | |
| var url = 'https://www.costco.com.tw/Baby-Care-Kids-Toys/Toys/Infant-%26-Preschool/VTech-Sit-To-Stand-Ultimate-Alphabet-Train/p/105123'; | |
| request(url, function(err, res, body){ | |
| var $ = cheerio.load(body); | |
| var result = $('.stock-status').text().trim(); |
| Chatbot 入門課程教學 | |
| 很高興能夠與大家見面,在活動一開始希望大家先開通一些服務, | |
| * [Github](https://github.com/) | |
| 下載軟體 | |
| * [node.js v8.3.0](https://nodejs.org/en/) |
| /* | |
| * Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/ | |
| */ | |
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen | |
| and (min-device-width : 320px) | |
| and (max-device-width : 480px) { | |
| /* Styles */ | |
| } |
| var request = require('superagent'); | |
| async function getRequest() { | |
| let body = await request('http://www.google.com'); | |
| return body; | |
| } | |
| async function run() { | |
| let result = await getRequest(); | |
| console.log(result.text); |
Software
Git install
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <h1>Hello Webpack</h1> | |
| <script src="bundle.js"></script> | |
| </body> |
This Gist is a collection of configuration files that can be used to easily setup a Homebrew-based LEMP stack on Mac OS X.
Files in this repository are numbered and named for ordering purposes only. At the top of each file is a section of metadata that denote what component the file belongs to and the default name & location of the file. Feel free to implement it however you want.
Note: some configuration files have hard-coded paths to my user directory -- fix it for your setup