Last active
September 25, 2022 07:54
-
-
Save palmin/26a9d24553144cc253e64c30f7a5bd31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"weather": { | |
"body": ["curl 'https://wttr.in/?0'\n"], | |
"description": "Weather from terminal" | |
}, | |
"external-ip": { | |
"body": ["dig @resolver4.opendns.com myip.opendns.com +short\n"], | |
"description": "Lookup external IP" | |
}, | |
"30-day-old-files": { | |
"body": ["find . -mtime +30 -print", ""], | |
"description": "Find all files older than 30 days" | |
}, | |
"git-top-committers": { | |
"body": ["git shortlog -sn --all --no-merges\n"], | |
"description": "Top Git committers" | |
}, | |
"sudo-last-command": { | |
"body": ["sudo !!\n"], | |
"description": "Repeat last command as superuser" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment