学习是一辈子的事~
2020-03-03
cat gedit
code filename
sudo gedit /etc/profile
source ~/.bashrc
ctrl+h
mvn compile
1
import -> maven -> exiting maven projext -> 选择编译过的maven项目 -> **变成ss
阅读更多
ssh -o StrictHostKeyChecking=no 120.xx.x.x
export NODE_PATH=/usr/local/lib/node_modules
12345
if (n % 2 === 1) { console.log("n是奇数");} else { console.log("n是偶数");}
1234567891011
var http = require('http');var url = require('url');http.createServer(function(req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); // 解析 url 参数 var params = url.parse(req.url, true).query; // jsonpCallback 为前后端约定的字段,用于获取回调函数的名称 res.end(params.jsonpCallback + "('This is JSONP.')");}).listen(8888);