刚发现 ruby 的 if 判断后面可以加 then

用 ruby 11年了才刚发现,还是看源代码发现的:https://github.com/ruby/ruby/blob/0aa404b9573d028d87072f40ecb9b86dc161b7ef/yarp/yarp_compiler.c#L208C9-L208C9 写惯了vb一直对ruby、python的if后面没有then而耿耿于怀,写完if条件后总觉的少了点什么。原来ruby一直是有的,错过了11年。
Ruby | 2023-08-31 11:40 | 阅读 1213 次 | 评论 0 条

firefox88 的 userChrome.css 备份

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #urlbar[breakout], #urlbar[breakout][breakout-extend] { --urlbar-height: 30px !important; --urlbar-toolbar-height: 30px !important; width: 100% !important; top: 5px !important; left: 0 !important...
Windows | 2023-08-08 05:37 | 阅读 699 次 | 评论 0 条

firefox 打不开“浏览器工具箱”的解决办法

在地址栏输入:about:support 在“配置文件夹”一栏打开右侧的“打开文件夹” 删除文件夹中的“chrome_debugger_profile” 重启浏览器 按快捷键 “Ctrl + Shift + Alt + I”
Windows | 2023-08-08 05:33 | 阅读 927 次 | 评论 0 条
浏览2800803次
文章归档