Live data from Hacker News

macOS users: what have you installed with brew?

news.ycombinator.com

21–30 of 32 posts

Re: macOS users: what have you installed with brew?

#22
my brew list command gives:

abseil gmp libunistring p11-kit sqlite

autoconf gnutls libuv pcre2 typescript

bdw-gc guile libyaml pkg-config unbound

brotli icu4c lz4 protobuf wget

c-ares jansson m4 python@3.11 xz

ca-certificates libevent mpdecimal rbenv youtube-dl

cmake libidn2 nettle readline yt-dlp

gdbm libnghttp2 node ruby-build zstd

gettext libtasn1 openssl@1.1 rust

git libtool openssl@3 sbcl

even better I just learned from this thread:

brew leaves gives:

cmake

gdbm

git

gnutls

guile

jansson

protobuf

rbenv

rust

sbcl

typescript

wget

youtube-dl

yt-dlp

Re: macOS users: what have you installed with brew?

#23
My favorite would be modernCSV since I look at CSVs all day

Also I found this cool brew bash function i thought i share this here

brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.[0-9] files, \(.\)).$/{} \1/'" | \ sort -h -r -k2 - | column -t }

This allows you to view how much space each package is taking

Re: macOS users: what have you installed with brew?

#24
post #23

My favorite would be modernCSV since I look at CSVs all day Also I found this cool brew bash function i thought i share this here brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^. [0-9] files, \(. \)). $/{} \1/'" | \ sort -h -r -k2 - | column -t } This allows you to view how much space each package is taking

it seems to be missing a quote somewhere, it gives the bash continuation prompt

Re: macOS users: what have you installed with brew?

#25
post #23

My favorite would be modernCSV since I look at CSVs all day Also I found this cool brew bash function i thought i share this here brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^. [0-9] files, \(. \)). $/{} \1/'" | \ sort -h -r -k2 - | column -t } This allows you to view how much space each package is taking

it seems to be missing a quote somewhere, it gives the bash continuation prompt

brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.[0-9] files, \(.\)).$/{} \1/'" | \ sort -h -r -k2 - | column -t }

Maybe try now

Re: macOS users: what have you installed with brew?

#26
post #25

Earlier quoted context omitted.

it seems to be missing a quote somewhere, it gives the bash continuation prompt

brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^. [0-9] files, \(. \)). $/{} \1/'" | \ sort -h -r -k2 - | column -t } Maybe try now

Nope, no luck.

But strangely, your comment is rendering with a couple of spans of italics. Here is a paste, with "i" tags and "" marking the odd rendering I see:

brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.[0-9] files, \(.\)).$/{} \1/'" | \ sort -h -r -k2 - | column -t }

is HN consuming your markup unexpectedly ?

Re: macOS users: what have you installed with brew?

#27
post #25

Earlier quoted context omitted.

brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^. [0-9] files, \(. \)). $/{} \1/'" | \ sort -h -r -k2 - | column -t } Maybe try now

Nope, no luck. But strangely, your comment is rendering with a couple of spans of italics. Here is a paste, with "i" tags and " " marking the odd rendering I see: brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^. [0-9] files, \ (.\ )) .$/{} \1/'" | \ sort -h -r -k2 - | column -t } is HN consuming your markup unexpectedly ?

That could be the reason

https://paste.sh/pHKSPU4w#EAjzygEb4qLQwNmFxqRcQNBO

I have added the function to the paste link

Re: macOS users: what have you installed with brew?

#28
post #27

Earlier quoted context omitted.

Nope, no luck. But strangely, your comment is rendering with a couple of spans of italics. Here is a paste, with "i" tags and " " marking the odd rendering I see: brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^. [0-9] files, \ (.\ )) .$/{} \1/'" | \ sort -h -r -k2 - | column -t } is HN consuming your markup unexpectedly ?

That could be the reason https://paste.sh/pHKSPU4w#EAjzygEb4qLQwNmFxqRcQNBO I have added the function to the paste link

Works! Cheers.

Re: macOS users: what have you installed with brew?

#29
macOCR - macOCR is a command line app that enables you to turn any text on your screen into text on your clipboard. When you envoke the ocr command, a "screen capture" like cursor is shown. Any text within the bounds will be converted to text.

You can install it w/ brew install schappim/ocr/ocr

[1] https://github.com/schappim/macOCR

Post reply on HN