手順をメモしておきます。
-
テキストエディタ等で userChrome.css を作成する。
-
Firefoxのアドレスバーに about:profiles と入力し、現在使用中のプロファイルフォルダを開く
#!/usr/bin/env nu | |
let custom_themes = ([$nu.default-config-dir "themes"] | path join) | |
# ─[ basic themes ]───────────────────────────────────────────────────────── | |
# these themes are useable across different terminal color schemes, without | |
# needing to make any adjustments on the fly. | |
let dark_theme = { | |
# color for nushell primitives |
#!/usr/bin/env zsh | |
# shellcheck shell=bash | |
whisper-stream \ | |
-m ~/tools/llm-models/ggml-large-v3-turbo.bin \ | |
-l ja \ | |
-t 4 \ | |
--step 1000 \ | |
--length 6000 \ | |
--keep 300 \ | |
--vad-thold 0.9 \ |
#!/usr/bin/env zsh | |
# shellcheck shell=bash | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <YouTube-URL> [language]" | |
exit 1 | |
fi | |
URL="$1" | |
LANG="${2:-en}" # default to English if no second argument is given |
# shellcheck shell=bash | |
# ==== Private credentials (never commit these) ================================ | |
[ -f $HOME/.zshrc.local ] && source $HOME/.zshrc.local | |
# Add in zsh plugins | |
source $HOMEBREW_PREFIX/opt/zinit/zinit.zsh | |
zinit light zsh-users/zsh-syntax-highlighting | |
zinit light Aloxaf/fzf-tab |
# Nushell Config File | |
# | |
# version = "0.95.0" | |
# For more information on defining custom themes, see | |
# https://www.nushell.sh/book/coloring_and_theming.html | |
# And here is the theme collection | |
# https://github.com/nushell/nu_scripts/tree/main/themes | |
let dark_theme = { | |
# color for nushell primitives |
format = """ | |
$os\ | |
$username\ | |
$hostname\ | |
$kubernetes\ | |
$directory\ | |
$git_branch\ | |
$git_status\ | |
$fill\ | |
$time\ |
prSections: | |
- title: My Pull Requests | |
filters: is:open author:@me | |
- title: Needs My Review | |
filters: is:open review-requested:@me | |
- title: Involved | |
filters: is:open involves:@me -author:@me | |
issuesSections: | |
- title: My Issues | |
filters: is:open author:@me |
// -- Utilities -- | |
const unmapKeys = (keys) => keys.forEach((key) => api.unmap(key)); | |
const iunmapKeys = (keys) => keys.forEach((key) => api.iunmap(key)); | |
const escapeMap = { | |
"&": "&", | |
"<": "<", | |
">": ">", | |
'"': """, | |
"'": "'", | |
"/": "/", |
disableStartupPopups: true | |
gui: | |
nerdFontsVersion: "3" | |
filterMode: "fuzzy" | |
showRandomTip: false | |
showCommandLog: false | |
language: "en" | |
git: |