Shin
@absszero
22Friends 16Fans
Karma61.75
male
Shin
5 months ago @Edit 5 months ago
Safari 好奇怪。 我可以在動態產生一個 anchor 元素並且 click, 但是在 Safari 不行,一定要塞進 DOM 才有作用。
Shin
5 months ago
最近在補 API 文件,發現一個叫做 "treviFountain" 的 API

特雷維噴泉 - 維基百科,自由的百科全書
Shin
6 months ago
sqlite json_extract 的似乎是 type sensitive,
所以在 bind 變數的時候,如果遇到是數值欄位,需要用 DB::raw() 的方式避免數值被雙引號變成字串而找不到
Shin
6 months ago
js regex greedy 的時候,表達式變成有狀態,事情開始超出我的預期....

Why does Javascript's regex.exec() not always return...
Shin
6 months ago
Element.closest() 原生好用!

Element.closest() - Web API 接口参考 | MDN
Shin
6 months ago @Edit 6 months ago
You can use double colons ( :: ) to cast a DATETIME value to a DATE value as shown below:

SELECT now() :: date;

Understanding PostgreSQL Date Formats and Formatting...
Shin
6 months ago
一天學了兩個詞
upsert:update + insert
portmanteau: 混合詞

SQL中的Upsert:什么是Upsert,何时应该使用Upsert? - 墨天轮
Shin
6 months ago
覺得近期有機會用到的...
命名參數, nullsafe, match

PHP8 都有哪些新功能,说说PHP8的新增特性 | Laravel China 社区
Shin
6 months ago
偶然看到 Laravel 10 使用這個 PHP match

PHP: match - Manual