V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  xiri  ›  全部回复第 22 页 / 共 85 页
回复总数  1692
1 ... 18  19  20  21  22  23  24  25  26  27 ... 85  
2020-07-27 21:15:54 +08:00
回复了 lysS 创建的主题 问与答 有熟悉 nginx 配置的老哥吗?
@lysS 并没有,location / {} 是最后匹配的,任何未匹配到其它 location 的请求都会匹配到这里。
也就是说先匹配下面的 php 文件的 location,其他没有匹配到的文件(即所有的非 php 文件)都会匹配到这里
2020-07-27 20:13:50 +08:00
回复了 lysS 创建的主题 问与答 有熟悉 nginx 配置的老哥吗?
location / {
......
}

location ~ \.php(.*)$ {
......
}
2020-07-27 20:10:25 +08:00
回复了 lysS 创建的主题 问与答 有熟悉 nginx 配置的老哥吗?
我觉得你这个需求就不对,不应该是写一个匹配 php 文件的 location,然后剩下的都是非 php 文件吗?
2020-07-25 18:52:46 +08:00
回复了 zhangsan5421 创建的主题 NGINX 阿里云服务器开通实例,但是浏览器不能访问是怎么回事?
@yingfengi 看我上面的回复,阿里云现在不备案的话使用域名+80 端口 http 访问会出现备案拦截页面,域名+443 端口 https 访问就是这样被 sni 阻断,显示“连接已重置”。

楼主的域名的解析记录现在还在,你可以自己试一下手动用 http 访问就能看到备案拦截页面了
2020-07-25 18:49:05 +08:00
回复了 zhangsan5421 创建的主题 NGINX 阿里云服务器开通实例,但是浏览器不能访问是怎么回事?
@xiri 上面的 http 、https 更严格的来说是 80 、443 端口,用其他端口不会出问题
2020-07-25 18:48:18 +08:00
回复了 zhangsan5421 创建的主题 NGINX 阿里云服务器开通实例,但是浏览器不能访问是怎么回事?
@opengps 阿里云现在不备案的话,http 访问会出现备案提示,https 访问就是这样“连接已重置”,你自己去试一下就知道了
2020-07-23 23:46:01 +08:00
回复了 vicou 创建的主题 云计算 除了 v2ex,还有哪里有比较好的云计算论坛?
@vicou 淘宝差不多 1 块钱一个
2020-07-23 10:05:58 +08:00
回复了 freemenL 创建的主题 分享创造 个人博客站点顺利上线了,来打个卡
好久没晒了,我也贴一个: https://xirikm.net/
2020-07-21 17:36:11 +08:00
回复了 Colorful 创建的主题 Python 关于爬虫几个问题请教
@xiri 每次写入数据之前判断数据是否已经存在

另外,如果是你爬取一个网站的很多页面的话,每次把爬过了的链接存起来,后面不再爬这些链接就行了
2020-07-21 17:34:41 +08:00
回复了 Colorful 创建的主题 Python 关于爬虫几个问题请教
windows 有计划任务,跟 linux 下的 crontab 相对
至于重复数据的问题,你都玩爬虫了,去重不是基本操作吗?每次写入数据之前数据是否已经存在,数据量比较大的话可以试试 redis 的布隆过滤器
主题设置里面找到 scroll_to_more,设为 false 就行了
不过我的版本还停留在 7.1.2,不知道这个设置项还在不在
@codehz 我也觉得,现在结束进程重新启动后就没问题了
补充:我刚刚试了一下手动重建索引(帮助-小工具-索引管理),cpu 占用甚至没什么波动,除此之外我也想不到一个邮件客户端能有什么占用 cpu 的功能了
@howellz 用胶片是为了能够长久保存,其他的介质(硬盘、磁带啥的)根本无法把数据保存这么久,这个项目用的是一种特制的胶片,据说在常温下能保存 750 年,在低温干燥的条件下能保存 2000 年以上
@howellz 基本上去年一年内活跃的公有仓库都备份了,他那个条件的覆盖范围很广的,很多人反映自己放博客的仓库都被备份了(被备份了的用户主页上会出现一个 Arctic Code Vault Contributor 的徽章)

https://archiveprogram.github.com/faq/

On February 2, 2020 we took a snapshot of all of GitHub’s public repositories that have been active within recent months.

The archive will include every repo with any commits between the announcement at GitHub Universe on November 13, 2019 and February 2, 2020,

every repo with at least 1 star and any commits from the year before the snapshot (02/02/2019 - 02/02/2020),

and every repo with at least 250 stars.

Plus, gh-pages for any repository that meets the aforementioned criteria.
2020-07-17 11:07:56 +08:00
回复了 leimao 创建的主题 GitHub GitHub 新出了一个徽章“Arctic Code Vault Contributor”
@leimao 不是的,看官方说明,满足以下条件的就算
https://archiveprogram.github.com/faq/

On February 2, 2020 we took a snapshot of all of GitHub’s public repositories that have been active within recent months.

The archive will include every repo with any commits between the announcement at GitHub Universe on November 13, 2019 and February 2, 2020,

every repo with at least 1 star and any commits from the year before the snapshot (02/02/2019 - 02/02/2020),

and every repo with at least 250 stars.

Plus, gh-pages for any repository that meets the aforementioned criteria.
2020-07-17 10:42:45 +08:00
回复了 binggg 创建的主题 程序员 看看有没有获得 Github 「北极开源贡献者」 称号
嗯?我也有
2020-07-09 13:53:15 +08:00
回复了 crella 创建的主题 问与答 Python 的 import 的对象类型问题
@xiri v 站回复会把缩进吃掉,,,上面的回复中的代码前两行定义了一个函数 x,然后 y=x,最后加上括号,用 y()来调用
1 ... 18  19  20  21  22  23  24  25  26  27 ... 85  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2662 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms · UTC 14:11 · PVG 22:11 · LAX 07:11 · JFK 10:11
Developed with CodeLauncher
♥ Do have faith in what you're doing.