会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
叫我亚庆
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2022年7月22日
thinkphp 获取路径常用方法
摘要: 5.0常量5.1获取方法 EXT 取消,固定使用 .php IS_WIN 取消 IS_CLI 取消 DS 使用PHP自带 DIRECTORY_SEPARATOR ENV_PREFIX 取消,固定使用PHP_ THINK_START_TIME App::getBeginTime() THINK_STA
阅读全文
posted @ 2022-07-22 14:47 叫我亚庆
阅读(1679)
评论(0)
推荐(0)
2022年7月9日
ab压测试
摘要: 利用apache下的ab,以phpstudy为例 安装apache,进入bin目录下,用cmd启动 ab ab的用法是: ab [options] [http/https]hostname[:port]/path 例如:ab -n 5000 -c 200 [http/https]hostname[:
阅读全文
posted @ 2022-07-09 15:40 叫我亚庆
阅读(58)
评论(0)
推荐(0)
2022年6月28日
正则表达式规则
摘要:
阅读全文
posted @ 2022-06-28 15:08 叫我亚庆
阅读(22)
评论(0)
推荐(0)
2022年6月9日
安装iftop
摘要: wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz tar zxvf iftop-0.17.tar.gz cd iftop-0.17 ./configure make && make install 1、iftop界面
阅读全文
posted @ 2022-06-09 18:08 叫我亚庆
阅读(126)
评论(0)
推荐(0)
2022年6月7日
thinkphp递归删除子分类
摘要: //删除分类 public function deldir($ids){ $cateId = $this->model->field(array('dir_id','pid'))->select(); $delId = $this->get_all_child($cateId,$ids); $del
阅读全文
posted @ 2022-06-07 13:52 叫我亚庆
阅读(100)
评论(0)
推荐(0)
2022年5月30日
php写入文件做日志
摘要: public function dump_log(){ $time = date('Y-m-d'); $file = "mac/".$time.".txt"; $f = fopen($file,"a"); fwrite($f," $this->cmd "."\n"); fwrite($f," ime
阅读全文
posted @ 2022-05-30 17:53 叫我亚庆
阅读(325)
评论(0)
推荐(0)
git常用命令
摘要: <> 表示【需替换的项】 [] 表示【非必填项】 | 表示【或】 工作树(工作区),索引(暂存区),Git 目录(HEAD) 三词含义参照 Git 官网 初始配置 git config --global user.name [<username>] 配置用户名 git config --global
阅读全文
posted @ 2022-05-30 17:38 叫我亚庆
阅读(26)
评论(0)
推荐(0)
2022年4月28日
Git 各指令的本质,绝对通俗易懂!(转)
摘要: 前言 作为当前世界上最强大的代码管理工具Git相信大家都很熟悉,但据我所知有很大一批人停留在clone、commit、pull、push...的阶段,是不是对rebase心里没底只敢用merge? 碰见版本回退就抓瞎?别问我怎么知道的,问就是:“我曾经就是这样啊~~”。 针对这些问题,今天我就将这几
阅读全文
posted @ 2022-04-28 09:45 叫我亚庆
阅读(66)
评论(0)
推荐(0)
2022年4月27日
设计一个高质量的 API 接口(转)
摘要: 你是否也感同身受? 对接XX业务时,XX业务具备的功能和API全靠跑业务负责人那反复逐个询问、确认。用哪个API;怎么用;有没有限制;等等 各个业务间,甚至同一业务内,API风格不统一。 API命名: 按自然语义全翻译的;按属性角度定义的;按操作角度定义的;动宾、非动宾的;复数、非复数的;等等 AP
阅读全文
posted @ 2022-04-27 11:43 叫我亚庆
阅读(110)
评论(0)
推荐(0)
2022年4月20日
mysql cast方法
摘要: Db('study_report_day_info_sp')->field('id,rel_id, max(CAST(video_length as SIGNED)) as m') ->where('type',$type) ->where('coid',$coid) ->where('user_i
阅读全文
posted @ 2022-04-20 17:32 叫我亚庆
阅读(253)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告