annna scripts - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 3cd58c138f3641d9a5e25d0e8e686e4d276df4bb | |
parent 36cad8a633f3dc37b4f771f982e9ff8c33c66976 | |
Author: escapeinsert <[email protected]> | |
Date: Tue, 23 Feb 2021 10:38:21 -0500 | |
annna scripts | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
A chucknorris | 3 +++ | |
A darwin | 7 +++++++ | |
2 files changed, 10 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/chucknorris b/chucknorris | |
@@ -0,0 +1,3 @@ | |
+#!/bin/sh | |
+ | |
+hurl https://api.chucknorris.io/jokes/random | awk -F '"value":"' '{gsub("\"}$… | |
diff --git a/darwin b/darwin | |
@@ -0,0 +1,7 @@ | |
+#!/bin/sh | |
+ | |
+hurl https://darwinawards.com/darwin/ | \ | |
+tr ' ' '\n' | \ | |
+awk -F '"' '/https:\/\/DarwinAwards\.com\/darwin\/darwin[0-9]{4}-[0-9]{2}\.htm… | |
+sort -R | \ | |
+sed 1q |