Skip to content

Instantly share code, notes, and snippets.

View smarchetti's full-sized avatar

Sean Marchetti smarchetti

View GitHub Profile
@smarchetti
smarchetti / tananodes_cheatsheet.md
Created February 10, 2025 16:05 — forked from mi5ty/tananodes_cheatsheet.md
Tana Cheat Sheet

%%tana%%

  • Cheat Sheet
    • ✨ Tana Expressions
      • Title #tana-expression
        • Description:: A title expression composes values from the node into a title.
        • Attributes:: Search for Tana "Title" Attributes
      • Search #tana-expression
        • Description:: The search expression consists of a flat list of match-clauses that must be true for a node to match the search.
        • Attributes:: Search for Search Attributes + Search for Search Field Values
  • 🧩 Tana Attributes
@smarchetti
smarchetti / Homebrew Zsh on Mac
Created October 16, 2024 02:48 — forked from ngocphamm/Homebrew Zsh on Mac
Notes on using Homebrew Zsh as default login shell
1. Install Zsh with Homebrew
brew install zsh
2. Add "/usr/local/bin/zsh" to "/etc/shells" file
sudo vim /etc/shells
3. Change to default login shell
chsh -s /usr/local/bin/zsh $USER
4. Make sure new version of Zsh is in active
@smarchetti
smarchetti / git-branches-by-commit-date.sh
Created February 12, 2018 19:46 — forked from mt3/git-branches-by-commit-date.sh
List remote Git branches and the last commit date for each branch. Sort by most recent commit date.
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r