TGViewer
Max Syabro and a Slop Driven Development Max Syabro and a Slop Driven Development @syabro_notes · 971 subscribers
Post #116 557
Интеграция ChatGPT в терминал. Пайпы - огонь.

https://github.com/TheR1D/shell_gpt

E.g.

> sgpt --shell "Calculate total lines of code for py, js and ts files in current dir and deep; exclude node_modules and migrations folders; cloc installed; in result show only code column per file type; and show as table"

cloc --exclude-dir=node_modules,migrations --include-lang=python,javascript,typescript --csv --quiet . | awk -F, '{if ($2 == "Python" || $2 == "JavaScript" || $2 == "TypeScript") print $2","$5}' | column -t -s,

[E]xecute, [D]escribe, [A]bort: e

TypeScript 118007
JavaScript 108804
Python 38825


PS Бородатый анкедот:

Разработчик новой операционной системы выходит на трибуну и, потрясая ноутбуком, говорит:
«Перед вами первая ОС, которая полностью управляется с голоса!»
Пораженная аудитория выдерживает длинную паузу, и вдруг с галерки доносятся слова:
«Format C, двоеточие, Enter».
  • 🔥 4
More from @syabro_notes
  1. Oct 6, 2026photo post
  2. Oct 5, 2026Беру авиабилеты. Инстинкт прям пиздец выручил - я ненавижу сравнивать 100500 вариантов. И…
  3. Oct 5, 2026Post #931
  4. Oct 2, 2026https://earendil.com/posts/pi-1-0/ О, а тут Pi 1.0 зарелизили Если вы в Cli и юзаете что-т…
  5. Sep 30, 2026Git Tree Compare — как смотреть диффы в worktree сравнивая с base branch и рабочим Cmd+Cli…
  6. Sep 25, 2026TLDR AX (Agent eXecutor) - оркестратор песочниц для агентов на базе Kubernetes. Для тех кт…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →