上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 1 由于我的是phpstudy集成环境,直接找到php.ini的位置: D:\phpstudy_pro\Extensions\php\php7.3.9nts\php.ini 在文件尾部直接添加 [Xdebug] zend_extension=D:/phpstudy_pro/Extensions/ph 阅读全文
posted @ 2024-01-05 15:05 tochenwei 阅读(61) 评论(0) 推荐(0) 编辑
摘要: # ( find . -type d -name ".git" && find . -name ".gitignore" && find . -name ".gitmodules" ) | xargs rm -rf # git clone -b develop https://git的用户名:git 阅读全文
posted @ 2023-12-15 21:19 tochenwei 阅读(6) 评论(0) 推荐(0) 编辑
摘要: #git fetch --all #git reset --hard origin/master #git pull origin master 上面的例子是用远程的master分支的内容覆盖本地的内容 如何用本地仓库文件还原刚刚修改的(硬盘)本地文件呢? git checkout HEAD -- 阅读全文
posted @ 2023-09-19 15:34 tochenwei 阅读(86) 评论(0) 推荐(0) 编辑
摘要: function is_cli_mode() { $sapi_type = php_sapi_name(); if (isset($sapi_type) && substr($sapi_type, 0, 3) == 'cli') { return true; } else { return fals 阅读全文
posted @ 2023-09-11 11:30 tochenwei 阅读(6) 评论(0) 推荐(0) 编辑
摘要: <?php define("APPID", 'wxe127d5e246s9e343'); define("APP_SECRET", 'e35ba07f2e64we7uc5f0533cd1a63732'); header("Content-type: text/html; charset=utf-8" 阅读全文
posted @ 2023-08-18 10:36 tochenwei 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 命令为 ps -ef | grep 进程名 | grep -v grep |awk '{print "kill -9 "$2}'|bash例如:后台启动了n个java程序,想要一下子都杀掉,启动时候执行该命令启动的 java cn.edu.ruc.cmd.BootStrap 则批量杀进程命令为 ps 阅读全文
posted @ 2023-07-18 11:41 tochenwei 阅读(882) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash File_Name=/root/a.txt if (whiptail --title "代码升级" --yesno "确定升级测试版吗?" 10 60) then if [ -e "$File_Name" ] then rm -f $File_Name else echo " 阅读全文
posted @ 2023-07-13 15:31 tochenwei 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <?php //测试redis 布隆过滤器 $redis = new Redis(); $redis->connect('127.0.0.1', 6379); // 创建一个容量是1千万,布隆过滤器: //$redis->rawCommand('BF.RESERVE', 'nzc:redisbloo 阅读全文
posted @ 2023-07-05 16:20 tochenwei 阅读(55) 评论(0) 推荐(0) 编辑
摘要: cd /etc/init.dvi startall.sh里面的内容是: # chkconfig: 2345 10 90 # description: start myservice on boot /usr/local/php/bin/php /var/www/lyjt_wtx_mg/html/Pu 阅读全文
posted @ 2023-05-24 17:10 tochenwei 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 先去这里https://nodejs.org/zh-cn下载安装包 安装参考:https://blog.csdn.net/jike11231/article/details/107834744 所有用到的命令: npm -vnode -vnpm config set prefix "D:\nodej 阅读全文
posted @ 2023-04-22 17:02 tochenwei 阅读(1040) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页