上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: { "button": [ { "name": "音乐", "sub_button": [ { "type": "view", "name": "百度音乐", "url": "http://music.taihe.com/" } ] }, { "type": "view", "name": "百度" 阅读全文
posted @ 2019-06-25 11:17 江山一族 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 没有wget的话,yum install -y wget wget https://npm.taobao.org/mirrors/node/latest-v11.x/node-v11.4.0-linux-x64.tar.gz #解压在opt目录下 tar zxf node-v11.4.0-linux 阅读全文
posted @ 2019-06-12 08:50 江山一族 阅读(234) 评论(0) 推荐(0) 编辑
摘要: const ssh2 = require('ssh2');const fs = require('ssh2-fs');const mineType = require('mime-types');connection = new ssh2();connection.connect({ "host": 阅读全文
posted @ 2019-06-10 17:39 江山一族 阅读(1379) 评论(0) 推荐(0) 编辑
摘要: const stompit = require('stompit'); const connectOptions = { }; stompit.connect(connectOptions, function(error, client) { if (error) { console.log('co 阅读全文
posted @ 2019-05-22 16:21 江山一族 阅读(869) 评论(0) 推荐(0) 编辑
摘要: var amqp = require('amqp') 1. 一个发送者, 多个消费者。 exchange发送3条消息, 每个队列接收3条消息相同 connection.on('ready', function () { var exchange = connection.exchange('exch 阅读全文
posted @ 2019-05-20 09:33 江山一族 阅读(3307) 评论(1) 推荐(0) 编辑
摘要: 服务端: 第一种写法: const app = require('express')();var server = require('http').Server(app)var io = require('socket.io')(server);server.listen(8080);// io.o 阅读全文
posted @ 2019-05-17 16:28 江山一族 阅读(832) 评论(0) 推荐(0) 编辑
摘要: 1.发送post请求,可以是json,html curl -H 'content-type: application/json' -X POST -d '{"name":"shfbjsf"}' http://www.jnshu.com/aaa 2.get 请求 curl https://way.jd 阅读全文
posted @ 2019-04-11 17:38 江山一族 阅读(10673) 评论(0) 推荐(0) 编辑
摘要: 1.linux视频合成(视频后缀要一致) ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 -lavfi hstack=inputs=3 4.mp4 (input=3表示希望合并的视频的个数) 2.纵向合成视频 ffmpeg -i 1.mp4 -i 2.mp4 -lavfi vst 阅读全文
posted @ 2019-04-11 16:28 江山一族 阅读(1318) 评论(0) 推荐(1) 编辑
摘要: 1.创建项目:npm create-nuxt-app projectName 2.npm i sass-loader node-sass 阅读全文
posted @ 2019-03-18 14:08 江山一族 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 事务特性: 原子性:所有的改变都完成一致性:最终执行结果一致就行隔离性:一个事务的执行不能其它事务干扰。持久性:指一个事务一旦提交,数据不会改变,存在数据库中 https://docs.mongodb.com/manual/core/transactions/ https://mongoosejs. 阅读全文
posted @ 2019-02-28 22:45 江山一族 阅读(4893) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页