Hacker News new | ask | show | jobs
by tannercollin 1633 days ago
Nice work, Philipp! I wrote something similar at: https://notica.us

I didn't write an app, however. I rely on the browser notification API which doesn't have the best support on mobile unfortunately. It works great on desktop.

My inspiration was the same though. I do most of my work over ssh, and wanted a local desktop notification when a slow command was finished running.

2 comments

Nice. Indeed quite similar. Great minds think alike hehe.

All of your examples include a "!", which is a special character in bash. Sure that works without quoting?

to save you the trouble of finding out for your self: yes, it works (! is not that special)
I eventually have to figure out what ! does. In my she'll it always leads to errors about some events and whatnot. I shall Google and find out ;-)
Oh wow ! is quite powerful. Some of these bang commands are quite questionable, but hey... Like !12 runs the 12th command from the bash history. That's seems super dangerous to me.
Here's a good collection of tricks like that:

https://github.com/jlevy/the-art-of-command-line

Oh man I just found your other project: https://github.com/tannercollin/t0txt

I last have a command line pastebin called pcopy, which I host on https://nopaste.net

Great minds, I'm telling ya, great minds.

Oh wow, and your pcopy / ppaste combo is a similar set up to my other project, https://reg.t0.vc

I use it like this:

  cat example.txt | push
  pull > example.txt
Maybe we are long-lost brothers!