summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-20 04:36:05 -0500
committerJune McEnroe <june@causal.agency>2020-02-20 04:36:05 -0500
commitda276ef06f5fff5b6732501e48a7925a70875dcc (patch)
treea4afd455fcc20af4f857b1508604ca21e1182dcf /home
parentAdd The Obelisk Gate (diff)
downloadsrc-da276ef06f5fff5b6732501e48a7925a70875dcc.tar.gz
src-da276ef06f5fff5b6732501e48a7925a70875dcc.zip
Remove wiki script
Wikipedia seems to have removed the one-sentence extracts from the
opensearch results. Too bad.

It's not a wiki script, what we need is a command that fetches
single-sentence summaries of articles on Wikipedia.
Diffstat (limited to '')
-rwxr-xr-xhome/.local/bin/wiki7
1 files changed, 0 insertions, 7 deletions
diff --git a/home/.local/bin/wiki b/home/.local/bin/wiki
deleted file mode 100755
index c4308098..00000000
--- a/home/.local/bin/wiki
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-set -eu
-
-curl -Gs 'https://en.wikipedia.org/w/api.php' \
-    -d 'action=opensearch' --data-urlencode "search=$1" \
-    | jq -r '.[2][]' \
-    | sed -En "s/^([^ ]| [^i]| i[^s]| is[^ ])* is /It's not a $1, what we need is /p"
f='/catsit/commit/daemon.c?h=1.2&id=6fb08baee3602fc28c323a8eced868fd49050d7f&follow=1'>Rename project to catsitJune McEnroe 2020-08-15Use only LOG_NOTICE and LOG_WARNINGJune McEnroe 2020-08-15Make log messages consistentJune McEnroe 2020-08-15Remove closelog callJune McEnroe 2020-08-15Implement service statusJune McEnroe 2020-08-15Parse control commandsJune McEnroe 2020-08-15Read service pipesJune McEnroe 2020-08-15Implement non-blocking line-buffered readingJune McEnroe 2020-08-15Generate tags fileJune McEnroe 2020-08-15Just use CLOCK_MONOTONIC and clean up includesJune McEnroe 2020-08-15Reap childrenJune McEnroe 2020-08-14Implement serviceSignal, serviceStop, serviceRestartJune McEnroe 2020-08-14Reset restartInterval and restartDeadline on startJune McEnroe 2020-08-14Switch to timespec for timeoutsJune McEnroe 2020-08-14Implement serviceStartJune McEnroe 2020-08-14Flesh out Service structJune McEnroe 2020-08-14Build environment for servicesJune McEnroe 2020-08-14Implement spawntab parsingJune McEnroe 2020-08-14Open syslog, daemonize, write PIDJune McEnroe 2020-08-14Implement user and group lookupJune McEnroe 2020-08-14Add install targetJune McEnroe 2020-08-14Add spawnd skeletonJune McEnroe