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

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

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

Android获取手机制作商,系统版本

Android获取手机制作商,系统版本-IT网络技术分享
String sjbb='Android ' + android.os.Build.VERSION.RELEASE;//获取手机版本 在开发中 我们有时候会需要获取当前手机的系统版本来进行判断,或者需要获取一些当前手机的硬件信息。 android.os....
5年前
025713

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

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

常用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年前
02530

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年前
02510

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

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

thinkphp6 App类的使用

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

Javascript 常见加密解密方法

Javascript 常见加密解密方法-IT网络技术分享
Npm地址:https://www.npmjs.com/package/crypto-js 安装 npm install crypto-js --save-devnpm install md5 --save-dev 一些常见的built-in 函数加密 unescape unescape() 函数可对通过 escape...
2年前
02480

Pycharm开发python必装插件

Pycharm开发python必装插件-IT网络技术分享
Pydantic: https://plugins.jetbrains.com/plugin/12861-pydantic 在 PyCharm 中,Pydantic 插件可以根据 Pydantic 模型自动推断数据类型,并提供自动补全和类型检查功能,帮助开发者编写更加健...
3年前
02430

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年前
02430