V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wonderblank  ›  全部回复第 3 页 / 共 16 页
回复总数  302
1  2  3  4  5  6  7  8  9  10 ... 16  
麻烦贴图,谢谢。
不是的,是 200 万。这个服就是这样,其他服非常低。
290 天前
回复了 NeverBelieveMe 创建的主题 Python [ 咨询 ] 好友聊天功能如何实现
mqtt 应该就行了
你的目的是什么?

- 如果你为了速度,搞个 raid0
- 如果你为了保证数据安全性,那么 raid1(其实没啥用,炸了全完蛋,多地,多副本才是王道)
- 不重要数据,咋搞都行
292 天前
回复了 ifulikeweirdo 创建的主题 程序员 第一次接朋友的外包项目,被坑了
"由于是朋友的关系,所以也没签合同,收个预付款什么的(惨痛的教训)"
"我觉得这事错不在我"

我觉得错在你,在这个游戏规则下,合同是保底的规则,你打副本都不看规则。你让系统怎么判定你合作关系?
四台 mac 系统如下,不追新

$ macbook ~ % sw_vers
ProductName: macOS
ProductVersion: 12.6.7
BuildVersion: 21G651

$ macmini ~ % sw_vers
ProductName: macOS
ProductVersion: 12.6
BuildVersion: 21G115

$ macbook ~ % sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H2026

$ mini ~ % sw_vers
ProductName: macOS
ProductVersion: 12.6.7
BuildVersion: 21G651
304 天前
回复了 Malvo 创建的主题 Dell dell 的售后服务又差又慢,有同感吗?
我长这么大,我的显示器全部是 DELL 的,不下四台吧,基本上出问题都是两天内给我搞定。
305 天前
回复了 huangya 创建的主题 OpenWrt openwrt 实现通过邮件的方式来获取 IP
一条 IP 地址而已,无所谓。自己机器防火墙记得加固好就行。
305 天前
回复了 shika 创建的主题 OpenWrt openwrt 能设置 lan 到 lan 的端口转发吗?
DNAT 可解,写个防火墙规则即可。
305 天前
回复了 Jobin0528 创建的主题 OpenWrt 如何正确的找到 openwrt wan 口获取的 dns?
```
root@main:~# ifstatus wan | jq -r '."dns-server"[]'
58.240.57.33
221.6.4.66
```
```
root@main:/usr/share/nftables.d# find . | grep tail
./chain-post/forward/tailscale.nft
./chain-post/forward_lan/tailscale.nft
./chain-post/srcnat/tailscale.nft
./table-pre/tailscale.nft
root@main:/usr/share/nftables.d# cat ./table-pre/tailscale.nft
chain accept_to_tailscale {
oifname "tailscale0" counter packets 0 bytes 0 accept comment "tailscale VPN"
}

chain forward_tailscale {
iifname "tailscale0" counter packets 0 bytes 0 accept comment "tailscale VPN"
}
root@main:/usr/share/nftables.d# cat ./chain-post/srcnat/tailscale.nft
oifname "tailscale0" counter masquerade comment "tailscale VPN"
root@main:/usr/share/nftables.d# cat ./chain-post/forward_lan/tailscale.nft
jump accept_to_tailscale
root@main:/usr/share/nftables.d# cat ./chain-post/forward/tailscale.nft
iifname "tailscale0" jump forward_tailscale
root@main:/usr/share/nftables.d#
```
几行防火墙规则就可以搞定。
305 天前
回复了 huangya 创建的主题 OpenWrt openwrt 实现通过邮件的方式来获取 IP
```
root@main:/etc/hotplug.d/iface# curl ipip.ee
xxxxxx

root@main:/etc/hotplug.d/iface# curl ipv6.ipip.ee
xxx
```
305 天前
回复了 huangya 创建的主题 OpenWrt openwrt 实现通过邮件的方式来获取 IP
```
root@main:/etc/hotplug.d/iface# cat /etc/hotplug.d/iface/30-ntfy.sh
#!/bin/sh

[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" -a -z "$IFUPDATE_DATA" ] && exit 0

ipv4=$(/sbin/ifstatus wan | jq -r '."ipv4-address"[0] | .address')
ipv6=$(/sbin/ifstatus wan_6 | jq -r '."ipv6-address"[0] | .address')

[ $ipv6 = 'null' ] && exit 0
[ $ipv4 = 'null' ] && exit 0

curl \
-H "Title: main ip addresses are changed" \
-H "Priority: default" \
-H "Tags: main" \
-d "IPv4: $ipv4, IPv6: $ipv6" \
ntfy.sh/hello

logger -t ntfy.sh "Sending ip addresses notification, ipv4: $ipv4, ipv6: $ipv6"
```
312 天前
回复了 sitong 创建的主题 问与答 大家伙,帮帮我妹妹,我实在是没有办法
国内的话,宇宙的尽头是编制。
313 天前
回复了 dreamramon 创建的主题 问与答 请教一个批量管理 nginx 的实践
ansible 一把梭
1  2  3  4  5  6  7  8  9  10 ... 16  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5306 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms · UTC 07:29 · PVG 15:29 · LAX 00:29 · JFK 03:29
Developed with CodeLauncher
♥ Do have faith in what you're doing.