- 博客(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
218
原创 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
342
转载 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
3873
转载 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
133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人