Live2D
摘要: 一直用有道云笔记做记录,好久没有写博客了,个人觉得有道云笔记还是比这个博客要方便好多,还是看每个人记录习惯吧,话不多说,直接开磕 SSL是干啥的这里也就不说了 第一步、申请SSL证书 阿里云、腾讯云等,在哪申请SSL证书都行,当然也可以自己生成证书 测试了下,阿里云的域名在景安云服务器上用腾讯云申请 阅读全文
posted @ 2019-05-24 13:21 韦森 阅读(5604) 评论(0) 推荐(0) 编辑
摘要: 第一次搞APP,咱就找个简单的先入个门,这里我就以追书神器为例吧 我采用的工具,如下: 夜神模拟器(安装APP)、Fiddler(抓包)、Pycharm(敲代码) 前期配置方面我是以这几位前辈的经验来进行的,贴它: https://www.jianshu.com/p/724097741bdf htt 阅读全文
posted @ 2018-04-18 22:28 韦森 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 创建控制器: php artisan make:controller Admin/IndexController 创建Middleware: php artisan make:middleware TestMiddleware 创建MODEL: php artisan make:model Http 阅读全文
posted @ 2017-10-10 11:55 韦森 阅读(1939) 评论(0) 推荐(0) 编辑
摘要: <?php /** * 根据身份证号码获取性别 * author:xiaochuan * @param string $idcard 身份证号码 * @return int $sex 性别 1男 2女 0未知 */ function get_sex($idcard) { if (empty($idc 阅读全文
posted @ 2021-01-14 10:51 韦森 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 同时使用过python2和python3的应该都知道,好多模块在python2中能直接安装,但是到了python3中却无法安装直接使用,同样python3中的好些模块在python2中也是一样 如下: # python2 可直接安装使用cookielib模块 from cookielib impor 阅读全文
posted @ 2020-06-23 16:12 韦森 阅读(4131) 评论(0) 推荐(0) 编辑
摘要: 开发模式改为生产模式 如果以开发环境上线,出错信息将全通过json暴露出来了,屏蔽方式如下: .env 文件设置如下 APP_ENV=productionAPP_DEBUG=false 改完设置后把缓存清理一遍 如果更改后清除缓存还是不行,可以考虑重启服务器 PHP屏蔽错误方式如下: 打开php.i 阅读全文
posted @ 2018-03-01 17:25 韦森 阅读(1820) 评论(0) 推荐(0) 编辑
摘要: @media (min-width: 993px) { .footer .addZ1{display:none;} .footer .addZ2{display:none;} .footer .addZ3{display:none;}}@media (max-width: 992px) { .foo 阅读全文
posted @ 2018-02-28 16:07 韦森 阅读(2960) 评论(0) 推荐(0) 编辑
摘要: <?php /** * 根据手机好查询密码 * @return [type] [description] */ $code = ""; for ($i = 0; $i < 6; $i++) { $code .= rand(0, 9); } //4位验证码也可以用rand(1000,9999)直接生成 阅读全文
posted @ 2018-02-28 16:02 韦森 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 第一步:先将域名解析到 IP 上 解析完后,如下 第二步:Nginx服务器配置servername 修改 /usr/local/nginx/conf/nginx.conf (你的配置文件可能不在这个目录) 第三步:重启Nginx服务器,自此配置就算完活了,直接访问域名即可 阅读全文
posted @ 2017-12-15 09:16 韦森 阅读(1649) 评论(0) 推荐(0) 编辑
摘要: <html> <body> <img src="APP banner1.jpg" border="0" usemap="#planetmap" alt="Planets" /> <map name="planetmap" id="planetmap"> <area shape="circle" co 阅读全文
posted @ 2017-09-25 15:19 韦森 阅读(617) 评论(0) 推荐(0) 编辑