geelaw 最近的时间轴更新
geelaw's repos on GitHub
PowerShell · 94 人关注
PowerShellThingies
My PowerShell thingies.
TeX · 88 人关注
ahbtr
An “open-thoughts” research — Ad Hoc Broadcast, Trace, and Revoke.
JavaScript · 24 人关注
bio-site
Yet another academic homepage builder.
C# · 16 人关注
PreviewHost
An example `IPreviewHandlerFrame` implementation using WPF.
JavaScript · 15 人关注
SinaWeiboFansRemover
Sina Weibo 粉丝删除器,一个 Microsoft Edge 扩展。
TeX · 12 人关注
laomian
老面 (sourdough, lit. "old dough") is used as the starter for fermenting dough. This repository contains my digital 老面.
Smalltalk · 11 人关注
Dock-PS
Archived in favour of PowerShellThingies.
C# · 10 人关注
Use-RawPipeline
Archived in favour of PowerShellThingies.
PowerShell · 7 人关注
newsstand
A list of email addresses of newsletter / social update. One can build their own email categoriser with this list.
C# · 6 人关注
AcademicdataBaseChain
Academic dataBase Chain.
TypeScript · 6 人关注
bibtex-ts
General-purpose format-preserving BibTeX parser in TypeScript (JavaScript).
PowerShell · 5 人关注
psguy.me
Archived in favour of PowerShellThingies.
3 人关注
daily-restore-point
Creating a restore point every day is a good habit.
JavaScript · 3 人关注
strcmp.cc
An online line-based file comparator.
C# · 2 人关注
bibtex.net
BibTeX.NET is a .NET library for working with BibTeX files.
C++ · 2 人关注
onenote-object-model
Unofficial documentation of the component object model API of OneNote.
JavaScript · 2 人关注
RemoteShutdown
Remotely shut Windows down in case your Welcome Screen crashes.
Shell · 1 人关注
haoel-github-io
Mirror of haoel/haoel.github.io.
HTML · 1 人关注
ReproduceLiveTileIssue
PowerShell · 0 人关注
1drv-layout
OneDrive layout and file mover. Built for sorting photos. Born in the removal of On-Demand Sync for OneDrive.
SMT · 0 人关注
cse507-boolector
Forked from https://github.com/Boolector/boolector
0 人关注
fork-heshijun_v_360
见 saved 分支
Python · 0 人关注
i7h
【i18nglish】自动i18n!
TypeScript · 0 人关注
immersive-translate-backup
Backup of https://github.com/immersive-translate/immersive-translate.
C++ · 0 人关注
mem-layouts-binary-search
Forked from https://github.com/rlunding/alg_eng
Assembly · 0 人关注
microsoft-MD-DOS
Mirror of https://github.com/microsoft/MS-DOS
0 人关注
mirror-clash-verge
A Clash GUI based on tauri. Supports Windows, macOS and Linux.
JavaScript · 0 人关注
page-archivist.js
固定化保存互联网上的文章的小工具
0 人关注
PowerShell-HelpFile-Bug
For reporting a bug in PowerShell updatable help files produced on 2025-09-08.
0 人关注
ShiArthur03
C++ · 0 人关注
vecole-redux
Constructs OLE from vector-OLE. See http://eprint.iacr.org/2017/617/20170627:191617
geelaw

geelaw

