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

- 如果你为了速度,搞个 raid0
- 如果你为了保证数据安全性,那么 raid1(其实没啥用,炸了全完蛋,多地,多副本才是王道)
- 不重要数据,咋搞都行
355 天前
回复了 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
2023-07-01 11:45:44 +08:00
回复了 zhch602 创建的主题 分享发现 居然有这么多人不知道支付宝可以这么简洁么?
2023-06-29 09:47:43 +08:00
回复了 Malvo 创建的主题 Dell dell 的售后服务又差又慢,有同感吗?
我长这么大,我的显示器全部是 DELL 的,不下四台吧,基本上出问题都是两天内给我搞定。
2023-06-27 18:42:02 +08:00
回复了 huangya 创建的主题 OpenWrt openwrt 实现通过邮件的方式来获取 IP
一条 IP 地址而已,无所谓。自己机器防火墙记得加固好就行。
2023-06-27 17:56:33 +08:00
回复了 shika 创建的主题 OpenWrt openwrt 能设置 lan 到 lan 的端口转发吗?
DNAT 可解,写个防火墙规则即可。
2023-06-27 17:55:42 +08:00
回复了 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#
```
几行防火墙规则就可以搞定。
2023-06-27 17:50:18 +08:00
回复了 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
```
2023-06-27 17:49:17 +08:00
回复了 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"
```
2023-06-25 13:39:46 +08:00
回复了 yemengzhan1994 创建的主题 macOS 24G 内存占用 14G 为啥还会出现 swap? [MacBook Air M2]
2023-06-21 10:29:24 +08:00
回复了 sitong 创建的主题 问与答 大家伙,帮帮我妹妹,我实在是没有办法
国内的话,宇宙的尽头是编制。
2023-06-20 11:04:41 +08:00
回复了 dreamramon 创建的主题 问与答 请教一个批量管理 nginx 的实践
ansible 一把梭
1  2  3  4  5  6  7  8  9  10 ... 16  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2322 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 37ms · UTC 11:23 · PVG 19:23 · LAX 04:23 · JFK 07:23
Developed with CodeLauncher
♥ Do have faith in what you're doing.