Skip to content

Instantly share code, notes, and snippets.

View twoelz's full-sized avatar

Thomas Anatol da Rocha Woelz twoelz

View GitHub Profile
@twoelz
twoelz / pipex vs bash examples multiple pipes.md
Created June 10, 2025 15:52
pipex vs bash examples multiple pipes

examples 2 or 3 pipes (varied) 📦📦📦

💡 Count "foo" occurrences (word-based)
pipex:       ./pipex infile "grep -o '\\<foo\\>'" "wc -l" "cat" outfile
bash:        < infile grep -o '\<foo\>' | wc -l | cat > outfile

💡 Show lines containing "foo", sort them, and number
@twoelz
twoelz / pipex vs bash examples 1 pipe.md
Created June 10, 2025 15:51
pipex vs bash examples 1 pipe

examples 1 pipe (varied) 🧪

💡 Count lines
pipex:       ./pipex infile "cat" "wc -l" outfile
bash:        < infile cat | wc -l > outfile

💡 Search for "foo"
@twoelz
twoelz / pipex vs bash categories (edge cases).md
Created June 10, 2025 15:49
pipex vs bash categories (edge cases)

⚙️ categories 1 pipe (edge cases)

💡 Basic Functionality
pipex:       ./pipex infile "cat" "grep foo" outfile
bash:        < infile cat | grep foo > outfile

💡 Non-existent Input File
pipex:       ./pipex nonexistent.txt "cat" "grep foo" outfile
@twoelz
twoelz / pipex available commands.md
Created June 10, 2025 15:48
pipex available commands

available 🥇

🥇 Most Common / Essential Commands

Command Description
cat Concatenates and displays file content (often used as input)
grep Searches for patterns in input; often piped with cat, ls, etc.
ls Lists files; often used as a source command in pipex
echo Prints strings to standard output; great for testing
@twoelz
twoelz / 2025-02-05-failforward-codam-event.md
Last active February 6, 2025 09:57
Fail Forward event 2025-02-05

Fail Forward Night with Corinne Vigreux and Matt Welle

Important (critical)

  • recruit the co-founders
    • complementary (very very different)
    • growth mindset + no agreement (sparks)
  • let wrong people go quickly
  • go outside confort zone and events to meet people - be social. not easy.

you learn only after "you have kids"