Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile

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を使った基本インストール

@morisono
morisono / README.md
Last active June 30, 2025 13:05 — forked from noraj/README.md
Install Firefox Developer Edition

Install Firefox Developer Edition

This script intend to provide an automatic installation of Mozilla Firefox Developer Edition for x86_64 Linux distros.

Firefox Developer Edition

Firefox Developer Edition is installed to /opt/firefox-dev/.

Note:

  • Default language is en-US, feel free to manually change it in the script.
:: Run from PS using:
:: powershell -executionpolicy bypass -File .\windows_winget_freshinstall.ps1
:: Install winget (from Windows Store, or..)
:: (for instructions for Windows sandbox)
$progressPreference = 'silentlyContinue'
Write-Information "Downloading WinGet and its dependencies..."
Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx