随笔分类 -  Web知识

摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-e 阅读全文
posted @ 2020-03-11 20:15 JasonPeng1 阅读(212) 评论(0) 推荐(0)
摘要:https://jingyan.baidu.com/album/39810a2351460fb636fda6f4.html 阅读全文
posted @ 2020-01-25 22:21 JasonPeng1 阅读(918) 评论(0) 推荐(0)
摘要:2019-12-18 08:44:49 阅读全文
posted @ 2019-12-18 08:57 JasonPeng1
摘要:2019-12-17 13:08:33 阅读全文
posted @ 2019-12-17 13:09 JasonPeng1
摘要:2019-12-17 10:14:57 /** * Module dependencies. */ var http = require('http') , fs = require('fs') /** * Create our server. */ var server = http.create 阅读全文
posted @ 2019-12-17 10:35 JasonPeng1
摘要:2019-12-16 21:04:14 require('http').createServer(function (req, res) { res.writeHead(200); res.end('Hello World'); }).listen(3000); require('http').cr 阅读全文
posted @ 2019-12-17 08:47 JasonPeng1
摘要:2019-12-16 20:12:38 require('http').createServer(function(req,res){ res.writeHead(200,{'Content-Type':'text/html'}); res.end('<h1>Hello World</h1>'); 阅读全文
posted @ 2019-12-16 21:04 JasonPeng1
摘要:2019-12-16 17:05:54 var fs = require('fs'); fs.readdir(__dirname,function(err,files){ console.log(files); }); /** * Module dependencies. */ var fs = r 阅读全文
posted @ 2019-12-16 20:08 JasonPeng1
摘要:2019-12-16 16:32:11 console.log(1); process.nextTick(function(){ console.log(3); }); console.log(2); module_a.js exports.name = 'john'; exports.data = 阅读全文
posted @ 2019-12-16 17:05 JasonPeng1
摘要:2019-12-16 13:20:53 1.1 一个典型的 Node Web 应用程序 大体上来说,Node 和 JavaScript 的优势之一是它们的单线程编程模型。多个线程一般会引入 bug,尽管一些新的编程语言,包括 Go 和 Rust,试图提供更加安全的并发工具,但 Node 仍然保 留了 阅读全文
posted @ 2019-12-16 16:30 JasonPeng1
摘要:2019-12-16 13:14:51 GitHub:https://github.com/greatabel/JsRepository/tree/master/03Learning%20Vue.js%202 阅读全文
posted @ 2019-12-16 13:21 JasonPeng1
摘要:2019-12-06 17:52:32 阅读全文
posted @ 2019-12-06 18:46 JasonPeng1 阅读(146) 评论(0) 推荐(0)
摘要:2019-12-06 09:27:16 <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>My Playlist</title> <script> /*function addSongs(){ var song 阅读全文
posted @ 2019-12-06 13:02 JasonPeng1
摘要:2019-12-02 17:14:30 <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Car properties</title> <script> var fiat = { make: "Fiat", m 阅读全文
posted @ 2019-12-03 10:17 JasonPeng1
摘要:2019-12-02 13:37:05 阅读全文
posted @ 2019-12-02 13:37 JasonPeng1
摘要:2019-12-02 10:49:26 开发一款战舰游戏 阅读全文
posted @ 2019-12-02 11:54 JasonPeng1