会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zlf2000
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2023年3月7日
liunx git 免密码登录
摘要: vscode远程git或在linux环境使用git时,每次clone都要输入帐号密码,很不方便,可以使用下面一行命令,系统会记录你输入的下一次帐号密码。(明文记录,注意规避风险) # 执行 git config --global credential.helper store git reset -
阅读全文
posted @ 2023-03-07 14:05 zlf2000
阅读(74)
评论(0)
推荐(0)
2023年2月22日
thinkphp 命令行执行导入
摘要: <?phpdeclare (strict_types=1);namespace app\command;use think\console\Command;use think\console\Input;use think\console\input\Argument;use think\conso
阅读全文
posted @ 2023-02-22 15:36 zlf2000
阅读(38)
评论(0)
推荐(0)
2023年2月17日
PHP获取下个月今天时间
摘要: 获取php下个月当前时间public static function fq_time($time = ""){ if (!$time) $time = time(); $arr = getdate($time); //判断月份 $year = $arr['year']; $month = $arr[
阅读全文
posted @ 2023-02-17 17:30 zlf2000
阅读(616)
评论(0)
推荐(0)
2022年10月28日
Redis启动命令
摘要: 启动redis 打开cmd窗口,执行命令: redis-server redis.windows.conf
阅读全文
posted @ 2022-10-28 11:50 zlf2000
阅读(130)
评论(0)
推荐(0)
2022年9月29日
mysql如何替换部分字符串
摘要: 本篇内容主要讲解“mysql如何替换部分字符串”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“mysql如何替换部分字符串”吧! mysql替换部分字符串的方法:1、使用REPLACE()函数,语法“REPLACE(字符串,查找值,替换值)”;2、使用IN
阅读全文
posted @ 2022-09-29 15:45 zlf2000
阅读(43383)
评论(0)
推荐(0)
2022年9月7日
Linux防火墙放行端口
摘要: CentOS 7采用新的firewalld,CentOS 6及以前版本采用iptables,不过firewalld底层仍然调用的是iptables 1、查看已经开放的端口 firewall-cmd --list-ports 2、放行端口 firewall-cmd --zone=public --ad
阅读全文
posted @ 2022-09-07 17:59 zlf2000
阅读(3208)
评论(0)
推荐(0)
2022年8月31日
js 获取缓存渲染到页面里面
摘要: $('#code').change(function(){ console.log($(this).val()) localStorage.setItem("code",JSON.stringify({"sn":$(this).val(),"gs":$("#select").val()}));});
阅读全文
posted @ 2022-08-31 20:32 zlf2000
阅读(115)
评论(0)
推荐(0)
2022年8月20日
PHP获取一个月所有时间
摘要: $j = date("t"); //获取当前月份天数$start_time = strtotime(date('Y-m-01')); //获取本月第一天时间戳$array = array();for ($i = 0; $i < $j; $i++) { $array[] = date('Y-m-d',
阅读全文
posted @ 2022-08-20 11:32 zlf2000
阅读(145)
评论(0)
推荐(0)
2022年8月12日
调用阿里云云市场 如果是中文转义
摘要: public function dream($keyword) { $host = "https://jisudream.market.alicloudapi.com"; $path = "/dream/search"; $method = "GET"; $appcode = self::$drea
阅读全文
posted @ 2022-08-12 09:36 zlf2000
阅读(48)
评论(0)
推荐(0)
2022年7月15日
宝塔面板搭建
摘要: 购买完云服务器ECS后,对于新手而言如何搭建Web环境是比较棘手的,分享一款简单易用的主机面板:宝塔面板,分享阿里云服务器安装宝塔面板图文教程:本文以:Linux云服务器,CentOS8.0以下 64位系统为例。一:开放安全组端口什么是安全组?是阿里云ECS云服务器特有的虚拟防火墙,是一种安全机制,
阅读全文
posted @ 2022-07-15 10:30 zlf2000
阅读(707)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告