摘要: 官网:https://scoop.sh/#/ 文档:https://github.com/ScoopInstaller/Scoop/wiki winndows 上的一个应用商店,方便安装软件。 使用管理员权限打开 powershell,输入一下命令: Set-ExecutionPolicy -Exe 阅读全文
posted @ 2024-08-02 22:53 灵火 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 使用 CMD(命令提示符)输入 set 即可查看电脑上的所有环境变量。 # 常用环境变量 %APPDATA% C:\Users\Administrator\AppData\Roaming %LOCALAPPDATA% C:\Users\Administrator\AppData\Local %USE 阅读全文
posted @ 2024-08-02 21:32 灵火 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 使用管理员权限打开 powershell,输入以下命令: 卸载命令 winget uninstall MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy 安装命令 winget install 9MSSGKG348SP 阅读全文
posted @ 2024-08-01 21:49 灵火 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 安装 code-runner 插件,然后前往 settings.json 配置里添加或修改以下相关信息,然后就可以直接右键 Run Code 并使用当前 conda 环境里的 python 来运行脚本了 { "code-runner.executorMap": { "python": "$pytho 阅读全文
posted @ 2024-07-30 23:41 灵火 阅读(16) 评论(0) 推荐(0) 编辑
摘要: let jsonObj = [{ "Name": "test" "Attach": "www!@#$%^&*(){}|:\"<>?,./;'[]\\" }] let html = jsonObj.map((i, v) => { let jsonStr = JSON.stringify(jsonObj 阅读全文
posted @ 2024-07-30 17:15 灵火 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 通义灵码 https://tongyi.aliyun.com/lingma 文心快码 https://comate.baidu.com/zh?inviteCode=i1573l5q Sourcegraph https://sourcegraph.com/ Tabine https://www.tab 阅读全文
posted @ 2024-07-20 20:00 灵火 阅读(12) 评论(2) 推荐(0) 编辑
摘要: Sitecore DateField 里填写的值,在 Sitecore 数据库内部保存的是 世界协调时,在使用的时候无需 ToLocalTime 来转换成服务器实例所在的时区。 演示: DateField 内部填写的值为 通过 Raw Value 可以看到值为 UTC+0: 阅读全文
posted @ 2024-06-11 15:51 灵火 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 效果如图: JS 如下: $.fn.extend({ pagination: function (opts) { // The default config const _defaultConfig = { page: 1, limit: 10, maxDisplayCount: 5, button 阅读全文
posted @ 2024-06-09 16:03 灵火 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 备份,后面做个整理 let zoneOverviewData = [] let sortFields = [] const getSortedRows = () => { let rows = [...zoneOverviewData]; const ascFields = sortFields . 阅读全文
posted @ 2024-06-05 11:00 灵火 阅读(6) 评论(1) 推荐(0) 编辑
摘要: https://huaweicloud.csdn.net/6356079bd3efff3090b58e82.html 用 powershell 输入以下命令检查是否有路径无效: ·@($env:path -split ";").ForEach({ if($_) {$result = 'MISSING 阅读全文
posted @ 2024-05-31 23:44 灵火 阅读(3) 评论(0) 推荐(0) 编辑