V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  lovelylain  ›  全部回复第 23 页 / 共 49 页
回复总数  962
1 ... 19  20  21  22  23  24  25  26  27  28 ... 49  
2023-06-21 19:32:56 +08:00
回复了 JohnXu20151211 创建的主题 macOS 求推荐 mac 上的 json 格式化工具
@ai277014717 缺个禁止 ensure_ascii 的参数,实用性大打折扣。
去错地方了,应该去贴吧。
2023-06-17 16:58:32 +08:00
回复了 Riesling 创建的主题 问与答 如何远程管理运行中的 docker container?
意思就是想在 image 里埋个后门程序,什么后门程序合适?
2023-06-16 18:42:16 +08:00
回复了 idealhs 创建的主题 程序员 🐒: if (a == 2) return true else return false
if (a==1 && b==2) || (a!=1 && b!=2) {
}
2023-06-15 13:15:37 +08:00
回复了 PrtScScrLk 创建的主题 生活 预约了一次提前还贷。
前几年还的都是利息不是提前还贷的好理由,你要是等额本息贷 100 万 30 年利率 3%,3 年后合计还了 4216.04*36=15 万多,其中本金只还了 6 万 4 ,按你的感觉也是还的都是利息得提前还款吧,但实际上 3%的利率比 3 年存款利率还低,同样多的钱你存定期比提前还还划算。所以是否提前还要看理财收益率能否跑赢房贷利率以及是否愿意为了保持一定的流动性牺牲一些利率,而非因为前期还的都是利息就要提前还。利率 4.95 的话,我也会选择提前还一些。
2023-06-15 12:48:22 +08:00
回复了 idc123 创建的主题 问与答 DNS 是怎么了吗? 114 的
@wowofe dnsmasq
--server=[/[<domain>]/[domain/]][<server>[#<port>]][@<interface>][@<source-ip>[#<port>]]
Specify upstream servers directly. Setting this flag does not suppress reading of /etc/resolv.conf, use --no-resolv to do that. If one or more optional domains are given, that server is used only for those domains and they are queried only using the specified server. This is intended for private nameservers: if you have a nameserver on your network which deals with names of the form xxx.internal.thekelleys.org.uk at 192.168.1.1 then giving the flag --server=/internal.thekelleys.org.uk/192.168.1.1 will send all queries for internal machines to that nameserver, everything else will go to the servers in /etc/resolv.conf. DNSSEC validation is turned off for such private nameservers, UNLESS a --trust-anchor is specified for the domain in question. An empty domain specification, // has the special meaning of "unqualified names only" ie names without any dots in them. A non-standard port may be specified as part of the IP address using a # character. More than one --server flag is allowed, with repeated domain or ipaddr parts as required.
More specific domains take precedence over less specific domains, so: --server=/google.com/1.2.3.4 --server=/www.google.com/2.3.4.5 will send queries for google.com and gmail.google.com to 1.2.3.4, but www.google.com will go to 2.3.4.5

Matching of domains is normally done on complete labels, so /google.com/ matches google.com and www.google.com but NOT supergoogle.com. This can be overridden with a * at the start of a pattern only: /*google.com/ will match google.com and www.google.com AND supergoogle.com. The non-wildcard form has priority, so if /google.com/ and /*google.com/ are both specified then google.com and www.google.com will match /google.com/ and /*google.com/ will only match supergoogle.com.

For historical reasons, the pattern /.google.com/ is equivalent to /google.com/ if you wish to match any subdomain of google.com but NOT google.com itself, use /*.google.com/

The special server address '#' means, "use the standard servers", so --server=/google.com/1.2.3.4 --server=/www.google.com/# will send queries for google.com and its subdomains to 1.2.3.4, except www.google.com (and its subdomains) which will be forwarded as usual.

Also permitted is a -S flag which gives a domain but no IP address; this tells dnsmasq that a domain is local and it may answer queries from /etc/hosts or DHCP but should never forward queries on that domain to any upstream servers. --local is a synonym for --server to make configuration files clearer in this case.

IPv6 addresses may include an %interface scope-id, eg fe80::202:a412:4512:7bbf%eth0.

The optional string after the @ character tells dnsmasq how to set the source of the queries to this nameserver. It can either be an ip-address, an interface name or both. The ip-address should belong to the machine on which dnsmasq is running, otherwise this server line will be logged and then ignored. If an interface name is given, then queries to the server will be forced via that interface; if an ip-address is given then the source address of the queries will be set to that address; and if both are given then a combination of ip-address and interface name will be used to steer requests to the server. The query-port flag is ignored for any servers which have a source address specified but the port may be specified directly as part of the source address. Forcing queries to an interface is not implemented on all platforms supported by dnsmasq.

Upstream servers may be specified with a hostname rather than an IP address. In this case, dnsmasq will try to use the system resolver to get the IP address of a server during startup. If name resolution fails, starting dnsmasq fails, too. If the system's configuration is such that the system resolver sends DNS queries through the dnsmasq instance which is starting up then this will time-out and fail.
2023-06-15 10:22:17 +08:00
回复了 GT1 创建的主题 随想 诊所看不起小病
单说药钱,很多西药如果社康医院给开的话,比网上买药便宜,网上买药比线下药店要便宜。不过这类药在医院是要做验血等检查才给开,验个血就小 100 ,而且有时候碰到庸医不给开,或者会搭售一些更贵的中成药安慰剂。
2023-06-13 09:02:24 +08:00
回复了 Wockee 创建的主题 生活 求助!楼上的住户总是关我家水表阀门
买错摄像头了,换成可视门铃试试
2023-06-09 19:10:25 +08:00
回复了 naminokoe 创建的主题 生活 国外是如何补贴生娃养娃的,以 JP 为例
建议楼主折算成人民币方便对比:
国内生孩子有工作有生育保险顺产自费好像大概几千。
个税专项扣除 3 岁前有婴幼儿照护有 3 岁后有子女教育,每月 1000 额度,按 20%税率折合人民币 200 。
深圳小孩看病同二档医保。
2023-06-09 10:36:01 +08:00
回复了 w1lu0bOo 创建的主题 C++ 如何适应? C 艹程序员做 ANSI C 的项目
是机器上没有 c++运行库还是项目代码是纯 c ,后者的话用 c++实现功能编译成 so 给 c 调用。
2023-06-07 12:57:55 +08:00
回复了 strp 创建的主题 宽带症候群 联通光猫 CUAdmin 密码不对
我这边是
user:CUAdmin
password:cuadmin+( mac 地址前 6 位)
密码是小写
@xiaoxx97 无非是统一标准吧,但是第三方偏不支持怎么实现你说的优势? homeassistant 已经让我家不需要用十几个智能家居 app 就能控制家里的设备,除此之外 matter 还有什么优势?
matter 有什么优势?
2023-06-06 19:19:44 +08:00
回复了 bushenx 创建的主题 问与答 YouTube 后台播放
没人在 Android 上面用 SmartTube 吗? SmartTube 有后台播放无广告
2023-06-05 12:51:25 +08:00
回复了 0139 创建的主题 问与答 windows 自带的远程桌面怎么避免操作被旁边人看到
这是远程屏幕自动写代码的段子看多了? rdp 登录后本地就自动锁屏了,根本不会出现这种灵异事件。
2023-06-03 22:51:46 +08:00
回复了 zhwguest 创建的主题 程序员 给大家看看联通的 1 元 5GB 的流量包--每人限购一份,速抢!
@Zys2017 是 29 元 10G1 年有效期吗,其实还可以,我给娃买了个电话手表, 我原本有个 5 元保号卡,套内什么都没有,于是手表有两个方案,一种是给 5 元卡开流量包,一种是每月多花 10 元办一张副卡,然后去看了下流量包,都死贵,最后办了一个 5 元 1G+50 分钟通话的,相当于每月 10 元 1G 流量 50 分钟通话。
2023-06-03 22:46:59 +08:00
回复了 zhwguest 创建的主题 程序员 给大家看看联通的 1 元 5GB 的流量包--每人限购一份,速抢!
@Zys2017 是 29 元 10G1 年有效期吗,其实还可以,我给娃买了个电话手表,
2023-06-02 23:06:29 +08:00
回复了 kuingsmile 创建的主题 生活 查出了不能生育,心里郁闷
可以对外宣称是坚定的丁克主义了
2023-06-02 13:49:11 +08:00
回复了 yagamil 创建的主题 程序员 前端技术过于分裂
现在的前端技术其实比较像后端了吧,以前的网页,可以直接在浏览器查看编辑源码,现在基本都经过了 build ,就类似后端的编译。前端源码也是,引用了一大堆库,要 build 之后才部署,而非直接把这些库都拷过去部署。
1 ... 19  20  21  22  23  24  25  26  27  28 ... 49  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2854 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms · UTC 08:25 · PVG 16:25 · LAX 00:25 · JFK 03:25
Developed with CodeLauncher
♥ Do have faith in what you're doing.