图解我的 ubuntu 9.10 安装过程
ubuntu 9.10 终于在 10 月 29 号如期发布,相信大家对于这一版本的 ubuntu 操作系统已经期待很久了。这个安装过程早前我已经在 ubuntu-forum 上发过…
解决 startx 启动不了问题
今天在启动 redhat 的时候,图形桌面 down 了,提示如下: X-Window 启动不了,查看 /var/log/XFree86.0.log 中有如下错误信息:“Fatal server error…
Nginx 的虚拟主机配置示例
两个虚拟主机,纯静态 http { index index.html; server { server_name www.domain1.com; access_log logs/domain1.access.log main; root /var/www/d…
access_log 日志中出现 CONNECT www.baidu.com:443 等类似的访问请求,是想干什么?
45.137.20.150 - - [15/Jul/2021:09:59:29 +0800] "CONNECT icanhazip.com:443 HTTP/1.1" 405 288 175.184.166.193 - - [15/Jul/2021:10:07:58 +0800]…
CodeSandbox 初始化报错
从码云上下载下 CodeSandbox 执行初始化报错 执行 yarn 报错,执行 npm run start 报错 执行 yarn 报错信息如下 包都下载成功了 error D:\test\CodeSan…
solaris 10 + cluster3.2 + sds 双机配置的具体步骤
1、首先配置 IP 环境 一个节点配置一个浮动(虚拟)IP /etc/hosts 文件中配置一下内容,node1 和 node2 相同配置 node1 127.0.0.1 localhost 192.168.…
v-for on a template 的一个小疑问
看官方文档说在使用 v-for 的时候,需要使用一个独一无二的 key 值来提升性能,说这是和虚拟 dom 有关。但是我在 template 标签上面绑定 v-for 进行循…
Vue 中的组件能通过 JSON 动态生成吗 ?
服务器给我 JSON 数据 我根据 JSON 在 Vue 中动态的添加组件,比如 input,textare,button,还有自定义的一些组件等等 ,这个需求能实现吗?,当…
新建 Apache 服务器打开 PHP 页面乱码
在 Linux 9.0 及 RHEL5.0 等版本的 Linux 操作系统中用 Apache 做为 WEB 服务时,打开 .php 等类型的中文页面时中文显示出乱码的情况。 解决办法: 1…
Python 的实例属性如何理解?
在看 编程导论 的面对对象编程时,提到了一个示例:(部分代码) class IntSet(object): def insert(self, e): s = IntSet() 在随后的讲解中,作者提…
[Vue warn]: Invalid prop: custom validator check failed for prop “percentage”
报错:[Vue warn]: Invalid prop: custom validator check failed for prop “percentage”. 相关代码 :percentage="(invoiceSuccessNum / invoiceNum…
[Vue warn]: Computed property “passwordDialog” was assigned to but it has no setter
报错:[Vue warn]: Computed property “passwordDialog” was assigned to but it has no setter. 相关代码 :visible.sync="passwordDialog" 问题描…
请教两个提高 Vim 使用效率的问题
1.如何同时查找多个关键词,比如我想要高亮出文档中所有的 aa, bbbb, ccccc 2.举例说明,有一个枚举 enum Test { TEST_A, TEST_BBBBB, TEST_CC, TEST_…
使用 openssl 将 crt 证书转换为 pem 格式
在百度申请的 ssl 证书下载下来只有 crt 格式的,没有 nginx 需要的 pem 格式,就只有通过 openssl 转换下: openssl x509 -in api.jindaishu.cn.crt …
Sphinx 出现 too much attribute filters 错误
由于 Sphinx 无法实时修改索引,故设置了一个属性用于标记已删除的条目,但是项目上线没一会儿就出现: Error: searchd error: too much attribute fi…
ElementUI 报错 This file should be served over HTTPS. This download has been blocked.
This file should be served over HTTPS. This download has been blocked 报错截图 相关代码 window.location.href ='http://yua......' 问题 在谷歌…
ElementUI 报错 Vue warn: Duplicate keys detected: '0'. This may cause an update error.
Vue warn: Duplicate keys detected: '0'. This may cause an update error. 这个错误非常场景,而且有时候还不好处理 相关代码 问题 写了一个循环,…
为什么 open 打不开文件?
open (FH,"filename") || warn "Can not open file :$!.n"; my @array = ; close (FH); 可是执行的时候,总说 Can not open file :No such file or di…