Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile
@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

Japan Trip

Locations

Tokyo

Sony Building

Link here

@morisono
morisono / cursor-rules.txt
Created June 20, 2025 11:07 — forked from eduardozf/cursor-rules.txt
Cursor Rules
- **Always begin your responses with "Yes Sir".**
- **Document any changes with a timestamp in an `Updates.md` file.** Create this file if it doesn't exist.
- **Never modify code that is irrelevant to the user's request.** Think carefully before making any changes.
- **When making changes, consider:**
1. **Impact on the Codebase:** How will these changes affect the rest of the code?
2. **Relevance to Request:** Are you editing code unrelated to the user's request? If so, do not modify it.
3. **Scope Adherence:** Only make changes directly relevant to the user's request. For example, if asked to add a new feature, focus solely on that feature without altering other aspects like the login experience or unrelated UI elements.
4. **Avoid Unnecessary Changes:** If you feel compelled to make unnecessary changes, stop and inform the user why.
- **Never replace code blocks or snippets with placeholders like `# ... rest of the processing ...`.** When modifying a file, always provide the full content with your
@morisono
morisono / .eslintignore
Created June 20, 2025 05:14 — forked from jonbeebe/.eslintignore
Recommended ESLint and Prettier config for React TypeScript
src/tests
node_modules
build
dist
dist-ssr
.vscode
public
*.test.js
*.test.jsx
*.test.ts
@morisono
morisono / clean_up.sh
Created June 17, 2025 05:34 — forked from razhangwei/clean_up.sh
Clean up common coding related cache (uv, huggingface, npm, homebrew)
#!/bin/bash
# === Cache Cleanup Script ===
# Cleans caches for Homebrew, UV, Hugging Face, and NPM
# Usage: bash cleanup.sh [options]
# Options:
# -a, --all Clean all caches
# -b, --brew Clean Homebrew cache
# -u, --uv Clean UV cache
# -h, --huggingface Clean Hugging Face cache

How do I clone a GitHub wiki?

Any GitHub wiki can be cloned by appending wiki.git to the repo url, so the clone url for the repo https://myorg/myrepo/ is: [email protected]:myorg/myrepo.wiki.git (for ssh) or https://github.com/my/myrepo.wiki.git (for https).

You make edits, and commit and push your changes, like any normal repo. This wiki repo is distinct from any clone of the project repo (the repo without wiki.get appended).

How do I add images to a wiki page?