- 博客(4)
- 收藏
- 关注
原创 canvas入门学习
示例地址https://liuxianl.com/2021/02/12/%E5%89%8D%E7%AB%AF/canvas/1.canvas标签中特殊属性只有width和height通过document.getElementById(‘canvas的id’)来获取canvas元素方法、属性描述getContext()得到画布上下文,上下文有2个,2d的上下文和3d的上下文fillStyle设置颜色fillRect()方法,绘制已填色的矩形,默认的填充颜色是黑色
2021-10-13 16:13:09 151
原创 webuiPopover的使用
https://github.com/sandywalker/webui-popover示例页如是使用jquery,老式的引入方式<link rel="stylesheet" href="/loft-desktop/webui-pop/webui-pop.min.css"><script type="text/javascript" src="/loft-desktop/webui-pop/webui-pop.min.js"></script>npm之类的引
2021-10-13 15:07:51 258
转载 nginx安装https加密套件
https 默认采用 SHA-1 算法,非常脆弱。我们可以使用迪菲-赫尔曼密钥交换。我们在 /conf/ssl 目录下生成 dhparam.pem 文件openssl dhparam -out dhparam.pem 2048下面的指令 ssl_protocols 和 ssl_ciphers 是用来限制连接只包含 SSL/TLS 的加強版本和算法。# 优先采取服务器算法ssl_pref...
2020-03-08 20:05:43 3556
转载 Nginx配置https
nginx -V查看版本和支持的配置已经安装的nginx可能需要卸载以ubuntu为例,卸载nginx# 移除nginx$ apt-get --purge remove nginx# 查询 nginx以来的包,会列出来$ dpkg --get-selections|grep nginx# 移除上面列出的包,例如 nginx-common$ apt-get --purge rem...
2020-03-08 19:56:14 100
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人