半夜在改一些 Rust,
但是实现出来了一些
觉得不好看,遂换了种实现方式。
过了一会偶然点进了
甚至还看到了自己写出来的另一个东西:
嗯,原来是我已经达到了标准库的水平(乐
但是实现出来了一些
&**self 的写法。觉得不好看,遂换了种实现方式。
过了一会偶然点进了
String 的标准库实现,然后看到了:#[stable(feature = "rust1", since = "1.0.0")]
impl fmt::Display for String {
#[inline]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt::Display::fmt(&**self, f)
}
}
甚至还看到了自己写出来的另一个东西:
&mut self[..][index]
嗯,原来是我已经达到了标准库的水平(乐
🥰18❤2
Forwarded from Rachel 碎碎念 (Rachel 🐨)
FixTweet / FixupX
羅小黑CAT (@lxhcat)
小雪~
#blog #Linux #ttyUSB
关于使用 systemd 管理 USB tty,使你在 Linux 主机没有网络的情况下也能用 shell 管理它的那些事……
PS:以后要是更新了什么技术文章大概也会在这里发个提醒?
PPS:是不是整个 RSS Bot 会更好()
https://blog.gzti.me/posts/2023/1c5683d9/
关于使用 systemd 管理 USB tty,使你在 Linux 主机没有网络的情况下也能用 shell 管理它的那些事……
PS:以后要是更新了什么技术文章大概也会在这里发个提醒?
PPS:是不是整个 RSS Bot 会更好()
https://blog.gzti.me/posts/2023/1c5683d9/
GZTime's Blog
使用 USB tty 控制你的 Linux 主机
关于使用 systemd 管理 USB tty,使你在 Linux 主机没有网络的情况下也能用 shell 管理它的那些事……
👍7
Forwarded from MiaoTony's Box (MiaoTony 🐱)
#今天又看了啥 #tailscale #network
Choose Your Own IP
Tailscale assigns every one of your nodes a private IPv4 address. We do this from the CGNAT range, which is typically used by ISPs that have run out of public IPv4 addresses. Starting today, you have control over what IP address from that range is assigned to your nodes. This gives you the ability to decide what subset of the CGNAT range your tailnet uses to avoid conflicts with other applications.
https://tailscale.com/blog/choose-your-ip/
感人,ts 终于支持自定义 CGNAT IP 范围了。
原来他们设想是给 ts 宇宙里的每个节点分配唯一的 CGNAT IP,这样共享给别人的节点也用同样的 IP,但是发现 100.64.0.0/10 这400万个 IP 被用完了,哈哈
于是他们现在干脆放开了,每个 tailnet 域内都能自由分配任意这400万个里的 IP 了,而共享也不受影响,NAT 你值得信赖!
Choose Your Own IP
Tailscale assigns every one of your nodes a private IPv4 address. We do this from the CGNAT range, which is typically used by ISPs that have run out of public IPv4 addresses. Starting today, you have control over what IP address from that range is assigned to your nodes. This gives you the ability to decide what subset of the CGNAT range your tailnet uses to avoid conflicts with other applications.
https://tailscale.com/blog/choose-your-ip/
感人,ts 终于支持自定义 CGNAT IP 范围了。
原来他们设想是给 ts 宇宙里的每个节点分配唯一的 CGNAT IP,这样共享给别人的节点也用同样的 IP,但是发现 100.64.0.0/10 这400万个 IP 被用完了,哈哈
于是他们现在干脆放开了,每个 tailnet 域内都能自由分配任意这400万个里的 IP 了,而共享也不受影响,NAT 你值得信赖!
One thing you can rely on with IPv4: whatever the problem, Network Address Translation is part of the solution.
Tailscale
Customize Tailscale Node IPs for Better Network Management
Gain full control over IP address allocation in your Tailscale network, enabling efficient management and compatibility with other systems.
🥰1
Forwarded from Rachel 碎碎念 (Rachel 🐨)
#慢报 FFmpeg 现已支持多线程!相关代码已并入 Git 仓库的主分支,开发人员说,这是 「数十年来最复杂的重构之一」 。
https://www.phoronix.com/news/FFmpeg-CLI-MT-Merged
Git 仓库: https://github.com/FFmpeg/FFmpeg/
#有意思的项目
https://www.phoronix.com/news/FFmpeg-CLI-MT-Merged
Git 仓库: https://github.com/FFmpeg/FFmpeg/
#有意思的项目
Phoronix
FFmpeg Lands CLI Multi-Threading As Its "Most Complex Refactoring" In Decades
The long-in-development work for a fully-functional multi-threaded FFmpeg command line has been merged! The FFmpeg CLI with multi-threaded transcoding pipelines is now merged to FFmpeg Git ahead of FFmpeg 7.0 releasing early next year
🥰3👍1😁1
#Github
好哦,Github Markdown 支持了新的扩展语法:
TL;DR
https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
好哦,Github Markdown 支持了新的扩展语法:
TL;DR
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
https://github.blog/changelog/2023-12-14-new-markdown-extension-alerts-provide-distinctive-styling-for-significant-content/
The GitHub Blog
New Markdown extension: Alerts provide distinctive styling for significant content - GitHub Changelog
Alerts are a Markdown extension displayed with distinctive colors and icons to indicate the significance of the content. Five different types of alerts are supported: Note: Useful information that users…
👍6
Forwarded from 追尾游戏热点 (Liao wh)
《Baba Is You》制作人的新作、效仿《陷阵之志》的机甲回合制解谜战术游戏《机动战士巴巴(Mobile Suit Baba)》已经上线:https://hempuli.itch.io/mobile-suit-baba 首周12月28日之前完全免费。
游戏共计43关,玩家需要通过不同组合的机甲小队完成每一关的任务,保护水果不被神秘的敌人摧毁!
游戏共计43关,玩家需要通过不同组合的机甲小队完成每一关的任务,保护水果不被神秘的敌人摧毁!
itch.io
Mobile Suit Baba by Hempuli
Control mechs with Baba and friends to save the Fruit stockpiles! Available for Windows
❤3
Forwarded from MiaoTony's Box (MiaoTony 🐱)
#今天又看了啥 #security #iOS
37C3 第一天:卡巴斯基爆料 Operation Triangulation 漏洞细节分析
https://mp.weixin.qq.com/s/vwRgZyGqTTI6lrCGtbmmMQ
37C3 第一天:卡巴斯基爆料 Operation Triangulation 漏洞细节分析
https://mp.weixin.qq.com/s/vwRgZyGqTTI6lrCGtbmmMQ
TimeAxis
#2024 新年快乐!以及,年终报告~🥳
如果你卡在了红包比赛的报名……
邀请码是第一关,信息是公开的哦()
注释:这不是 CTF,基本不考察技术能力,就是一个朋友圈娱乐活动()
更新:修改了开始时间到 12.31 21:00 UTC+8
邀请码是第一关,信息是公开的哦()
注释:这不是 CTF,基本不考察技术能力,就是一个朋友圈娱乐活动()
更新:修改了开始时间到 12.31 21:00 UTC+8