上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 76 下一页
摘要: PHP汉字转拼音的方法 <?php // 此类是依据ASCII码转换,GB2312库对多音字也无能为力。 // GB2312标准共收录6763个汉字,不在范围内的汉字是无法转换,如:中国前总理***的“*”字。 class pinyin{ public static function utf8_to 阅读全文
posted @ 2021-12-08 10:58 浮尘微光 阅读(1082) 评论(0) 推荐(0)
摘要: PHP获取HTTPS网站报错PHP Warning 'yii\base\ErrorException' with message 'get_meta_tags(): SSL operation failed with code 1. OpenSSL Error messages:error:1409 阅读全文
posted @ 2021-12-03 14:59 浮尘微光 阅读(2562) 评论(0) 推荐(0)
摘要: git diff ^M的消除 这是由于换行符在不同的操作系统上定义的区别造成的。 Windows用CR LF来定义换行,Linux用LF。 CR全称是Carriage Return ,或者表示为\r, 意思是回车。 LF全称是Line Feed,它才是真正意义上的换行表示符。 如果用git diff 阅读全文
posted @ 2021-11-24 11:40 浮尘微光 阅读(1090) 评论(0) 推荐(0)
摘要: git push origin --delete [branch_name] 后面可以跟着多分支 阅读全文
posted @ 2021-11-17 18:01 浮尘微光 阅读(273) 评论(0) 推荐(0)
摘要: git fetch origingit reset --hard origin/branch_name 阅读全文
posted @ 2021-11-17 17:34 浮尘微光 阅读(384) 评论(0) 推荐(0)
摘要: git merge test_branch之后发现合并错了,想撤销: git reset --hard HEAD^ 注意,HEAD后面的 ^ 阅读全文
posted @ 2021-11-03 15:28 浮尘微光 阅读(2185) 评论(0) 推荐(0)
摘要: 解决composer install遇到:Your requirements could not be resolved to an installable set of packages 解决办法:直接忽略版本 composer install --ignore-platform-reqs 或者  阅读全文
posted @ 2021-10-25 10:16 浮尘微光 阅读(177) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/oHeiZhiShi123/article/details/80973728 //商品表 CREATE TABLE `qg_goods` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品 阅读全文
posted @ 2021-10-15 17:24 浮尘微光 阅读(197) 评论(0) 推荐(0)
摘要: 转自 https://www.cnblogs.com/lxhyty/p/11207244.html 参考:https://github.com/paypal/PayPal-PHP-SDK/wiki https://blog.csdn.net/markely/article/details/79044 阅读全文
posted @ 2021-10-13 11:29 浮尘微光 阅读(1078) 评论(0) 推荐(0)
摘要: Golang的panic和recover panic 关键字panic的作用是制造一次宕机,宕机就代表程序运行终止,但是已经“生效”的延迟函数仍会执行(即已经压入栈的defer延迟函数,panic之前的)。 为什么要制造宕机呢?是因为宕机不容易遇到?还是因为程序有错就是直接报错,都没有执行,哪来的宕 阅读全文
posted @ 2021-09-27 17:25 浮尘微光 阅读(266) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 76 下一页