Last active
April 5, 2017 22:56
-
-
Save scumola/dd6a0f40c1a6a79486e14bc5b9996bd1 to your computer and use it in GitHub Desktop.
description
This file contains hidden or 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
[[snippets]] | |
description = "Get my public IP" | |
command = "curl ifconfig.co" | |
output = "" | |
[[snippets]] | |
description = "Check SSL start and end dates" | |
command = "echo | openssl s_client -connect badcheese.com:443 2>/dev/null | openssl x509 -dates -noout" | |
output = "" | |
[[snippets]] | |
description = "prune files in /tmp" | |
command = "cd /tmp && find . -mtime +30 | xargs rm" | |
output = "" | |
[[snippets]] | |
description = "SQL prune data" | |
command = "delete from irclog where TO_DAYS(NOW()) - TO_DAYS(day) >= 100" | |
output = "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment