http://www.upupoo.com/ https://docs.microsoft.com/zh-cn/sysinternals/ https://github.com/yangyangwithgnu/hardseed http://www.yingdev.com/projects/wgestures https://www.snipaste.com/ https://www.draw.io http://mikeschultz.xyz/materialette/ https://www.autohotkey.com/ https://windirstat.net/ https://www.ipip.net/download.html#ip_trace https://ivarptr.github.io/yu-writer.site/ http://1218.io/ https://github.com/shadowsocksrr/shadowsocksr-csharp/releases https://www.alertover.com https://send-anywhere.com/business http://pooi.moe/QuickLook/ https://www.chuyu.me/zh-Hans/index.html http://clipber.com/clipber/#download_app http://www.hellofont.cn/ https://github.com/chengr28/RevokeChinaCerts http://code.taobao.org/p/mychrome/src/trunk/release/ https://github.com/sylnsfar/qrcode https://chris.dziemborowicz.com/apps/hourglass/ https://getsharex.com/ http://rufus.akeo.ie/ https://www.xnview.com/en/xnconvert/#downloads https://otp.landian.la/index.html http://www.rjno1.com/mpv-easy-player.html https://github.com/Codeusa/SteamCleaner https://www.shencut.com/ http://www.screentogif.com/?l=zh_cn http://www.traynier.com/software/steammover

过年前托朋友入手港版NS,于是过年到现在沉迷塞尔达无法自拔。。。年后又入了DLC季票,大师模式又新开档,目前过了4神兽,就剩加农没打了。。。每天刷刷人马,刷刷Amiibo,捡捡流星也是乐在其中!这篇文章没什么主题,就是想吹吹塞尔达有多好玩!

NS 双红

阅读剩余部分

+noall表示隐藏所有内容 +answer 表示显示响应内容

+[no]question,+[no]answer,+[no]authority,+[no]stat,+short

# 直接查询根DNS
dig

# 指定解析服务器为8.8.8.8
dig @8.8.8.8 phpgao.com

# 查询DNS记录
dig -t NS phpgao.com +noall +answer


# 查询MX记录
dig -t MX phpgao.com +noall +answer

正则的效率是在比不上原生的,所以丢个链接(过滤器函数)走人。

二逼正则:

$valid = preg_match('/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\z/', $string);

正确正则:

preg_match('/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:[.](?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/', $ipAddress);

过滤器的选项,比如可以过滤私有IP地址等。

用法参考Validating an IP address with PHP's filter_var function