上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: convert 20240220220452.jpg -channel rgba -matte -fuzz 10% -fill "rgba(255,255,255,0.5)" -opaque "rgb(255,255,255)" semi_transparent_20240220220452.png 阅读全文
posted @ 2024-02-21 01:51 cnlovefish 阅读(159) 评论(0) 推荐(0)
摘要: 该方法返回的是一个bool值 package main import "regexp" import "fmt" // 正则过滤sql注入的方法 // 参数 : 要匹配的语句 func FilteredSQLInject(to_match_str string) bool { //过滤 ‘ //OR 阅读全文
posted @ 2024-01-31 17:31 cnlovefish 阅读(174) 评论(0) 推荐(0)
摘要: #unzip swoole-v4.8.13.zip#cd swoole-v4.8.13#/usr/local/php/bin/phpize#./configure --with-php-config=/usr/local/php/bin/php-config#make && make install 阅读全文
posted @ 2024-01-22 23:59 cnlovefish 阅读(257) 评论(0) 推荐(0)
摘要: #wget https://xdebug.org/files/xdebug-3.2.2.tgz#tar -xvzf xdebug-3.2.2.tgz#cd xdebug-3.2.2 #/usr/local/php/bin/phpize#./configure -enable-xdebug --wit 阅读全文
posted @ 2024-01-22 23:14 cnlovefish 阅读(327) 评论(0) 推荐(0)
摘要: 整个执行的思路: 1 先放弃服务器本地的修改,把代码从git管理服务器检出,最新的代码。 2 复制配置测试或生产环境配置文件到工程里面。 3 文件夹的权限重新覆盖。 比如把下面这段bash 脚本命名为test_shop.sh,赋予它可执行的权限。 chmod a+x test_shop.sh #!/ 阅读全文
posted @ 2024-01-12 11:17 cnlovefish 阅读(36) 评论(0) 推荐(0)
摘要: 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 cnlovefish 阅读(141) 评论(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 cnlovefish 阅读(38) 评论(0) 推荐(0)
摘要: #git fetch --all #git reset --hard origin/master #git pull origin master 上面的例子是用远程的master分支的内容覆盖本地的内容 如何用本地仓库文件还原刚刚修改的(硬盘)本地文件呢? git checkout HEAD -- 阅读全文
posted @ 2023-09-19 15:34 cnlovefish 阅读(135) 评论(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 cnlovefish 阅读(21) 评论(0) 推荐(0)
摘要: <?php define("APPID", 'wxe127d5e246s9e343'); define("APP_SECRET", 'e35ba07f2e64we7uc5f0533cd1a63732'); header("Content-type: text/html; charset=utf-8" 阅读全文
posted @ 2023-08-18 10:36 cnlovefish 阅读(700) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 11 下一页