<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>与您分享电脑世界</title><subtitle>NetPc.com.cn</subtitle><link href="https://www.netpc.com.cn/feed.xml" rel="self"/><link href="https://www.netpc.com.cn/"/><updated>2026-10-12T18:49:15+08:00</updated><id>https://www.netpc.com.cn/</id><entry><title><![CDATA[VSCode在选中的每行尾部结尾插入光标内容快捷键]]></title><link href="https://www.netpc.com.cn/blog/archives/3515.html"/><id>https://www.netpc.com.cn/blog/archives/3515.html</id><updated>2025-07-28T11:00:24+08:00</updated><published>2025-07-28T11:00:24+08:00</published><summary type="html"><![CDATA[vscode编辑器多行首尾插入光标技巧 1、按下Ctrl+K+S打开键盘快捷方式 2、查找cursorLineEnd 3、配置快捷方式键绑定Ctrl+; 4、alt+shift+click对应每行插入光标，后按下Ctrl+;即可]]></summary></entry><entry><title><![CDATA[Outlook 365邮箱开启SMTP协议的方法]]></title><link href="https://www.netpc.com.cn/blog/archives/3512.html"/><id>https://www.netpc.com.cn/blog/archives/3512.html</id><updated>2025-06-04T17:32:39+08:00</updated><published>2025-06-04T17:32:39+08:00</published><summary type="html"><![CDATA[今天为了个用户使用了Outlook 365邮箱需要发送邮箱，结果网上搜索如何开启smtp协议，结果不如人意，最后发现只要2行命令就搞定了，先登录，再开启即可，环境windows10。 #连接会话 Connect-ExchangeOnline]]></summary></entry><entry><title><![CDATA[vue nuxt i18n 多语言包分组循环输出翻译内容]]></title><link href="https://www.netpc.com.cn/blog/archives/3501.html"/><id>https://www.netpc.com.cn/blog/archives/3501.html</id><updated>2024-09-25T16:16:11+08:00</updated><published>2024-09-25T16:16:11+08:00</published><summary type="html"><![CDATA[今天遇到个nuxt多语言包循环输出语言包里的分组内容，网查了半天没有合适的代码 自己研究后解决 cn.json { &quot;test&quot;:{ &quot;1&quot;:&quot;a&quot;, &quot;2&quot;:&quot;b&quot;, &quot;3&quot;:&quot;c&quot; } } 一般模板就是如下方式循环输出 {{ key +]]></summary></entry><entry><title><![CDATA[nuxt封装日历倒计时剩余时间]]></title><link href="https://www.netpc.com.cn/blog/archives/3497.html"/><id>https://www.netpc.com.cn/blog/archives/3497.html</id><updated>2024-05-29T17:25:23+08:00</updated><published>2024-05-29T17:25:23+08:00</published><summary type="html"><![CDATA[ 倒计时：{{ `${d || 0}天${h || 0}小时${m || 0}分${s || 0}秒` }} export default { props: { endTime: { type: String, default: '' },]]></summary></entry><entry><title><![CDATA[laravel8控制器构造函数和中间件的执行顺序]]></title><link href="https://www.netpc.com.cn/blog/archives/3491.html"/><id>https://www.netpc.com.cn/blog/archives/3491.html</id><updated>2024-05-22T14:10:47+08:00</updated><published>2024-05-22T14:10:47+08:00</published><summary type="html"><![CDATA[做一个多语言版本的网页使用一个多语言判断的中间件\App\Http\Middleware\Language::class 结果死活在控制器构造函数中跑不出结果，laravel加载执行生命周期，决定了是先跑了构造函数后才会跑中间件里的代码，无]]></summary></entry><entry><title><![CDATA[nuxt3编译nginx反向代理部署]]></title><link href="https://www.netpc.com.cn/blog/archives/3486.html"/><id>https://www.netpc.com.cn/blog/archives/3486.html</id><updated>2024-05-10T10:29:16+08:00</updated><published>2024-05-10T10:29:16+08:00</published><summary type="html"><![CDATA[最近有个nuxt3项目需要部署，顺利的话其实也简单，这里简单说说： 首先编译yarn bulid，生成.output和.nuxt 使用pm2 start跑起项目，默认会去调用命令目录下的ecosystem.config.js，里面有启动的配]]></summary></entry><entry><title><![CDATA[解决PHP和Java的sort排序一致]]></title><link href="https://www.netpc.com.cn/blog/archives/3479.html"/><id>https://www.netpc.com.cn/blog/archives/3479.html</id><updated>2024-03-20T17:02:28+08:00</updated><published>2024-03-20T17:02:28+08:00</published><summary type="html"><![CDATA[php排序sort($tmpArr, SORT_STRING)方式就会和java的Arrays.sort()结果一致了。 在把一段Java代码转php的时候发现使用默认sort这个函数会出行排序不一致情况，经查询需要修改第二个参数为字符串。]]></summary></entry><entry><title><![CDATA[spring tool suite4解决application.properties配置文件内中文乱码]]></title><link href="https://www.netpc.com.cn/blog/archives/3481.html"/><id>https://www.netpc.com.cn/blog/archives/3481.html</id><updated>2024-03-20T16:56:12+08:00</updated><published>2024-03-20T16:56:12+08:00</published><summary type="html"><![CDATA[解决方法如下图修改Spring Tool Suite4 的配置，将 application.properties 的格式从原来的ISO-8859-1改为 UTF-8即可，记得应用保存。]]></summary></entry><entry><title><![CDATA[阻止A标签链接事件冒泡]]></title><link href="https://www.netpc.com.cn/blog/archives/3476.html"/><id>https://www.netpc.com.cn/blog/archives/3476.html</id><updated>2024-03-05T15:15:24+08:00</updated><published>2024-03-05T15:15:24+08:00</published><summary type="html"><![CDATA[找到了就很简单了 onclick=&quot;window.event.cancelBubble=true&quot; onclick=&quot;event.stopPropagation();&quot; （1）stopPropagation符合W3C标准，适用于谷歌、火狐等]]></summary></entry><entry><title><![CDATA[Android studio Cannot fit requested classes in a single dex file (# methods: 77504 &gt; 65536)]]></title><link href="https://www.netpc.com.cn/blog/archives/3473.html"/><id>https://www.netpc.com.cn/blog/archives/3473.html</id><updated>2023-12-19T09:07:48+08:00</updated><published>2023-12-19T09:07:48+08:00</published><summary type="html"><![CDATA[Flutter kotlin编译错误 Execution failed for task ':app:mergeDexDebug'. &gt; A failure occurred while executing com.android.buil]]></summary></entry><entry><title><![CDATA[使用Dockerfile创建自己的单一LNMP镜像]]></title><link href="https://www.netpc.com.cn/blog/archives/3464.html"/><id>https://www.netpc.com.cn/blog/archives/3464.html</id><updated>2023-10-06T15:05:45+08:00</updated><published>2023-10-06T15:05:45+08:00</published><summary type="html"><![CDATA[突然想到回顾docker创建自己常用镜像，做个记录。 环境为windows11、docker desktop，复制以下内容保存成对应文件 1.Dockerfile.ubuntu # 指定基础镜像 FROM ubuntu # 镜像维护者作者 ]]></summary></entry><entry><title><![CDATA[windows11在docker上部署LNMP环境]]></title><link href="https://www.netpc.com.cn/blog/archives/3457.html"/><id>https://www.netpc.com.cn/blog/archives/3457.html</id><updated>2023-09-28T17:38:11+08:00</updated><published>2023-09-28T17:38:11+08:00</published><summary type="html"><![CDATA[1.我已经在windows11安装好docker desktop了，还没的要先安装。 根据官方教程下载安装docker desktop执行文件.exe，可以参考文章 2.终端直接运行以下命令： 2.1创建mysql docker run -]]></summary></entry><entry><title><![CDATA[linux或windows上的修改原docker容器挂载盘文件映射端口等]]></title><link href="https://www.netpc.com.cn/blog/archives/3453.html"/><id>https://www.netpc.com.cn/blog/archives/3453.html</id><updated>2023-09-27T17:35:37+08:00</updated><published>2023-09-27T17:35:37+08:00</published><summary type="html"><![CDATA[在windows或linux下不重新创建新的容器，直接修改原docker容器挂载盘或文件，IP映射端口等信息。 过程都是一样，停止docker服务，修改配置文件，启动docker。 windows下修改docker配置 运行环境windwo]]></summary></entry><entry><title><![CDATA[showdoc忘记管理员密码]]></title><link href="https://www.netpc.com.cn/blog/archives/3449.html"/><id>https://www.netpc.com.cn/blog/archives/3449.html</id><updated>2023-09-19T14:03:23+08:00</updated><published>2023-09-19T14:03:23+08:00</published><summary type="html"><![CDATA[进入目录修改sqlite3数据库文件showdoc.db.php为可以读写修改。 [root@netpc.com.cn ~]# cd /showdoc/Sqlite/ sqlite3 showdoc.db.php SQLite versio]]></summary></entry><entry><title><![CDATA[@vue-cli 5.0.8创建VUE3或VUE2项目]]></title><link href="https://www.netpc.com.cn/blog/archives/3427.html"/><id>https://www.netpc.com.cn/blog/archives/3427.html</id><updated>2023-08-30T16:04:09+08:00</updated><published>2023-08-30T16:04:09+08:00</published><summary type="html"><![CDATA[1、首先查看版本并安装个，这里的环境如下 vue：@vue/cli 5.0.8 npm：8.1.0 node：v16.13.0 2.开始创建项目 2.1创建命令：vue create test 并选择创建项目类型 Vue CLI v5.0.]]></summary></entry><entry><title><![CDATA[windows7安装nodejs14成功创建VUE3]]></title><link href="https://www.netpc.com.cn/blog/archives/3419.html"/><id>https://www.netpc.com.cn/blog/archives/3419.html</id><updated>2023-06-27T15:23:55+08:00</updated><published>2023-06-27T15:23:55+08:00</published><summary type="html"><![CDATA[在windows7上是必须用node14才能正常创建vue3，刚开始很多网上还写着@vue/cli3.X结果创建出来的实际是vue2.6，根据查看package.json文件查看能知道实际使用的vue版本 &quot;dependencies&quot;: {]]></summary></entry><entry><title><![CDATA[WinMerge对比文件夹忽略svn目录]]></title><link href="https://www.netpc.com.cn/blog/archives/3413.html"/><id>https://www.netpc.com.cn/blog/archives/3413.html</id><updated>2023-06-21T17:26:59+08:00</updated><published>2023-06-21T17:26:59+08:00</published><summary type="html"><![CDATA[如题,很简单,可以使用WinMerge自带的过滤器 如下图,点击文件夹过滤器的选择,弹出过滤器界面,点击新建,弹出让你选择私有还是共享用户,随便喜欢,然后找个地方起个svn名字保存,弹出svn.flt记事本,内容如下,name和desc修改]]></summary></entry><entry><title><![CDATA[安装Kibana管理Elasticsearch单机版]]></title><link href="https://www.netpc.com.cn/blog/archives/3404.html"/><id>https://www.netpc.com.cn/blog/archives/3404.html</id><updated>2023-05-11T14:50:06+08:00</updated><published>2023-05-11T14:50:06+08:00</published><summary type="html"><![CDATA[环境centos7，目前项目需要用到分布式，Elasticsearch直接做单机版，需要配置副本分片为0，让它不要去同步即可，不然状态会变成yellow，正常是green。 Elasticsearch 安装环境：yum install ja]]></summary></entry><entry><title><![CDATA[python提示ImportError: No module named mysql.connector]]></title><link href="https://www.netpc.com.cn/blog/archives/3399.html"/><id>https://www.netpc.com.cn/blog/archives/3399.html</id><updated>2023-05-08T09:36:05+08:00</updated><published>2023-05-08T09:36:05+08:00</published><summary type="html"><![CDATA[今天在centos7下Python版本2.7.5执行脚本提示缺少mysql模块 很简单执行yum install mysql-connector-python安装下模块即可 Loaded plugins: fastestmirror Loa]]></summary></entry><entry><title><![CDATA[恢复Microsoft Store微软应用商店卸载找不到了]]></title><link href="https://www.netpc.com.cn/blog/archives/3392.html"/><id>https://www.netpc.com.cn/blog/archives/3392.html</id><updated>2023-04-20T15:00:08+08:00</updated><published>2023-04-20T15:00:08+08:00</published><summary type="html"><![CDATA[可能是ghost系统的关系，压根就没见过有这东西 1、按下Win+X快捷键，选择&ldquo;Windows PowerShell（管理员）&rdquo;。 2、输入以下内容，可以一行一行复制粘贴，再按回车执行。 get-appxpackage *store* |]]></summary></entry></feed>
