WebLinuxStudy

导航

 

2025年3月20日

摘要: SELECT * FROM users ORDER BY FIELD(status, 'active', 'pending', 'inactive');MYSQL 按指定字段值顺序显示结果 阅读全文
posted @ 2025-03-20 20:54 WebLinuxStudy 阅读(3) 评论(0) 推荐(0)
 

2025年2月20日

摘要: grep -c "成功" 20.log 阅读全文
posted @ 2025-02-20 20:31 WebLinuxStudy 阅读(6) 评论(0) 推荐(0)
 
摘要: wc -l 20.log 阅读全文
posted @ 2025-02-20 20:30 WebLinuxStudy 阅读(1) 评论(0) 推荐(0)
 

2024年11月5日

摘要: 年化率 = (还款金额 / 本金) / 78 * 144 阅读全文
posted @ 2024-11-05 16:19 WebLinuxStudy 阅读(57) 评论(0) 推荐(0)
 

2024年8月2日

摘要: use Illuminate\Support\Facades\Redis; 1、集合添加Redis::sadd('redisKey', 'item1'); 2、判断集合中是否存在某个值Redis::sismember('redisKey', 'item1'); 3、集合个数Redis::scard( 阅读全文
posted @ 2024-08-02 17:33 WebLinuxStudy 阅读(20) 评论(0) 推荐(0)
 

2024年5月30日

摘要: <?php $host = ''; $port = ''; $password = ''; $database = 0; $value = ''; try { $redis = new redis(); $redis->connect($host, $port); if ($password !== 阅读全文
posted @ 2024-05-30 18:36 WebLinuxStudy 阅读(5) 评论(0) 推荐(0)
 

2024年5月17日

摘要: 设置nginx允许跨域 阅读全文
posted @ 2024-05-17 18:09 WebLinuxStudy 阅读(117) 评论(0) 推荐(0)
 

2024年3月8日

摘要: 解决办法参考网址: https://blog.csdn.net/qq_22701869/article/details/107539711 其中: <<<<<<< Updated upstream 到 之间的代码是你拉取的远程分支的代码; 到 >>>>>>> Stashed changes 之间的代 阅读全文
posted @ 2024-03-08 18:43 WebLinuxStudy 阅读(457) 评论(0) 推荐(0)
 

2023年11月13日

摘要: <?phpdate_default_timezone_set("Asia/Shanghai"); list($uSecond, $second) = explode(' ', microtime());echo sprintf('%d%d', $second, (int)($uSecond * 10 阅读全文
posted @ 2023-11-13 17:38 WebLinuxStudy 阅读(257) 评论(0) 推荐(0)
 

2023年9月21日

摘要: <?phpheader("Content-Type:text/html;charset=UTF-8");$url = 'https://www.baidu.com';print_r(curlContent($url));function curlContent($url, $method = 'ge 阅读全文
posted @ 2023-09-21 11:09 WebLinuxStudy 阅读(73) 评论(0) 推荐(0)
 
 
点击右上角即可分享
微信分享提示