会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chenjianwen
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
2020年6月3日
redis常用查询操作
摘要: 1.登陆命令:/usr/local/redis/bin/redis-cli -h 127.0.0.1 -p 6388 -a 123456 2.切换数据库:127.0.0.1:6379[2]> select 1 2.获取所有key:127.0.0.1:6388> keys * 3.获取指定key:12
阅读全文
posted @ 2020-06-03 11:45 chenjianwen
阅读(18786)
评论(0)
推荐(0)
2020年6月2日
比较生疏的系统命令
摘要: 1.查找find并对查找结果操作:详细:https://www.cnblogs.com/shenqidu/p/10615593.html cd $MY_PATH/server && find ./ -type f ! -name "*.map" |sort|xargs md5sum > ../md5
阅读全文
posted @ 2020-06-02 15:46 chenjianwen
阅读(137)
评论(0)
推荐(0)
2020年5月29日
Jenkins 的安装配置
摘要: 1.安装1.8.0_211以上jdk:https://www.cnblogs.com/chenjw-note/p/10838160.html 2.下载最新稳定jenkins.war:wget https://ftp-nyc.osuosl.org/pub/jenkins/war-stable/late
阅读全文
posted @ 2020-05-29 12:06 chenjianwen
阅读(194)
评论(0)
推荐(0)
2020年5月25日
企业级wiki之 atlassian confluence 6.9.0 安装破解配置
摘要: 1.Confluence是一个专业的企业知识管理与协同软件,也可以用于构建企业wiki。使用简单,但它强大的编辑和站点管理特征能够帮助团队成员之间共享信息、文档协作、集体讨论,信息推送。 Confluence为团队提供一个协作环境。在这里,团队成员齐心协力,各擅其能,协同地编写文档和管理项目。从此打
阅读全文
posted @ 2020-05-25 11:41 chenjianwen
阅读(2388)
评论(0)
推荐(0)
2020年5月21日
html 克隆页面上的内容,实现增删执行步骤的功能
摘要: 1.前端html代码编写 <fieldset class="layui-elem-field" style="background-color: #69BD69"> <div class="layui-form-item" style="margin-top: 17px;"> <label for=
阅读全文
posted @ 2020-05-21 11:51 chenjianwen
阅读(444)
评论(0)
推荐(0)
form表单提交数据后接收后端返回的数据
摘要: 1.后端代码编写 from django.http import JsonResponse message = {"code": 0,"msg": "组合任务部署成功","error": None} return JsonResponse(message) 2.前端代码编写【当表单内有多个相同属性(
阅读全文
posted @ 2020-05-21 11:42 chenjianwen
阅读(9525)
评论(0)
推荐(1)
2020年5月15日
基于linux Asciinema开发webssh的录像回放功能说明及内容记录
摘要: 1.Asciinema 是一款开源免费的终端录制工具,它可以将命令行输入输出的任何内容加上时间保存在文件中,同时还提供方法在终端或者web浏览器中进行回放。Asciinema 的录制和播放都是基于文本的,相比传统的video有很多好处,例如录制文件体积小,在播放的过程中可以暂停复制其中的文本内容等等
阅读全文
posted @ 2020-05-15 16:55 chenjianwen
阅读(843)
评论(0)
推荐(0)
2020年5月8日
django 后端JsonResponse返回json数据给前端完美接收并将数据写入前端页面做展示
摘要: 1.后端代码编写 from django.http import JsonResponse res = {"code": 0, "message": result_list} return JsonResponse(res) 2.前端代码编写 <h4 style="margin: 10px;colo
阅读全文
posted @ 2020-05-08 12:25 chenjianwen
阅读(7390)
评论(0)
推荐(0)
2020年5月7日
高清视频压缩工具ffmpeg
摘要: 1.FFmpeg 是视频处理最常用的开源软件,它功能强大,用途广泛,大量用于视频网站和商业软件(比如 Youtube 和 iTunes),也是许多音频和视频格式的标准编码/解码实现。FFmpeg 本身是一个庞大的项目,包含许多组件和库文件,最常用的是它的命令行工具。 2.下载地址:http://ww
阅读全文
posted @ 2020-05-07 12:41 chenjianwen
阅读(1269)
评论(0)
推荐(0)
2020年4月23日
vue.js 入门
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>vue</title> <script src="vue.js"></script> </head> <!-- 1.绑定事件函数: v-on:click="ha
阅读全文
posted @ 2020-04-23 18:00 chenjianwen
阅读(190)
评论(0)
推荐(0)
2020年4月15日
鼠标点击选中着色,包含这个标签下的所有子标签
摘要: 1.html代码 <table class="layui-table" id="on_color"> <thead> <tr> <th> <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i clas
阅读全文
posted @ 2020-04-15 15:56 chenjianwen
阅读(263)
评论(0)
推荐(0)
回车即提交from表单数据
摘要: 1.html代码 <form method="post" action="/xxxxx/" id="myform" onchange="submitForm_host_filter()"> {% csrf_token %} <input style="width: 250px;height: 30p
阅读全文
posted @ 2020-04-15 10:32 chenjianwen
阅读(264)
评论(0)
推荐(0)
button点击按钮触发提交from表单数据
摘要: 1.html代码 <form method="post" action="/xxx/" id="filter_all" > {% csrf_token %} <select name="filter_platform" id="filter_platform" style="height: 30px
阅读全文
posted @ 2020-04-15 10:28 chenjianwen
阅读(6841)
评论(0)
推荐(0)
完美定义点击按钮触发函数提交数据【ajax】
摘要: 1.html代码 <button class="layui-btn layui-btn-small" style="height: 30px;line-height:1.6em;" title="导出csv" onclick="exportCSV()"> <i class="layui-icon"
阅读全文
posted @ 2020-04-15 10:23 chenjianwen
阅读(1964)
评论(0)
推荐(0)
position_relative+absolute 搭配使用,实现绝对定位 放大缩小都不影响其绝对位置
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div style="position: relative; width:500px; height
阅读全文
posted @ 2020-04-15 10:16 chenjianwen
阅读(1446)
评论(0)
推荐(0)
2020年4月10日
用Python制作酷炫二维码
摘要: 1、安装myqr在安装之前,你需要保证电脑里已经安装python 3.x,这是基本环境。并且本文是在windows中实验的,其它系统大同小异,问题处请自研解决喽安装myqr和安装普通的python一样,很简单,使用pip安装即可在命令行键入: pip install myqr 2、使用方式该库在命令
阅读全文
posted @ 2020-04-10 18:19 chenjianwen
阅读(233)
评论(0)
推荐(0)
2020年4月8日
frp + 远程桌面 远程方式
摘要: 服务端系统:CentOS Linux release 7.6.1810 (Core) frps部署在公网上 frpc部署在个人pc端github: https://github.com/fatedier/frp 1.服务端配置: 下载:https://github.com/fatedier/frp
阅读全文
posted @ 2020-04-08 14:32 chenjianwen
阅读(5887)
评论(0)
推荐(0)
2020年3月19日
django 后端JsonResponse返回json数据给前端完美接收
摘要: 1.后端代码编写 from django.http import JsonResponse if True: message = {"code":0,"msg":"同步公有云机器成功,刷新页面获取最新数据!"} else: message = {"code":1,"msg":"同步公有云机器失败,项
阅读全文
posted @ 2020-03-19 10:27 chenjianwen
阅读(5091)
评论(0)
推荐(0)
2020年3月18日
使用daphne部署django channles websocket 项目
摘要: 前言:最近写了一个项目,有部分功能使用django channles websocket写的,使用的链接是wss:// 或者 ws:// ,到真实在uwsgi+nginx部署时,发现wss:// 或者 ws://不可用了,后来查了比较多时间,尝试过修改nginx配置文件,尝试过修改uwsgi配置文件
阅读全文
posted @ 2020-03-18 11:05 chenjianwen
阅读(1985)
评论(0)
推荐(1)
运维平台boamp部署步骤
摘要: 1.开发环境:以下列出的是部分必要库,详细请安装项目内的requirements.txt Python==3.6.8rc1 注意:不能使用python3.7以上版本,有版本兼容问题 Django==2.1.3 注意:2.2版本以上有兼容性问题 channels==2.1.4 channels-red
阅读全文
posted @ 2020-03-18 10:33 chenjianwen
阅读(493)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
公告
点击右上角即可分享