V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  jfcherng  ›  全部回复第 4 页 / 共 18 页
回复总数  348
1  2  3  4  5  6  7  8  9  10 ... 18  
2022-09-09 20:38:21 +08:00
回复了 lon91ong 创建的主题 Python windows 10 下如何升级 Python 3.9.14
2022-08-23 13:18:50 +08:00
回复了 NETID 创建的主题 问与答 PHP8.1 在 1C1G 的小鸡上总是编译失败……
我的一台破爛 VPS 只有 512MB RAM 都能編譯,參考一樓的 --disable-fileinfo
2022-08-08 00:51:00 +08:00
回复了 haoliang 创建的主题 Python Python 这个 scope/block leak 我是越来越膈硬
@chenxytw #5 請問這個是什麼原理呢?
2022-08-07 12:17:34 +08:00
回复了 manyfreebug 创建的主题 Sublime Text 这是什么主题(sublime text)
color scheme 的話不曉得
2022-08-07 12:16:53 +08:00
回复了 manyfreebug 创建的主题 Sublime Text 这是什么主题(sublime text)
當人們說主題的時候,不曉得說的是 theme 還是 color scheme... 就算在 ST 論壇裡我也經常看見有人問 theme 但是實際上想問的是 color scheme...

Theme 的話,

ST 3 的 tab 本來就是那個斜角風格,可能是 soda theme 。ST 4 裡可以修改成那斜角風格,但有些功能將會不支援。

// Controls the style of file tabs for the Default, Default Dark, and
// Adaptive themes.
// Options: "rounded", "square"
// The value "angled" provides the tab style from Sublime Text 3, but is
// only compatible with the Default and Adaptive themes, and will not
// support new features like inactive pane dimming.
"file_tab_style": "rounded",
2022-07-18 19:07:51 +08:00
回复了 Dropless 创建的主题 正则表达式 正则 backtrack 请教
看這個例子或許你就懂了。嘗試用 (?>AB|ABC)D 匹配 ABCD

https://i.imgur.com/r6kWpo5.png

每個位置依然都會做為匹配的起點來進行測試。
2022-06-25 02:33:02 +08:00
回复了 wdc63 创建的主题 正则表达式 求给生成一个正则表达式,年龄大了,脑子不够用了
如樓樓上所說的,不解釋的話你很可能得花很多時間才能看懂在寫什麼,或是根本看不懂。
https://regex101.com/r/yKSTiy/1
2022-05-29 07:10:10 +08:00
回复了 RRyo 创建的主题 问与答 github 主页 Following 的 github-actions(bot)可以隐藏吗?
不要 watch 該 repo 的 release?
2022-05-21 14:36:17 +08:00
回复了 LeeReamond 创建的主题 问与答 Sublime text 或者 vscode 有支持 markdown 预览效果的插件吗。。
Sublime 必須依賴外部瀏覽器,個人只推薦 https://packagecontrol.io/packages/MarkdownPreview
如果你不寫 ordered list, table 或是其他更 fancy 的東西,那麼可以用 https://packagecontrol.io/packages/MarkdownLivePreview 靠 ST 自己的 miniHTML 渲染。
2022-05-07 11:53:40 +08:00
回复了 LxnChan 创建的主题 程序员 Microsoft Authenticator 的备份如何从 iOS 设备转移到 Android 设备?
bitwarden 的 TOTP 不是付費功能麼?
2022-04-24 01:05:20 +08:00
回复了 Richard14 创建的主题 Python 用 VS Code 和 Sublime Text 写 Python 哪个更合适?
私底下我偷用 pylance , 不過在 ST 上差距不大,intellicode 沒法用, extract variable/method 在早期的時候能用,後來該功能的實作好像被移到另一個插件了(懷疑是在 ms-python.python 裡),就沒法用了。優點只剩下 semantic highlighting, 自帶某些 stubs, 和函數補全可以自動加上括號。
2022-04-24 01:00:36 +08:00
回复了 Richard14 创建的主题 Python 用 VS Code 和 Sublime Text 写 Python 哪个更合适?
另一個可能性是修改下面的設定

// Allows a user to override the severity levels for individual diagnostics.
// @see https://github.com/microsoft/pyright/blob/master/docs/configuration.md#type-check-diagnostics-settings
"python.analysis.diagnosticSeverityOverrides": {
"reportDuplicateImport": "warning",
"reportImplicitStringConcatenation": "warning",
"reportMissingParameterType": "none",
"reportImportCycles": "warning",
"reportUnboundVariable": "warning",
"reportUninitializedInstanceVariable": "none",
"reportUnusedClass": "information",
"reportUnusedFunction": "information",
"reportUnusedImport": "information",
"reportUnusedVariable": "information",
},

不過這能改的東西就很多了,可以自己去連結裡查閱,我就沒有全部列在 settings 裡了,只在 default settings 寫了比較常用的幾個。
2022-04-24 00:57:53 +08:00
回复了 Richard14 创建的主题 Python 用 VS Code 和 Sublime Text 写 Python 哪个更合适?
@Richard14 #16 Hmm... settings 沒有很長,看下應該就能猜出來

"python.analysis.typeCheckingMode": "off",
2022-04-15 11:04:51 +08:00
回复了 iqoo 创建的主题 程序员 electron 应用有什么好的调试工具吗?
先試試 ctrl + shift + i
@secondwtq #62 哈,確實 array_fill 先 pre-allocate 再賦值更快
@secondwtq #45 要搞 micro optimization 的話... array_push($arr, $val) 改 $arr[] = $val; 少了 function call 就能快上不少,畢竟只在做這件事情...
2022-04-09 13:07:25 +08:00
回复了 ursash 创建的主题 程序员 udemy 上的课无法截图,是怎么做到的?
@documentzhangx66 #11 你這個是免費的課...
2022-04-09 12:43:40 +08:00
回复了 ursash 创建的主题 程序员 udemy 上的课无法截图,是怎么做到的?
https://github.com/r0oth3x49/udemy-dl#warning 以前用的 Udemy 下載器也棄療了
2022-04-09 12:40:07 +08:00
回复了 ursash 创建的主题 程序员 udemy 上的课无法截图,是怎么做到的?
@documentzhangx66 #8 這個預覽不會,但貌似非公開的會黑屏...
1  2  3  4  5  6  7  8  9  10 ... 18  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5834 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 76ms · UTC 06:12 · PVG 14:12 · LAX 23:12 · JFK 02:12
Developed with CodeLauncher
♥ Do have faith in what you're doing.