Skip to content

Instantly share code, notes, and snippets.

@Eunknight
Eunknight / phrases.ini
Created April 8, 2026 06:13 — forked from tualatrix/phrases.ini
搜狗拼音输入法--自定义短语配置文件 for Mac,放在 /Library/Input Methods/SogouInput.app/Contents/Resources/phrases.ini 下即可
; 搜狗拼音输入法--自定义短语配置文件
;
; 说明:
; 1、自定义短语支持多行、空格、指定位置。
; 2、每条自定义短语最多支持30000个汉字,总共支持100000行内容。
; 3、自定义短语的格式如下:
;
; 单行的格式:
; 字符串+英文逗号+数字(指定排序位置)=短语
;
New-Item "HKCU:\Control Panel\Input Method\Hot Keys\00000010" -Force | Out-Null
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000010" "Key Modifiers" ([byte[]](0x00,0xC0,0x00,0x00))
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000010" "Virtual Key" ([byte[]](0xFF,0x00,0x00,0x00))
New-Item "HKCU:\Control Panel\Input Method\Hot Keys\00000070" -Force | Out-Null
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000070" "Key Modifiers" ([byte[]](0x00,0xC0,0x00,0x00))
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000070" "Virtual Key" ([byte[]](0xFF,0x00,0x00,0x00))
New-Item "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000010" -Force | Out-Null
Set-ItemProperty "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000010" "Key Modifiers" ([byte[]](0x02,0xC0,0x00,0x00))
@Eunknight
Eunknight / eslint.config.mjs
Created November 12, 2024 01:32 — forked from aolyang/eslint.config.mjs
config vue3 eslint use "eslint9.x flat config" feature
import { builtinModules } from "module"
import { fixupConfigRules } from "@eslint/compat"
import jsLint from "@eslint/js"
import stylistic from "@stylistic/eslint-plugin"
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"
import pluginSimpleImportSort from "eslint-plugin-simple-import-sort"
import vueLint from "eslint-plugin-vue"
import globals from "globals"
import tsLint from "typescript-eslint"