How to break up a monorepo using git subtree:
- Set up some basic stuff:
- These should be independent, not nested
$ NEW_REPO_PATH=
$ OLD_REPO_PATH=
#!/usr/bin/python3 | |
# Script to help migrate Pylint config to Ruff. | |
# | |
# It lists enabled Pylint rules, Pylint rules that are enabled but already covered by Ruff rules, | |
# and the Ruff rules not enabled yet that match enabled Pylint rules. | |
# | |
# Largely based on https://github.com/astral-sh/ruff/issues/970 | |
import re | |
import subprocess | |
from collections.abc import Mapping, Sequence |
#!/bin/bash | |
TEST_RUN_FILE="$HOME/Downloads/alo.txt" | |
TEST_RUN= | |
round() { | |
printf '%.0f' "$1" | |
} | |
get_stats() { |
# Save the transcripts using the "Save Page WE" Chrome Extension | |
# This script was generated by ChatGPT | |
import sys | |
from bs4 import BeautifulSoup | |
# Check if a file was provided as a command line argument | |
if len(sys.argv) < 2: | |
print("Please provide an HTML file as a command line argument.") | |
sys.exit(1) |
How to break up a monorepo using git subtree:
$ NEW_REPO_PATH=
$ OLD_REPO_PATH=
This is a guide that I put together which is primarily aimed at Steam Deck enthusiasts and developers. I will be updating this over time as I think of more things to put in here.
#!/bin/bash | |
# root privilege required | |
if cd /sys/bus/platform/drivers/ehci-platform >& /dev/null; then | |
for dev in *.usb; do | |
echo -n $dev > unbind | |
echo -n $dev > bind | |
done | |
fi |
using System.Collections.Generic; | |
using DiceKingdoms.Game; | |
using DiceKingdoms.Interface; | |
using Unity.Mathematics; | |
using UnityEditor; | |
using UnityEditor.U2D; | |
using UnityEngine; | |
using UnityEngine.Experimental.Rendering; | |
using UnityEngine.U2D; | |
using Utility; |
git_protocol: ssh | |
aliases: | |
personal: '!cp ~/.config/gh/hosts.yml.personal ~/.config/gh/hosts.yml && gh auth status' | |
work: '!cp ~/.config/gh/hosts.yml.work ~/.config/gh/hosts.yml && gh auth status' |
All of these diagrams are dynamically rendered during html display by Github, the images generated from text inside the Github-Flavored Markdown. None are static images. Mermaid support was released for Github on 2022-02-14
Pros & Cons:
Notes:
B-->C[fa:fa-ban forbidden]
, hyperlink and tooltips) are supported by Github.