随笔 - 292  文章 - 3 评论 - 0 阅读 - 73043
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

03 2021 档案
本地项目推送到git仓库
摘要:推送: https://blog.csdn.net/weixin_40861707/article/details/89853149 push时报 $ git push origin master Fatal: HttpRequestException encountered. Username f 阅读全文
posted @ 2021-03-31 11:48 Beautytoloveme 阅读(45) 评论(0) 推荐(0) 编辑
Workerman启动与停止
摘要:启动: 一般到启动目录执行: php +启动文件 + start (+ -d) ()括号里面为可选 这里的-d是后台运行 举例 就举tp5项目整合workerman 一般会在项目根目录,public同级 有个service.php 该文件为tp5中用来启动workerman的 完整命令: php s 阅读全文
posted @ 2021-03-30 22:49 Beautytoloveme 阅读(1758) 评论(0) 推荐(0) 编辑
tp5中使用workerman插件
摘要:转载网址: https://www.php.cn/workerman/439344.html namespace app\push\controller; use think\worker\Server; class Worker extends Server { protected $socket 阅读全文
posted @ 2021-03-30 10:14 Beautytoloveme 阅读(330) 评论(0) 推荐(0) 编辑
workman安装使用
摘要:网址: https://www.php.cn/workerman/467097.html 连接上说的windows系统下配置 本人验证linux系统下也是如此 阅读全文
posted @ 2021-03-30 07:30 Beautytoloveme 阅读(39) 评论(0) 推荐(0) 编辑
长链接使用
摘要:操作日志:http://kdemo.sslj.net/push/worker返回:Only run in command line mode 脚本执行 cd /www/wwwroot/dcf && php service.php start -d报错:pcntl_fork() has been di 阅读全文
posted @ 2021-03-26 09:46 Beautytoloveme 阅读(337) 评论(0) 推荐(0) 编辑
PHP中内存释放问题
摘要:参考http://www.laruence.com/2011/03/04/1894.html。初步总结:1.PHP会自己有一个内存管理,它会一次性向系统多申请一些内存,然后自己分配。2.PHP也是有计数器的概念,unset只是让计数器进行减一,不代表这块内存真的被释放了,只有当指向这块内存的引用数为 阅读全文
posted @ 2021-03-17 11:36 Beautytoloveme 阅读(1315) 评论(0) 推荐(0) 编辑
php 使用布隆过滤器
摘要:网上介绍: http://imhuchao.com/1271.html https://blog.csdn.net/weixin_40369062/article/details/108889145 阅读全文
posted @ 2021-03-12 11:39 Beautytoloveme 阅读(141) 评论(0) 推荐(0) 编辑
mysql 索引类型,索引方法
摘要:转载: https://www.cnblogs.com/myJuly/p/10005891.html 索引类型 mysql索引类型normal,unique,full text的区别是什么? normal:表示普通索引 unique:表示唯一的,不允许重复的索引,如果该字段信息保证不会重复例如身份证 阅读全文
posted @ 2021-03-11 15:28 Beautytoloveme 阅读(244) 评论(0) 推荐(0) 编辑
php根据ip获取国家省份城市信息
摘要:网址: https://www.cnblogs.com/zhangchaocoming/p/13338493.html 自己项目中使用的: <?php $getIp = '2.85.28.151'; $content = file_get_contents("http://ip-api.com/js 阅读全文
posted @ 2021-03-09 15:47 Beautytoloveme 阅读(510) 评论(0) 推荐(0) 编辑
linux系统挖以太坊
摘要:1 阅读全文
posted @ 2021-03-08 16:09 Beautytoloveme 阅读(210) 评论(0) 推荐(0) 编辑
php 断言
摘要:原文: https://www.php.cn/php-ask-429607.html php7需要在php.ini中配置zend.assertions = 1, 或者运行时通过ini_set()配置。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <?php f 阅读全文
posted @ 2021-03-08 10:41 Beautytoloveme 阅读(76) 评论(0) 推荐(0) 编辑
fiddler使用《一》
摘要:官网: https://www.telerik.com/fiddler 阅读全文
posted @ 2021-03-07 20:50 Beautytoloveme 阅读(46) 评论(0) 推荐(0) 编辑
使用webgl 实现web3D绘图
摘要:webgl资源地址: https://www.html5tricks.com/tag/webgl 演示地址: https://www.html5tricks.com/demo/html5-webgl-sakura-animation/index.html 阅读全文
posted @ 2021-03-04 11:40 Beautytoloveme 阅读(421) 评论(0) 推荐(0) 编辑
用canvas实现烟花效果
摘要:先贴源码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>convas实现烟花效果</title> <style> body { background-color: #000000; margin: 0px 阅读全文
posted @ 2021-03-04 09:58 Beautytoloveme 阅读(442) 评论(0) 推荐(0) 编辑
CSS Hack
摘要:第一部分:什么是CSS Hack? CSS hack是通过在CSS样式中加入一些特殊的符号,让不同的浏览器识别不同的符号(什么样的浏览器识别什么样的符号是有标准的,CSS hack就是让你记住这个标准),以达到应用不同的CSS样式的目的。 例如: 1、margin属性在ie6中显示的距离会比其他浏览 阅读全文
posted @ 2021-03-04 09:53 Beautytoloveme 阅读(67) 评论(0) 推荐(0) 编辑
web渗透测试
摘要:华盟论坛: https://bbs.77169.net/portal.php 阅读全文
posted @ 2021-03-03 16:25 Beautytoloveme 阅读(47) 评论(0) 推荐(0) 编辑
闭包传参
摘要:先来个错误截图 tp嵌套查询时使用了外部的变量,报错。 解决方法: 使用use 关键字 阅读全文
posted @ 2021-03-02 16:13 Beautytoloveme 阅读(41) 评论(0) 推荐(0) 编辑
mysql count()条件查询
摘要:mysql 不同条件count ,多条件count() create table abc(A int,B int) Select A,count(B) as total from ABC group by A Select A,count(B) as total1 from ABC where B 阅读全文
posted @ 2021-03-02 14:38 Beautytoloveme 阅读(2113) 评论(0) 推荐(0) 编辑
程序员要注重申请专利
摘要:国家知识产权局网: https://www.cnipa.gov.cn/ 阅读全文
posted @ 2021-03-01 09:53 Beautytoloveme 阅读(179) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示