Skip to content

Instantly share code, notes, and snippets.

View itroyano's full-sized avatar

Igor Troyanovsky itroyano

View GitHub Profile
@itroyano
itroyano / syncLocalRepos.sh
Created February 20, 2025 15:10
syncLocalRepos.sh
GH_USER=itroyano
find . -maxdepth 3 -name .git -type d | rev | cut -c 6- | rev | cut -c 2- | xargs -I {} gh repo sync $GH_USER{} -b main
find . -maxdepth 3 -name .git -type d | rev | cut -c 6- | rev | xargs -I {} git -C {} pull
@itroyano
itroyano / tilt-podman-how-to.md
Last active May 16, 2024 13:44 — forked from bentito/tilt-podman-how-to.md
Hack podman to work with tilt

Following is for an M1 MacBook Pro (not sure how much that matters but)

Other specs (again, not sure how much they matter):

podman --version
podman version 5.0.1
tilt version
v0.33.12, built 2024-03-28

start Kind with a local registry. Just use the regular Kind with registry script

@itroyano
itroyano / System Design.md
Created December 9, 2021 13:54 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@itroyano
itroyano / Git setup
Last active September 14, 2022 13:34
git commands for new repo
In UI create a fork.
git clone <fork url>
git remote add upstream <url of the original repo I forked from> # Define what is the upstream
git config --global pull.rebase true # Set the local repository to rebase on pull
git branch --set-upstream-to upstream/main # Set local main to track upstream
git checkout <local branch>