趙哥-IT网络技术分享-第22页

PHP 的包管理工具 — Composer【搬砖】

PHP 的包管理工具 — Composer【搬砖】-IT网络技术分享
composer中文网:https://www.phpcomposer.com/ 安装后配置中国镜像: composer config -g repo.packagist composer https://packagist.org [可用] composer config -g repo.packagist composer...
4年前
026311

PHP获取当前主机、域名、网址、路径、端口等参数

PHP获取当前主机、域名、网址、路径、端口等参数-IT网络技术分享
获取当前目录: getcwd(); // /mnt/qa/test dirname(__FILE__); // /mnt/qa/test 获取域名或主机地址 $_SERVER['HTTP_HOST']; //daxiangtravel.com 获取网页地址 $_SERVER['PHP_SELF']; // /qa/...
5年前
02629

PHP 超级全局变量

PHP 超级全局变量-IT网络技术分享
PHP 超级全局变量 超级全局变量在PHP 4.1.0之后被启用, 是PHP系统中自带的变量,在一个脚本的全部作用域中都可用。 PHP 超级全局变量 PHP中预定义了几个超级全局变量(superglobals) ,这意味...
5年前
02627

Python虚拟环境管理工具介绍:virtualenv,Virtualenvwrapper,conda,pipenv

Python虚拟环境管理工具介绍:virtualenv,Virtualenvwrapper,conda,pipenv-IT网络技术分享
Python虚拟环境管理工具介绍: Python虚拟环境管理工具可以帮助你在同一台计算机上创建和管理多个独立的Python环境。这些工具可以隔离不同项目之间的依赖关系,提供一个干净和隔离的开发环境。下...
3年前
02610

Js代码解密 packer 加密

Js代码解密 packer 加密-IT网络技术分享
密文:eval(function (p, a, c, k, e, d) { e = function (c) { return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if...
3年前
02600

常用Shell脚本收集

常用Shell脚本收集-IT网络技术分享
三网回程路由测试: curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh 综合工具箱: wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SK...
1年前
02580

Flutter MPFlutter框架 微信小程序 自定义顶部标题栏

Flutter MPFlutter框架 微信小程序 自定义顶部标题栏-IT网络技术分享
实现截图代码截图 配置app.json: 'window': { 'navigationStyle': 'custom' }, 实现代码: ///自定义顶部栏 appBar: MPAppBar( title: Container( color: Colors.green, width: MediaQuery.of(c...
3年前
02560

thinkphp6 App类的使用

thinkphp6 App类的使用-IT网络技术分享
dump($this->app->getThinkPath());//获取核心框架目录 dump($this->app->getRootPath());//获取应用根目录 dump($this->app->getBasePath());//获取应用基础目录 dump($this...
4年前
025512

html转换为markdown [html2text库]

html转换为markdown [html2text库]-IT网络技术分享
Piphttps://pypi.org/project/html2text/安装:pip install html2text使用:import html2text md_text = open('ret.html', 'r', encoding='utf-8').read() markdown = html2text.html2text(md_t...
3年前
02540

PhpStorm 使用 xdebug断点调试Php代码

PhpStorm 使用 xdebug断点调试Php代码-IT网络技术分享
前言:在开发php项目的时候,有时候不知道明确的错误在哪里,想要用java或者c#那样能够开启debug断点分步调试。php本身是不支持的,需要添加xdebug插件来实现。 php开启xdebug插件: 找到对应的...
2年前
12530