From 72635b5cdfb348a1411bae0785739f5d9de020a8 Mon Sep 17 00:00:00 2001 From: dongdigua Date: Sun, 18 Sep 2022 12:10:57 +0800 Subject: [PATCH] new post: nix --- css/main.css | 1 + org/internet_collections.org | 13 +++++++++++-- org/nixos.org | 16 ++++++++++++++++ org/画大饼.org | 1 + 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 org/nixos.org diff --git a/css/main.css b/css/main.css index 6ca2d63..20a02bb 100644 --- a/css/main.css +++ b/css/main.css @@ -119,6 +119,7 @@ } a { + cursor: crosshair; text-decoration: none; color: #39c5bb; } diff --git a/org/internet_collections.org b/org/internet_collections.org index fff64d2..66158ef 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -110,8 +110,17 @@ gopher://gopher.lantian.pub ** [[https://ulyc.github.io/][UlyC]] :python: *** [[https://ulyc.github.io/2022/08/10/sourcehut-the-hackers-forge/][sourcehut, 一个反叛而又正统的代码托管平台]] *** [[https://ulyc.github.io/2021/01/13/2021年-用更现代的方法使用PGP-上/][2021年, 用更现代的方法使用PGP]] +#+BEGIN_QUOTE +同样是非对称算法,为什么PGP的私钥就长这么多呢? +因为他们用的算法不同,比特币默认使用的是ECDSA的 secp256k1算法, 该算法只是用来签名和认证,并不用来加密 +(signify 也只用于签名和认证,所以密钥也比较短) +#+END_QUOTE **** [[https://spwo.notion.site/GitHub-6b1e1d57f52c4664bff61cadb3f9cb8d][震惊! 竟然有人在 GitHub 上冒充我的身份!]] *** [[https://ulyc.github.io/2019/08/01/初窥CORB/][Cross-Origin Read Blocking]] +** [[https://kernal.eu][kernal]] +Welcome to the darkest dungeon of kernal +*** [[https://kernal.eu/posts/linuxfx/][Dumping Linuxfx customers - A Windows-like distro including the spyware and activation]] +哈哈哈笑死了! ** B *** [[https://blog.yangmame.org/][yanemame]] 猴哥推荐的 @@ -156,8 +165,7 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]] *** [[https://www.youtube.com/playlist?list=PL5--8gKSku15NSeLgrZX9hSEnqPTWoSJ0][DT: Privacy & Security]] *** [[https://youtu.be/Utse8P_L8k0][ArcaOS: Modern OS/2 ]] *** [[https://youtu.be/2--1ph-4IaY][shit express hacked]] -*** [[https://www.youtube.com/c/PowerCertAnimatedVideos][PowerCert Animated Videos]] -**** [[https://youtu.be/1z0ULvg_pW8][集线器,交换机和路由器的区别]] +*** [[https://youtu.be/1z0ULvg_pW8][集线器,交换机和路由器的区别]] **** [[https://youtu.be/pCcJFdYNamc][Default Gateway Explained]] **** [[https://youtu.be/TIiQiw7fpsU][MAC Address Explained]] **** [[https://youtu.be/6_giEv20En0][Subnets vs VLANs]] @@ -170,6 +178,7 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]] ** Math *** [[https://youtu.be/KufsL2VgELo][Group Theory]] *** [[https://youtu.be/3gyHKCDq1YA][p-adic Numbers: 2 ^ 10n]] +*** [[https://youtu.be/4nG49xTTjIA][The Real Reason Why Negative Times Negative is Positive, Intro to Rings]] ** Minecraft *** [[https://youtu.be/VKydXD6Lr20][Mojang & Minecraft 开始衰落了吗?]] diff --git a/org/nixos.org b/org/nixos.org new file mode 100644 index 0000000..9d90b6a --- /dev/null +++ b/org/nixos.org @@ -0,0 +1,16 @@ +#+TITLE: Build a Minimal NixOS LiveCD with swaywm +#+DATE: <2022-09-17 六> + +* problem & solution +** unable to drop root +donot run under root +** in normal user, libseat permission deniened +add user in =video= group +login as user, not root +** egl error +enable 3D acceleration in VirtualBox +** config files from outside +[[../images/irc-nixiso.png]] + +* reference +** [[https://sr.ht/~guido/nixos-init-freedom/][nixos without systemd?]] diff --git a/org/画大饼.org b/org/画大饼.org index 382ca1b..1eb68bb 100644 --- a/org/画大饼.org +++ b/org/画大饼.org @@ -3,4 +3,5 @@ * [[https://dongdigua.github.io/plan_for_my_video_site][对我将来的视频网站的一些畅想]] * Rust wasm 制作 schemetic/litemetica 渲染器 +** [[https://github.com/misode/vscode-nbt][a vscode extension]] * 用 sway 实现[[https://www.bilibili.com/video/BV1TE41147gK][用窗口玩游戏(×)用游戏玩窗口(√)]]的效果