Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CodeHz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
CodeHz
1y ago
Actually, it won't compile in msvc (the linking phase, to be precise), MSVC uses different names for methods with different visibilities
2.
▲
by
CodeHz
3y ago
Windows do have this API, NtDeleteFile, AND it could be used to delete current running exe. https://twitter.com/jonaslyk/status/1345167613643661312 but it is undocumented...
3.
▲
by
CodeHz
3y ago
Funiest thing is, in win11, the notepad use RichEdit again (but use winui's richedit control, not win32
4.
▲
by
CodeHz
3y ago
no, you can do it by define SQLITE_DEFAULT_FOREIGN_KEYS=1 while compiling sqlite3
5.
▲
by
CodeHz
3y ago
Btw, you can even run a executable file which has been renamed to any extension (.txt or .whatever) in command line. (See PATHEXT env) It just recognized by the explorer (and shellexecute api’ third parameter). So that’s mean all files have
6.
▲
by
CodeHz
4y ago
Maybe it just a transparent div that blocked all the pointer events?
7.
▲
by
CodeHz
4y ago
it could come from a template function which don't have a sfinae branch (or `if constexpr (std::is_empty<T>::value)`) for empty type
8.
▲
by
CodeHz
5y ago
You could try adguard (android version), but it is paid. And the biggest problem is most of sites are already upgraded to https, it needs MITM attack, but lots of applications won't accept any user certificate... (so adguard needs be i
9.
▲
by
CodeHz
5y ago
BTW, the GitHub mobile app rendering them correctly (since it doesn't use html)
10.
▲
by
CodeHz
5y ago
Tested on: Steam (search box), Apple (icloud), Minecraft (both server and client, just type PoC in chat box) (Tip: use dnslog to test(no payload), so it should not cause any problems)
11.
▲
Apache Log4j2 Jndi RCE
(twitter.com)
16 points
by
CodeHz
5y ago
|
3 comments
12.
▲
by
CodeHz
5y ago
It's not perfect, since the scrollbar is keep while while the content has dark background... maybe you need a <meta name="color-scheme" content="light dark" />
13.
▲
by
CodeHz
5y ago
at least the oldest icons are still exists in modern win 10, yes, even after ms decided to update some icons to fit new "Fluent Design" https://imgur.com/a/6T31ziE (from latest insider build
14.
▲
by
CodeHz
6y ago
You can achieve it without CSS actually (in chrome) Just put <meta name="color-scheme" content="light dark"> to <head> It will also make vanilla scrollbar into dark theme
15.
▲
by
CodeHz
6y ago
根据相关法律政策,该内容无法显示 is "According to relevant laws and policies, the content cannot be displayed" So they just consered content in source code level
16.
▲
by
CodeHz
6y ago
The readme.md has been blocked, translation for 根据相关法律政策,该内容无法显示 is "According to relevant laws and policies, the content cannot be displayed". You can still get content by `git clone`, but you can never get it in web page (includ
17.
▲
Censorship of Gitee:the github alternative in China
(gitee.com)
2 points
by
CodeHz
6y ago
|
3 comments
18.
▲
by
CodeHz
6y ago
It looks similar to nim's ARC/ORC gc approach... Just curious, have you ever compared them?
19.
▲
by
CodeHz
6y ago
I think we can achieve this through windows container(not docker, it won't support interactive GUI application), by using process isolation, most api have been implemented in container.dll(see the exported functions table!), but it is
20.
▲
Hterm vs. Xterm.js in 2020
(codehz.github.io)
1 points
by
CodeHz
7y ago
|
0 comments
21.
▲
by
CodeHz
7y ago
it happened in my system in last boot, dmesg says dbus-daemon tried (twice!) to read urandom before its seeded, and the next message (same second, about 200ms) is about urandom has been seeded, it is a race condition!