🏢  UW / 博士生
V2EX 第 202505 号会员,加入于 2016-11-22 23:09:06 +08:00
今日活跃度排名 4711
求指导 .cn 域名的使用方法
站长  •  geelaw  •  2025-01-03 09:27:51 AM  •  最后回复来自 fenglangjuxu
10
在 V2EX 摸鱼引出的密码学研究,论文终于出版了,感谢一下 @sillydaddy
  •  33   
    分享创造  •  geelaw  •  2024-07-19 16:55:56 PM  •  最后回复来自 good1uck
    90
    Clubhouse 真的很像不久以前我测试过的一个 app
    分享发现  •  geelaw  •  2021-06-25 16:12:06 PM  •  最后回复来自 nullcoder
    9
    C# 泛型、duck typing、高效枚举
    C#  •  geelaw  •  2020-09-28 04:59:01 AM  •  最后回复来自 good1uck
    1
    HTML 里的“词边界”
    分享发现  •  geelaw  •  2020-02-25 05:22:00 AM  •  最后回复来自 geelaw
    3
    如何自动化“固定到任务栏”
    分享创造  •  geelaw  •  2020-02-14 19:00:25 PM  •  最后回复来自 ysc3839
    4
    geelaw 最近回复了
    2 小时 22 分钟前
    回复了 passive 创建的主题 问与答 为什么 AI 写 TeX 不行?
    @passive #6 应该说本来就很困难,在传统环境下,行末注释前是否有空格,只在最后一个 token 是控制字符或非控制序列的时候才有意义,并且在 expl 语法下空格是忽略字符,因此以后会越来越倾向于注释前有空格。

    注释和之前的内容之间有被忽略的空格比较符合(代码)排版习惯——这样看起来比较舒服。
    6 小时 8 分钟前
    回复了 passive 创建的主题 问与答 为什么 AI 写 TeX 不行?
    @passive #4

    >总是在行尾注释前加一个空格

    这有可能是某些底层编程技巧过拟合的结果……请参考:

    \def\FutureSetToOne#1#2{%
    #2=1%
    #1%
    }% ^^^ 错误
    \newcount\mycount
    \FutureSetToOne 2\mycount
    % ^^^ \mycount=12 并且不排版任何内容

    \def\FutureSetToOne#1#2{%
    #2=1 % <-- 这个空格确保 TeX 停止解析数字
    #1%
    }% ^^^ 正确
    \newcount\mycount
    \FutureSetToOne 2\mycount
    % \mycount=1 并且排版 2
    7 天前
    回复了 gxwow 创建的主题 Apple Safari 如何打开 Wi-Fi 登陆验证界面?
    输入网址 msftconnecttest.com/redirect

    这个是微软的 NCSI 域名,不会使用 HTTPS 。我不知道 Apple 的 NCSI 域名,但你可以搜索这个关键词发现可能的答案。
    英文版里搜索 environment 就可以看到两个链接,一个是编辑系统环境变量的,另一个是编辑用户环境变量的。在“开始”菜单里搜索 environment 也有。大概中文版也可以搜索 environment 或者“环境变量”找到。

    另外这样打开不需要经过 sysdm.cpl (高级系统设置)提权的步骤,即使当前用户不是管理员也可以用。用命令打开的话:

    rundll32 sysdm.cpl,EditEnvironmentVariables
    26 天前
    回复了 ysxb1145 创建的主题 Windows win11 24H2 关机不彻底
    试一试:打开 Settings ,点 Accounts ,点 Sign-in options ,关闭 Automatically saved my restartable apps and restart them when I sign back in

    另外的提示:还可以关闭 Use my sign-in info to automatically finish setting up after an update
    推荐调用 DwmSetWindowAttribute 函数去掉显示图片的窗口的圆角,毕竟图片本身是普通矩形

    https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute

    // 从这个版本开始 DWM 会自作主张加上圆角
    if ((GetVersion() >> 16) >= (DWORD)22000)
    {
    DWM_WINDOW_CORNER_PREFERENCE dnr = DWMWCP_DONOTROUND;
    DwmSetWindowAttribute(hwnd, DWMWA_WINDOW_CORNER_PREFERENCE, &dnr, sizeof dnr);
    }
    @SingeeKing #3 我解读的他的意思是:删除了 .DS_Store 文件之后 git add . 还是无法把删除的事实记录到 staged 。

    #1 的第二个问题已经提示了可能他删除 .DS_Store 和 Finder 重建 .DS_Store 和 git add . 的扫描之间有竞态条件,但是他似乎比较喜欢和大家玩 psychic debugging 游戏。

    另外,无论 .gitignore 是否忽略 .DS_Store ,用 git add . 都是可以发现在 staged/index 里的 .DS_Store 文件已经从 working tree 删除的情况的。
    欢迎来到 psychic debugging session 。

    第一个问题:你试过找到一个仓库里有的 .DS_Store ,然后在那个目录下 git rm -f ./.DS_Store 再 git commit 再 git push 吗?

    第二个问题:你试过关掉 Finder ,再删除 .DS_Store ,再 git add . 再 git commit 再 git push 吗?

    第三个问题:想没想过给出程序的输出会更容易调试问题呢?
    36 天前
    回复了 DinoStray 创建的主题 Chrome 2026 年了,在 chrome 保存密码还安全么
    所以答案取决于如何理解“安全”,按照“在模型下满足模型里的约束”的定义,当然是安全的。
    36 天前
    回复了 DinoStray 创建的主题 Chrome 2026 年了,在 chrome 保存密码还安全么
    Windows 的安全模型里,可执行程序没有身份,最细的权限粒度基本上就是“用户”(会话、窗口站点、桌面基本上和用户这一套是正交的),如果用户 A (人)用用户 B ( Windows 权限控制模型的对象)的身份运行程序 C ,那么 C 可以访问所有用户 B 的信息。

    可执行程序没有身份,所以不存在加密方式,使仅某个可执行程序可以解密。所谓 app-bound encryption 只是让恶意软件需要绕路(实际上解密的进程是以用户 SYSTEM 的身份运行的,并检查请求解密的进程是 Chrome ),并不能从权限模型上禁止恶意软件。绕过方法很简单:用户 B 当然是有权限调试用户 B 的进程的,因此恶意软件以用户 B 的身份启动后,只需要调试用户 B 的 Chrome 即可注入任意代码,包括“解密之后发送出去”这种代码,此时 SYSTEM 身份的进程会认为请求解密的程序是 Chrome ,所以会同意。

    实际上,要给用户 B 身份的非 app container 的应用程序注入代码非常简单,因为 shell 是可扩展的,只要注册一个 shell 扩展,那么在用户使用“打开”“保存”这类对话框的时候就很可能会加载此扩展。

    预防针提示:Windows 8 引入的 app container 只能确保 container D 不能干扰 container D 之外的东西,不能确保用户 B 不能干扰它的 containers 。
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5487 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 03:19 · PVG 11:19 · LAX 19:19 · JFK 22:19
    ♥ Do have faith in what you're doing.