dot

packages and services management
Log | Files | Refs | README

commit c9c9ae70836c815abbdfbb794af06e7d513df118
parent be0c82fe77cf1c45213b2adb27a7cc508f6454e0
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue, 21 Nov 2017 22:41:44 +0100

organizing repos: simpler ~

Diffstat:
Mbin/etc | 21+++++++++++----------
Mbin/twt | 4++--
Mdot/sfeed/sfeedrc | 6++----
Mdot/ssh/config | 4++++
Mpackage/quark/config.h | 5+++--
Mpackage/sacc/git | 2+-
Mtwt | 137+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 160 insertions(+), 19 deletions(-)

diff --git a/bin/etc b/bin/etc @@ -16,7 +16,7 @@ case $1 in find -L "$HOME" -maxdepth 3 -type l -exec rm {} + ;; (mkdir) - mkdir -p "$HOME/src" + mkdir -p "$HOME/git" mkdir -p "$HOME/tmp" mkdir -p "$HOME/var/irc" mkdir -p "$HOME/var/log" @@ -25,21 +25,22 @@ case $1 in mkdir -p "$HOME/var/mail/INBOX/tmp" mkdir -p "$HOME/var/qemu" mkdir -p "$HOME/var/run" - mkdir -p "$HOME/var/torrent" mkdir -p "$HOME/var/tox" ;; -(cron) - cat "$ETC/cron/$2" >> "$HOME/.config/crontab" - sort -uo "$HOME/.config/crontab" "$HOME/.config/crontab" +(git) + git clone josuah@git.josuah.net:srv/git/srv.git "$HOME/srv" + git clone josuah@git.josuah.net:srv/git/notes.git "$HOME/git/notes" ;; -(inetd) - cat "$ETC/inetd/$2" >> "$HOME/.config/inetd" - sort -uo "$HOME/.config/inetd" "$HOME/.config/inetd" +(setup) + [ -f "$ETC/cron/$2" ] && cat "$ETC/cron/$2" >> "$HOME/.config/cron" + [ -f "$ETC/inet/$2" ] && cat "$ETC/inet/$2" >> "$HOME/.config/inet" + sort -uo "$HOME/.config/cron" "$HOME/.config/cron" + sort -uo "$HOME/.config/inet" "$HOME/.config/inet" + cp -r "$ETC/sv/$2" ;; (fonts) fc-cache "$ETC/fonts" ;; (*) - printf 'usage: etc dot | config | mkdir | cron entry | inetd entry\n' - printf ' fonts\n' + printf 'usage: etc dot | config | mkdir | setup service | fonts\n' esac diff --git a/bin/twt b/bin/twt @@ -2,7 +2,7 @@ # twtxt client in a single small POSIX shell script NICK=josuah -FEED=$HOME/var/srv/josuah.net/twtxt.txt +FEED=$HOME/srv/www/twtxt.txt CONF=$HOME/etc/twt CACHE=$HOME/.cache/twt @@ -145,7 +145,7 @@ case "$1" in ;; (following) [ $# -ne 1 ] && exec "$0" - sed -re's/[[:space:]]/ /' -e's/(.{11}[^ ]*) */ \1 @ /' "$CONF" + sed -re's/[[:space:]]/ /' -e's/(.{12}[^ ]*) */\1 @ /' "$CONF" ;; (*) printf 'usage: twt tweet msg | view user | timeline | update\n' diff --git a/dot/sfeed/sfeedrc b/dot/sfeed/sfeedrc @@ -1,7 +1,5 @@ -# get youtube Atom feed: -# curl -s -L https://www.youtube.com/user/gocoding/videos | sfeed_web | cut -f 1 - -feeds() { +feeds() +{ # feed <name> # <feedurl> # [basesiteurl] diff --git a/dot/ssh/config b/dot/ssh/config @@ -26,6 +26,10 @@ host josuah.net IdentityFile /mnt/key/josuah.net.key AddKeysToAgent yes +host git.josuah.net + IdentityFile /mnt/key/josuah.net.key + AddKeysToAgent yes + host store.josuah.net IdentityFile /mnt/key/josuah.net.key AddKeysToAgent yes diff --git a/package/quark/config.h b/package/quark/config.h @@ -20,8 +20,8 @@ static struct { regex_t re; } vhost[] = { /* canonical host host regex directory */ - { "josuah.net", "^josuah\\.net$", "josuah.net" }, - { "git.josuah.net", "^git\\.josuah\\.net$", "git.josuah.net" }, + { "josuah.net", "^josuah\\.net$", "www" }, + { "git.josuah.net", "^git\\.josuah\\.net$", "git" }, { "cyberia.systems", "^cyberia\\.systems", "cyberia.systems" }, }; @@ -51,6 +51,7 @@ static const struct { { "svg", "image/svg+xml" }, { "flac", "audio/flac" }, { "mp3", "audio/mpeg" }, + { "opus", "audio/ogg" }, { "ogg", "audio/ogg" }, { "mp4", "video/mp4" }, { "ogv", "video/ogg" }, diff --git a/package/sacc/git b/package/sacc/git @@ -1 +1 @@ -git://bitreich.org/sacc +josuah@git.josuah.net:var/srv/sacc.git diff --git a/twt b/twt @@ -0,0 +1,137 @@ +8ball https://domgoergen.com/twtxt/8ball.txt +AdamTheChespin https://htwtxt.plomlompom.com/feeds/AdamTheChespin +C-Keen http://pestilenz.org/~ckeen/twtxt.txt +ColtonDRG https://twtxt.coltondrg.com +DSigmund http://twtxt.xyz/u/DSigmund.txt +Kopachris http://users.kopachr.is/~chris/twtxt.txt +Luke http://twtxt.xyz/u/LukeIngerson.txt +Neo-Oli http://twtxt.xyz/u/Neo-Oli.txt +PurHur http://purh.pw/purhurtwtxt.txt +abliss https://abliss.keybase.pub/twtxt.txt#7a778276dd852edc65217e759cba637a28b4426b +adiabatic https://www.frogorbits.com/twtxt.txt +akraut https://akraut.keybase.pub/twtxt.txt +alip https://dev.exherbo.org/~alip/twtxt.txt +allgebrah http://www.synkretie.net/twtxt +andrew http://andrewvalentine.co/twtxt.txt +astrofacts http://htwtxt.plomlompom.com/feeds/astrofacts +astynax https://raw.githubusercontent.com/astynax/tweets/master/twtxt.txt +autoalk http://autoalk.tk/twtxt/autoalk.txt +beardog https://chaoswebs.net/twtxt.txt +benaiah http://benaiah.me/twtxt.txt +benjo https://yhaupenthal.org/twtxt.txt +beyond https://enotty.dk/beyond.txt +boxofbats https://www.boxofbats.com/t +brice http://pelmel.org/twtxt.txt +buckket https://buckket.org/twtxt.txt +c0by https://c0by.de/twtxt.txt +caudasol https://enotty.dk/caudasol.txt +cel https://celehner.com/twtxt.txt +clementd http://clementd-files.cellar.services.clever-cloud.com/twtxt.txt +contraultra http://contraultra.me/twtxt.txt +cow2001 https://kaka.farm/twtxt.txt +cuntass https://www.google.co.uk/robots.txt +darthlukan https://www.brianctomlinson.com/static/twtxt.txt +dave http://davebucklin.com/twtxt.txt +david http://htwtxt.plomlompom.com/feeds/david +ddate https://enotty.dk/ddate.txt +directory http://twtxt.reednj.com/twtxt/directory.twtxt.txt +dizzy http://grex.org/~richtraube/twtxt.txt +dmpop http://dmpop.dhcp.io/twtxt.txt +domnirok http://twtxt.webdad.eu/twtxt.txt +dontdieych https://github.com/dontdieych/twtxt/raw/master/twtxt.txt +dracoblue https://dracoblue.net/twtxt.txt +durcheinandr https://durcheinandr.de/twtxt.txt +eazy http://test.plomlompom.com:8000/twtxt/eazy +edsu http://edsu.github.io/twtxt/twtxt.txt +ekch https://enotty.dk/ekch.txt +erlehmann http://daten.dieweltistgarnichtso.net/tmp/docs/twtxt.txt +esc http://escowles.github.io/tw.txt +fiatjaf http://fiatjaf.alhur.es/twtxt.txt +freemor http://freemor.homelinux.net:16019/~freemor/twtxt.txt +glow https://glow.li/twtxt.txt +hacker_news http://twtxt.xyz/t/hn_bot_top1/twtxt.txt +helgrima https://nyarlathotep.dy.fi/twtxt/helgrima.txt +horsemans http://horsemans.co/horsemans.txt +ionincognito http://resistit.net/twtxt/twtxt.txt +jack http://tilde.club/~jbaty/twtxt.txt +jamescampbell https://jamescampbell.us/twtxt.txt +jayay https://gist.githubusercontent.com/jayay/ef64ebda6a4ebdafb05a/raw/twtxt.txt?nocache +jinglemansweep http://louisking.uk/twtxt.txt +joachim https://joachimrobert.keybase.pub/twtxt.txt +joachimesque http://twtxt.xyz/u/joachimesque.txt +joel http://joeldueck.com/twtxt.txt +jomo https://gist.githubusercontent.com/jomo/64d6bd1b95ec0a24612b/raw/twtxt.txt +josuah http://josuah.net/twtxt.txt +kas https://enotty.dk/twtxt.txt +kasdk https://enotty.dk/kasdk.txt +kdave https://kdave.github.io/twtxt.txt +kdy https://twtxt.kdy.ch/twtxt.txt +kitchen http://bucket.kitchen.io/twtxt.txt +krt http://krt.marmaro.de/twtxt.txt +kseistrup http://kseistrup.keybase.pub/twtxt.txt +lahvak http://lahvak.github.io/twtxt/twtxt.txt +larry http://lhyn.es/twtxt.txt +leveck https://leveck.us/leveck.txt +ljones http://diary.ljones.id.au +lokimo https://raw.githubusercontent.com/lokimo/twtxt/master/twtxt.txt +luzifer http://twtxt.luzifer.io +mahoff https://core.thedoge.net/~mahoff/twtxt.txt +mdom http://www.domgoergen.com/twtxt.txt +mdosch https://mdosch.de/twtxt.txt +melvincarvalho https://melvin.databox.me/Public/twtxt/twtxt.txt +mian http://miangraham.com/twtxt.txt +mmk2410 https://mmk2410.org/twtxt.txt +moon https://enotty.dk/moon.txt +myles https://twtxt.mylesb.ca +nblade http://nblade.sdf.org/twtxt/twtxt.txt +nristen https://karl.thehomesteadinghippy.com/twtxt.txt +ordnungswidrig http://philipp.meier.name/twtxt.txt +parteigaenger http://vigintitres.eu/twtxt.txt +pete https://petedeas.co.uk/twtxt.txt +peteyboy http://peteyboy.freeshell.org/twtxt.txt +phil http://philmcclure.duckdns.org/twtxt.txt +plom http://test.plomlompom.com/twtxt/plom.txt +quite https://lublin.se/twtxt.txt +raguay http://customct.com/twtxt.txt +rasta http://datenloft.de/rasta/twtxt.txt +raur http://raur.nfshost.com/twtxt.txt +reddit_random http://twtxt.xyz/t/reddit_random/twtxt.txt +reednj http://twtxt.xyz/u/reednj.txt +reednj_tw http://twtxt.reednj.com/t/reednj/twtxt.txt +registry https://registry.twtxt.org/twtxt.txt +robbinaer https://robbinaer.info/twtxt.txt +ruebot http://ruebot.github.io/twtxt/twtxt.txt +samathy http://sbarratt.co.uk/twtxt.txt +sirx http://www.alphabetendswith.xyz/twtxt.txt +skingrapher http://www.skingrapher.com/t/tw.txt +srzkptrsk http://piatrouski.xyz/twtxt.txt +sungo https://sungo.wtf/twtxt.txt +tdemin https://tdemin.github.io/blog.txt +technomancy https://technomancy.us/twtxt.txt +tedder https://tedder.me/twtxt.txt +teddy https://data.trafficking.agency/twtxt.txt +teo https://murat.io/twtxt.txt +terinjokes http://twtxt.terinstock.com/twtxt.txt +tfurrows http://grex.org/~tfurrows/twtxt.txt +tiktok https://enotty.dk/tiktok.txt +tk https://tkd.keybase.pub/twtxt.txt +tomas https://bootlog.org/twtxt.txt +trevor https://destroyed.today/twtxt.txt +tux0r https://rosaelefanten.org/twtxt.txt +tuxtimo https://tuxtimo.me/twtxt.txt +twtxt https://buckket.org/twtxt_news.txt +tx https://0x1A4.1337.cx/twtxt.txt +umonkey http://land.umonkey.net/twtxt.txt +vinc https://vinc.cc/twtxt.txt +vrmxm https://asifade.in/twtxt.txt +webi http://twtxt.opstack.info/twtxt.txt +wp https://whiteplastic.net/twtxt.txt +xbg http://test.plomlompom.com:8000/twtxt/xbg +xena https://xena.greedo.xeserv.us/files/xena.txt +xn https://xn.pinkhamster.net/twtxt.txt +xpktro https://raw.githubusercontent.com/Xpktro/twtxt/master/twtxt.txt +xvm https://twtxt.xvm.space +yock http://mikeyockey.com/tw.txt +zichy http://htwtxt.plomlompom.com/feeds/zichy +zrolaps http://test.plomlompom.com/twtxt/zrolaps.txt +zurrguybbb http://stream.chunk.io/streams/21d693f0403b9f56809c3cb80702c35a