Skip to content

Instantly share code, notes, and snippets.

View maxmellen's full-sized avatar
🐝

Maximilien Mellen maxmellen

🐝
  • メルカリ
  • 東京
View GitHub Profile
html {
--font-user-message: var(--font-sans-serif), 'Hiragino Maru Gothic ProN' !important;
}
.font-styrene {
font-family: var(--font-styrene-b), 'Hiragino Maru Gothic ProN', system-ui;
}
code {
font-family: 'JetBrains Mono', 'M PLUS 1 Code' !important;
.google-symbols {
font-family: 'Google Symbols' !important;
}
.google-material-icons {
font-family: 'Google Material Icons' !important;
}
.material-icons {
font-family: 'Material Icons' !important;
/* privacy.fingerprintingProtection.overrides -FontVisibilityLangPack */
* {
font-family: 'IBM Plex Sans', 'IBM Plex Sans JP', 'IBM Plex Sans TC', 'IBM Plex Sans Arabic', system-ui !important;
}
pre, pre *, code, code *,
.cm-editor, .cm-editor *,
.font-mono, .font-mono *,
.CodeMirror, .CodeMirror *,
pre, pre *, code, code *,
.cm-editor, .cm-editor *,
.font-mono, .font-mono *,
.CodeMirror, .CodeMirror *,
.blob-code-content, .blob-code-content * {
font-family: 'JetBrains Mono', 'M PLUS 1 Code', monospace !important;
}
@maxmellen
maxmellen / *インプラス!
Last active September 29, 2024 10:28
Inter + M PLUS font configuration for use with Stylus
/* privacy.fingerprintingProtection.overrides -FontVisibilityLangPack */
* {
font-family: 'Inter Variable', 'M PLUS 1', 'M+ 1p', 'Mgen+ 1c', 'Source Han Sans SC VF', sans-serif !important;
}
@maxmellen
maxmellen / *エムプラス!.css
Last active September 29, 2024 10:39
M PLUS Font Override for Stylus Extension with adjusted font metrics
/* M PLUS 1 */
@font-face {
font-family: 'mplus1';
font-weight: 100;
src: local('MPLUS1-Thin');
ascent-override: 105%;
ascent-override: 30%;
}
vim.opt.hidden = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.wrap = false
vim.opt.scrolloff = 8
vim.opt.number = true
#!/bin/bash -ex
# pgrep -l 'IM_Extension|JapaneseIM' || true
pkill -9 -l 'IM_Extension|JapaneseIM' || true
# ls -d \
rm -rfv \
~/Library/Dictionaries/{,JapaneseInputMethod/}DynamicPhraseLexicon_*.db \
~/Library/Containers/com.apple.inputmethod.{??IM,Kotoeri.*}/Data/Library/LanguageModeling/*-dynamic.lm
[
{
"key": "cmd+[",
"command": "-editor.action.outdentLines",
},
{
"key": "cmd+]",
"command": "-editor.action.indentLines",
},
{