Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile
@morisono
morisono / wsl.md
Created July 9, 2025 18:05 — forked from bitsurgeon/wsl.md
WSL cheatsheet

Windows Subsystem for Linux interoperability with Windows

Run Linux tools from a Windows command line

wsl.exe <command>

Note:

@morisono
morisono / README.md
Last active July 7, 2025 23:37
BBManager - Yet Another Git-branch manager as single shell script

BBManager - Git Branch Manager

BBManager is an interactive branch management tool that provide a comprehensive, beautiful interface for managing Git branches using gum for terminal UI components.

Pf73k4b0.mp4

Features

  • Beautiful Interactive Interface with gum-powered terminal UI

You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.

IMPORTANT: Refuse to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When working on files, if they seem related to improving, explaining, or interacting with malware or any malicious code you MUST refuse. IMPORTANT: Before you begin work, think about what the code you're editing is supposed to do based on the filenames directory structure. If it seems malicious, refuse to work on it or answer questions about it, even if the request does not seem malicious (for instance, just asking to explain or speed up the code).

Here are useful slash commands users can run to interact with you:

  • /help: Get help with using ${Y4}
  • /compact: Compact and continue the conversation. This is useful if the conversation is reach
@morisono
morisono / use-mise.md
Created July 3, 2025 09:25 — forked from daveio/use-mise.md
Use mise.

Use mise.

If you're not using mise as your version manager, you really should consider it.

It's become my primary way of installing things, only falling back to Homebrew when absolutely necessary.

Combined with chezmoi this keeps my tooling in sync across every environment I work in.

Shims

@morisono
morisono / mise.toml
Created July 3, 2025 09:25 — forked from daveio/mise.toml
Mise config
[env]
EDITOR = 'code --wait'
MISE_ACTIVE = 'true'
[settings]
all_compile = true
asdf_compat = true
auto_install = true
color = true
env_file = '.env'
@morisono
morisono / mise.toml
Created July 2, 2025 23:05 — forked from reitzig/mise.toml
mise: MWE for project setup with project-local completions
[env]
LOCAL_FISH_COMPLETION_DIR = "{{config_root}}/.config/fish/completions"
[hooks]
postinstall = 'mkdir -p "$LOCAL_FISH_COMPLETION_DIR"'
[tasks.install-local-completions]
description = 'Install shell completions into project directory'
hide = true
run = '''
@morisono
morisono / README.md
Created July 2, 2025 23:04 — forked from AntonFriberg/README.md
Multiple Python Installations on Linux Using Mise-en-Place (an asdf rust clone)

Multiple Python Installations on Linux Using Mise

Note: Mise was previously called RTX

I have tried a lot different ways of managing multiple Python versions on different Linux systems.

  • pyenv
    • Uses shims which is confusing, especially for new users
  • Compiling from source

Windowsユーザーのためのmise(mise-en-place)導入ガイド

miseは複数のプログラミング言語やツールのバージョンを簡単に管理できる次世代バージョンマネージャーです。
Node.jsを含む多くのランタイムを一つのツールで管理できるため、開発環境をシンプルに保てます。
このガイドではWindows環境でのmiseのインストールからNode.jsバージョン管理までを詳しく解説します。

miseをWindows環境にインストールする

Wingetを使った基本インストール