body {
background: #06b0b9;
}
::-webkit-scrollbar {
width: 10px;
height: 1px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: none;
background: hsl(183, 97%, 27%);
-webkit-box-shadow: none;
}
::-webkit-scrollbar-track {
-webkit-box...阅读全文>>
https://www.xiaoxiaowu.me/oday/2148.html阅读全文>>
var request = require("request");
var iconv = require('iconv-lite');
var Promise = require("bluebird");
function getProxyList() {
var apiURL = 'http://www.66ip.cn/mo.php?sxb=&tqsl=100&port=&export=&ktip=&sxa=&submit=%CC%E1++%C8%A1&textarea=http%3A%2F%2Fwww.66ip.cn...阅读全文>>
http://https://juejin.im/post/5b8ddb70e51d45389153f288阅读全文>>
find / -type f -name ".certbot.lock"
If there are, you can remove them:
find / -type f -name ".certbot.lock" -exec rm {} \;阅读全文>>
//设置跨域请求头
router.all('*', function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "X-Requested-With");
res.header("Access-Control-Allow-Methods","PUT,POST,GET,DELETE,OPTIONS");
res.header("X-Powered-By",' 3.2.1')
res.h...阅读全文>>
所有跨域的js在提交post请求的时候,如果服务端设置了可跨域访问
1 public static function setCrossDomain() 2 { 3 header('Access-Control-Allow-Origin: *'); 4 header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept"); 5 header('Access-Control-Allow-Methods: GET, POST, PUT'); 6 }
都会默认...阅读全文>>
var express=require("express");
var seneca=require("seneca")();
var Web=require("seneca-web");
var server=express();
seneca.use(Web, {adapter: require('seneca-web-adapter-express'),context: server});
seneca.act({role:'web'},{routes:{
prefix:"/myapi",
pin:"role:math1,cmd:*", //不可写成js...阅读全文>>
npm install -g pm2-web
运行(默认是在8080端口)
$ pm2-web
linux无法使用请建立软连接
ln -s /node/bin /usr/local/bin
自定义配置文件
通过 --config yourFile 指定加载的配置文件
新建 pm2-web-config.json 文件:
{ "www": { "host": "localhost", "...阅读全文>>
Docker:Filerun+ AriaNg+ Aria2,个人云盘。
Filerun:一款简洁的在线文件管理器,可在线对文件进行:图片预览,播放音乐,播放视频,文本编辑还支持语法高亮。
AriaNg:aria2 web界面,可离线下载磁力链接,BT种子等,使用响应式布局,支持各种计算机或移动设备。
filerun / docker:https://github.com/filerun/docker
...阅读全文>>