SATŌ Kentarō
SATŌ Kentarō
usage: ```php $msgpack = new MessagePack(); $msgpack->setOption(MessagePack::OPT_PHPONLY, false); $msgpack->setOption(MessagePack::OPT_ASSOC, false); $data = [0 => 1, 1 => 2, 2 => 3]; var_dump(bin2hex($msgpack->pack($data))); // string(8) "93010203" var_dump(bin2hex($msgpack->pack((object)$data))); // string(20) "83a13001a13102a13203" ```
I thought source sniffing will be hard if done properly. That is the reason I just added a simple CLI option to make it work for me. Though I don't...
rawurlencode()ing paths as currently do, I think, is a good way, as URL may contain any char code. But that isn't make regex escape unnecessary as it is only URL...
> a sign bit (signaling) of half-float NaN This was wrong. The bit is not for signaling.
What `autocrlf = true` does makes things worse. *.md files on working directory are in CRLF, but committing blob will be normalized to LF because files are now identified as...
@wxiaoguang I appreciate if Gitea's editor views have a EOL option or something like most offline editors do. Additionally, Gitea could have core.autocrlf per-repo setting for in-server updates. Yet, compared...
Source code says cast to json is looked up: https://github.com/postgres/postgres/blob/24e2885ee304cb6a94fdfc25a1a108344ed9f4f7/src/backend/utils/adt/json.c#L206 ```sql create function json(uint4) returns json as 'select $1::text::json;' language sql immutable returns null on null input; create cast (uint4...