Top two are wrong… Not a good thing. It's always the same badly written snippets that get copy-pasted across websites without anyone really understanding what it does (hence the copy/paste). > alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'" python -m SimpleHTTPServer # python 3 python -m http.server # Python 3 > extract () { /* useless stuff */ } tar xf
Alias.sh: for finding, sharing and storing bash aliases
51–55 of 55 posts
Re: Alias.sh: for finding, sharing and storing bash aliases
#52Top two are wrong… Not a good thing. It's always the same badly written snippets that get copy-pasted across websites without anyone really understanding what it does (hence the copy/paste). > alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'" python -m SimpleHTTPServer # python 3 python -m http.server # Python 3 > extract () { /* useless stuff */ } tar xf
python one works fine for me. I tried tar xf on a zip file and it didn't work?
Additionally I prefer "verb noun" form over "program noun", so I like extract. I already alias open=xdg-open (so I can type "open somefile.pdf" or "open somefile.doc", etc)
Re: Alias.sh: for finding, sharing and storing bash aliases
#53Top two are wrong… Not a good thing. It's always the same badly written snippets that get copy-pasted across websites without anyone really understanding what it does (hence the copy/paste). > alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'" python -m SimpleHTTPServer # python 3 python -m http.server # Python 3 > extract () { /* useless stuff */ } tar xf
Re: Alias.sh: for finding, sharing and storing bash aliases
#54Earlier quoted context omitted.
Some mates of mine threw this together, and the first thing I told them was that someone on HN would complain about the colour scheme
We have a user voice account, we're posting on here looking for some useful feedback.
Re: Alias.sh: for finding, sharing and storing bash aliases
#55Earlier quoted context omitted.
We have a user voice account, we're posting on here looking for some useful feedback.
I'm guessing you changed it since this feedback, but I really like the current color scheme. The lighter-grey bubbles around the actual code do a nice job directing focus to the important bits.