useful for applications that need to run scripts as root
(default ubuntu)
/usr/bin/pkexec --disable-internal-agent /bin/echo 'foo'| #!/bin/bash | |
| # | |
| # Start mosh-server, but first create a port redirection in the NAT | |
| # router (with UPnP) and delete that redirection again just before | |
| # mosh-server exits. | |
| # | |
| # Created: 20 Sep 2012 | |
| # Author: Bert Bos <[email protected]> | |
| # original: https://www.mail-archive.com/[email protected]/msg00103/mosh-server-upnp | |
| # tweaked to reference /usr/bin/mosh-server directly |
| git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*\((.*?)\s*[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |