Windows
CyrusZhou
这个作者很懒,什么都没留下…
展开
-
TF30063: 您没有访问 https://*.visualstudio.com/ 的权限。Microsoft Visual Studio 登录微软账号,链接团队资源都是空白页面
TF30063: 您没有访问 https://*.visualstudio.com/ 的权限。高版本的VS ,2019以上可以改成系统 Web 浏览器来完成验证,但是底版本的没有找到修改方法。工具=》选项=》环境=》账户。所有版本的visual studio 链接团队资源都是空白页面,发现是嵌入式 web 浏览器的问题。工具=》选项=》环境=》账户 开启 在添加帐户或对帐户重新进行身份验证时启用设备代码流。重新连接 根据提示在浏览器打开。输入提示的代码,然后完成登录。原创 2022-12-10 00:45:07 · 1043 阅读 · 0 评论 -
要在Internet Explorer 模式下打开此页面,请使用管理员权限重新安装 Microsoft Edge.
windows 11 更新后 Edge 不能用 Internet Explorer 模式了,导致一些老网站插件无法使用。创建 .reg 文件,内容如下。原创 2023-02-08 01:55:03 · 19267 阅读 · 4 评论 -
git拉取 UnrealEngine 大型项目出错 fatal: index-pack failed
问题描述:git克隆UnrealEngine到 99% 提示 fatal: index-pack failed。http.postbuffer , ssh.postbuffer: POST 缓冲区。core.compression:压缩等级1-9, 0取消压缩。原创 2022-12-13 18:39:02 · 487 阅读 · 0 评论 -
git 拉取时出错 fatal: the remote end hung up unexpectedly
问题:git 拉取时出错 fatal: the remote end hung up unexpectedly。解决方法: 增加 Git 中的 POST 缓冲区大小。原创 2022-12-13 00:16:05 · 1059 阅读 · 0 评论 -
windows 11 已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: ssl 提供程序, error: 0 - 远程主机强迫关闭了一个现有的连接。)
windows 11 已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: ssl 提供程序, error: 0 - 远程主机强迫关闭了一个现有的连接。)原创 2022-11-11 01:32:03 · 5406 阅读 · 8 评论 -
servizi desktop remoto 服务因下列错误而停止: 系统找不到指定的文件。
servizi desktop remoto 服务 修复原创 2022-09-05 18:18:49 · 216 阅读 · 0 评论 -
wsl 模式 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
windows docker wsl 模式 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]原创 2022-03-27 02:05:19 · 6762 阅读 · 0 评论 -
git Filename too long 问题解决
目录问题原因解决方法启用长路径问题原因git 获取文件时不支持长文件导致fatal: cannot create directory at 'examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/java/org/apache/shar...原创 2021-11-05 01:58:42 · 2792 阅读 · 0 评论 -
docker 导致 windows 系统盘莫名其妙爆满处理过程
目录1、分析磁盘占用情况2、收缩ext4.vhdx文件1.清理不必要的镜像2.停止wsl服务3.开始收缩文件1、分析磁盘占用情况启动windows终端管理员模式diskusage /minFileSize=10737418240 /h C:命令说明/minFileSize=10737418240 分析找出大于10G的目录/h 显示大小为可读格式C: 指定磁盘位置,可以是具体目录可以看到问题出在C:\Users\{用户名}\AppD...原创 2021-10-25 21:25:06 · 9768 阅读 · 5 评论 -
解决 docker-compose.yml 启动容器秒停 出错停止问题,加tty:true
目录问题:1、增加一个配置tty:true2、删除容器重新A.命令行模式:B.Visual Studio 项目:问题:同样的容器,docker run 方式可以运行,docker-compose up -d 启动后又停止。1、增加一个配置tty:trueversion: '3.4'services: sqldata: image: mcr.microsoft.com/mssql/server:2017-latest tty: true2、.原创 2021-09-18 18:23:45 · 4000 阅读 · 0 评论 -
docker ubuntu 中文乱码问题
目录1、docker-compose.yaml加入LANG: "C.UTF-8"2.docker runenv LANG=C.UTF-8 方式3、docker exec env LANG=C.UTF-8 方式1、docker-compose.yaml加入LANG: "C.UTF-8"environment: LANG: "C.UTF-8"2.docker runenv LANG=C.UTF-8 方式docker run --name ubuntu ...原创 2021-08-28 23:22:50 · 897 阅读 · 1 评论 -
docker 13: Permission denied 问题解决方法
目录1、进入容器使用-u 0 参数2、确认Privileged状态sdbadmin@sdbserver1:/opt$ apt-get updateReading package lists... DoneE: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)1、进入容器使用-u 0 参数docker exec -u 0 -it 容器名称 /bin/ba..原创 2021-08-28 22:29:36 · 3824 阅读 · 0 评论 -
windows max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
错误提示:windows10docker 容器运行elasticsearch提示max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 错误解决方法:命令行运行wsl -d docker-desktopsysctl -w vm.max_map_count=262144exit...原创 2021-08-27 21:06:03 · 1131 阅读 · 0 评论 -
Hyper-V 动态端口导致 docker-compose up --build 提示端口不可用,问题解决
docker-compose up --build错误代码:ERROR: for magicodesadmincore_admin.host_1 Cannot start service admin.host: Ports are not available: listen tcp 0.0.0.0:2000: bind: An attempt was made to access a socket in a way forbidden by its access permissions...原创 2021-08-25 17:07:36 · 379 阅读 · 0 评论 -
windows 照片查看器无法打开图片 因为照片查看器不支持此文件格式,或者你没有照片查看器的最新更新
目录问题1、排查磁盘空间和内存2、扫描系统文件进行修复问题windows 照片查看器无法打开图片,显示空白或提示:windows 照片查看器无法打开图片,因为照片查看器不支持此文件格式,或者你没有照片查看器的最新更新。1、排查磁盘空间和内存空间不足会造成图片无法打开的情况。2、扫描系统文件进行修复管理员模式运行:搜索CMD 看到 命令提示符点以管理员身份运行输入下面的命令进行修复DISM/Online /Cleanup-image /Scan.原创 2021-03-14 01:08:57 · 23148 阅读 · 0 评论 -
windows10 安装 vue-storefront 步骤记录
目录1、下载vue-storefront2、安装error C:\www\vue-storefront\node_modules\node-sass: Command failed.解决方法1.安装windows-build-tools2.修改path3.重新安装验证3、安装主题1.快速安装命令2.选择主题3.选择版本4、运行Vue Storefront Server1、下载vue-storefrontgit clone https://githu.原创 2021-02-21 02:27:50 · 780 阅读 · 0 评论 -
hyper-v server 磁盘合并命令
确认状态:在PowerShell 模式下Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Management-PowerShell出现如图提示代表正常合并命令:Merge-VHDpath:输入快照文件名DestinationPath:输入目标文件名...原创 2021-01-14 16:32:04 · 1189 阅读 · 0 评论 -
Magento2.4 Magento\Framework\View\Page\Config\Renderer::canTypeBeFont() 错误解决
1、TypeError: Argument 1 passed to Magento\Framework\View\Page\Config\Renderer::canTypeBeFont() must be of the type string, null given, called错误:TypeError: Argument 1 passed to Magento\Framework\View\Page\Config\Renderer::canTypeBeFont() must be of th.原创 2020-12-02 21:29:26 · 544 阅读 · 0 评论 -
windows Magento2.4 csv中文语言包 fgetcsv 方法 读取错行,位置不对问题,自定义fgetcsv_cn全局函数
目录简介1、自定义全局方法1)在app\下新建目录Helpers,创建function.php文件2)修改根目录的composer.json文件3)更新 composer 的 autoload_files.php 文件2、修改fgetcsv为fgetcsv_cn3、发现的问题简介Magento2.4 windows10环境,安装csv中文语言包,翻译内容超行问题。发现是fgetcsv 方法 读取错行问题,搜索发现是fgetcsv 方法不支持中文导致的。1、自定...原创 2020-11-30 20:59:47 · 387 阅读 · 0 评论 -
Magento 2 windows 开发环境 Grunt css样式管理 livereload 实时预览
1、Grunt安装前准备1)把 package.json.sample Gruntfile.js.sample 这两个文件的.sample去掉2)把 \dev\tools\grunt\configs\themes.js 文件改名为 local-themes.js2、安装Gruntnpm install -g grunt-clinpm installphp bin/magento cache:cleangrunt clean3、Grunt 测试grunt exec:luma原创 2020-11-26 01:37:55 · 347 阅读 · 1 评论 -
Magento 2.4 windows10 安装中碰到的问题
环境安装我这里用 phpstudy V8.0版操作相对简单,创建站点等这里就不说明了,主要记录安装过程中碰到的问题。1、phpstudy 会清空.htaccess 文件重新复制一下.htaccess.sample 中的内容。2、错误提示:.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration由于ph..原创 2020-10-29 22:03:16 · 1512 阅读 · 3 评论 -
magento 2.4 登录后台出现ERR_TOO_MANY_REDIRECTS 将您重定向的次数过多 问题解决过程。
1、清除cookie删除来自某个网站的 Cookie在计算机上打开 Chrome。 在右上角,依次点击“更多”图标设置。 在“隐私设置和安全性”下方,点击Cookie 及其他网站数据。 点击查看所有 Cookie 和网站数据。 在右上角,搜索相应网站的名称。 在该网站的网址右侧,点击“移除”图标。无法解决继续下面的操作2、删除 var\cache\* 和var\session\* 下所有文件rm -rf var\cache\*rm -rf var\se...原创 2020-10-29 01:31:26 · 4325 阅读 · 1 评论 -
Fork 仓库后 重新 git 同步远程仓库的所有分支
1、获取源仓库所有分支git clone <源仓库>cd <项目名称>git branch -r | awk -F'origin/' '!/HEAD|master/{print $2 " " $1"origin/"$2}' | xargs -L 1 git branch -f --track git fetch --all --prune --tagsgit pull --all2、同步到自己的仓库git remote set-url origin &l..原创 2020-10-27 21:59:07 · 1746 阅读 · 0 评论 -
magento 2.4 windows平台需要修改代码记录
1、vendor\magento\framework\View\Element\Template\File\Validator.php protected function isPathInDirectories($path, $directories) { if (!is_array($directories)) { $directories = (array)$directories; } //$realPat.原创 2020-10-27 19:29:42 · 1508 阅读 · 0 评论 -
WampServer openssl本地证书创建 配置https服务器 和 虚拟主机
1、进入命令行模式:右键图标 =》工具 =》在命令行窗口打开Apache bin目录2、创建证书:openssl genrsa -des3 -out server.key 2048 随便输入4位密码openssl rsa -in server.key -out server.key生成无密码版本openssl req -new -x509 -key server.key -out ca.crt -days 3650 -config C:\wamp64\bin\a..原创 2020-10-26 23:28:07 · 565 阅读 · 0 评论 -
VSCode live server 插件 实现 Html 网页代码修改效果实时预览
1、安装 live server 插件,打开 Extensions -> 搜索 live server 点 install ,安装完成需要重启VSCode2、使用方式,重启后直接点又下角的Go Live修改完代码Ctrl+S保存代码就可以看到效果了。原创 2020-10-21 15:34:37 · 1747 阅读 · 1 评论 -
python 3.7 ImportError: No module named PIL
问题:ImportError: No module named PIL解决方法:首先确认项目要求的pillow版本无误后,卸载重新安装pillowpip install Pillow可以看到安装的版本是 6.1.0pip uninstall -y Pillow卸载pillow老版本pip install Pillow==6.1.0重新安装,问题就可以解决。...原创 2020-10-20 16:49:34 · 1099 阅读 · 0 评论 -
windows 10 PyCharm ODOO 开发环境搭建
1、下载源码git clone https://github.com/odoo/odoo.git2、PyCharm 虚拟环境设置Location:虚拟环境文件位置,根据需要调整,base interpreter: python.exe文件位置,这里使用的是3.8版本Python虚拟环境设置完成3、Odoo运行环境设置创建odoo.conf配置文件内容如下:[options]db_host=localhostdb_port=5432d...原创 2020-10-17 16:25:29 · 3094 阅读 · 2 评论 -
PyCharm ImportError: DLL load failed while importing _psycopg: 找不到指定的模块。
错误:PyCharm ImportError: DLL load failed while importing _psycopg: 找不到指定的模块。解决方法: 把PostgreSQL 的 bin 和 lib 添加到Path,然后更新psycopg2插件pip install --upgrade psycopg2原创 2020-10-17 15:07:00 · 5687 阅读 · 2 评论 -
解决Ubuntu sh 文件运行错误 bash: ./start_ui_ai.sh:/bin/sh^M:解释器错误: 没有那个文件或目录
错误:bash: ./start_ui_ai.sh:/bin/sh^M:解释器错误: 没有那个文件或目录原因:dos / windows 和 unix / linux 换行格式编码问题导致,dos / windows 『\n\r 』表示换行 unix / linux 『\n』 表示换行解决方法:批量修改换行符find . -name "*.sh" | xargs sed -i 's/\r$//g'...原创 2020-10-08 05:02:57 · 926 阅读 · 0 评论 -
Windows Server 2019 Core 或 hyper-v server 2019图形工具安装
1、 安装命令:Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0注意:必须是powershell命令行模式,安装完成后重启系统。PS C:\Users\Administrator>Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.02、常用命令Microsoft管理控制台(mmc)事原创 2020-09-13 01:12:53 · 9472 阅读 · 2 评论