function repology() {
curl -L --user-agent 'hackernews' \
"http://repology.org/api/v1/project/$@"
} ps aux | grep nginx | grep root | grep -v grep
can be done instead (from memory, not at a Linux machine ATM): ps -u root -C nginx
which is arguably better than their solution: psc 'process.name == "nginx" && process.user == "root"'