dot

packages and services management
Log | Files | Refs | README

commit 91c8782c35412f2f0bb0a55a2ecdf06637390e18
parent f63d7334077b864866578fd0b1ee32b18cf1434b
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 17 Nov 2017 21:25:18 +0100

merged some fun-* into fig

Diffstat:
Mbin/dot | 2+-
Abin/fig | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dbin/fun-fullwidth | 11-----------
Dbin/fun-mirror | 2--
Dbin/fun-reverse | 20--------------------
Rbin/git-index -> bin/git-http | 0
Mdot/exrc | 2--
Mman/git-index.1 | 6+++---
8 files changed, 71 insertions(+), 39 deletions(-)

diff --git a/bin/dot b/bin/dot @@ -7,7 +7,7 @@ find * -type d -exec mkdir -p "$HOME/.{}" ';' find * -type f -exec ln -fs "$ETC/dot/{}" "$HOME/.{}" ';' find -L "$HOME" -type l -exec rm {} + -mkdir -p "$HOME/lib/document" +mkdir -p "$HOME/lib/doc" mkdir -p "$HOME/lib/image" mkdir -p "$HOME/lib/music" mkdir -p "$HOME/lib/video" diff --git a/bin/fig b/bin/fig @@ -0,0 +1,67 @@ +#!/bin/sh + +case "$1" in +(mirror) + sed -e 's/a/ɒ/g' -e 's/b/d/g' -e 's/c/ɔ/g' -e 's/d/b/g' \ + -e 's/e/ɘ/g' -e 's/f/Ꮈ/g' -e 's/g/ǫ/g' -e 's/h/ʜ/g' \ + -e 's/i/i/g' -e 's/j/ꞁ/g' -e 's/k/ʞ/g' -e 's/l/|/g' \ + -e 's/m/m/g' -e 's/n/ᴎ/g' -e 's/o/o/g' -e 's/p/q/g' \ + -e 's/q/p/g' -e 's/r/ɿ/g' -e 's/s/ꙅ/g' -e 's/t/ƚ/g' \ + -e 's/u/u/g' -e 's/v/v/g' -e 's/w/w/g' -e 's/x/x/g' \ + -e 's/y/ʏ/g' -e 's/z/ƹ/g' -e 's/A/A/g' -e 's/B/ᙠ/g' \ + -e 's/C/Ɔ/g' -e 's/D/ᗡ/g' -e 's/E/Ǝ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 's/5/ϛ/g' \ + -e 's/7/ㄥ/g' -e 's/8/8/g' -e 's/&/⅋/g' -e 's/_/‾/g' | + tr 'bqdpnu69' 'qbpdun96' | rev + ;; +(fullwidth) + sed -e 's/!/!/g' -e 's/"/"/g' -e 's/#/#/g' -e 's/$/$/g' \ + -e 's/%/%/g' -e 's/&/&/g' -e "s/[']/'/g" -e 's/\/(/g' \ + -e "s/'/)/g" -e "s/[']/*/g" -e 's/(/+/g' -e 's/)/,/g' \ + -e 's/*/-/g' -e 's/+/./g' -e 's/,///g' -e 's/-/0/g' \ + -e 's/./1/g' -e 's/\//2/g' -e 's/0/3/g' -e 's/1/4/g' \ + -e 's/2/5/g' -e 's/3/6/g' -e 's/4/7/g' -e 's/5/8/g' \ + -e 's/6/9/g' -e 's/7/:/g' -e 's/8/;/g' -e 's/9/</g' \ + -e 's/:/=/g' -e 's/;/>/g' -e 's/</?/g' -e 's/=/=/g' \ + -e 's/>/>/g' -e 's/?/?/g' -e 's/@/@/g' -e 's/A/A/g' \ + -e 's/B/B/g' -e 's/C/C/g' -e 's/D/D/g' -e 's/E/E/g' \ + -e 's/F/F/g' -e 's/G/G/g' -e 's/H/H/g' -e 's/I/I/g' \ + -e 's/J/J/g' -e 's/K/K/g' -e 's/L/L/g' -e 's/M/M/g' \ + -e 's/N/N/g' -e 's/O/O/g' -e 's/P/P/g' -e 's/Q/Q/g' \ + -e 's/R/R/g' -e 's/S/S/g' -e 's/T/T/g' -e 's/U/U/g' \ + -e 's/V/V/g' -e 's/W/W/g' -e 's/X/X/g' -e 's/Y/Y/g' \ + -e 's/Z/Z/g' -e 's/[/[/g' -e 's/\\/\/g' -e 's/]/]/g' \ + -e 's/^/^/g' -e 's/_/_/g' -e 's/`/`/g' -e 's/a/a/g' \ + -e 's/b/b/g' -e 's/c/c/g' -e 's/d/d/g' -e 's/e/e/g' \ + -e 's/f/f/g' -e 's/g/g/g' -e 's/h/h/g' -e 's/i/i/g' \ + -e 's/j/j/g' -e 's/k/k/g' -e 's/l/l/g' -e 's/m/m/g' \ + -e 's/n/n/g' -e 's/o/o/g' -e 's/p/p/g' -e 's/q/q/g' \ + -e 's/r/r/g' -e 's/s/s/g' -e 's/t/t/g' -e 's/u/u/g' \ + -e 's/v/v/g' -e 's/w/w/g' -e 's/x/x/g' -e 's/y/y/g' \ + -e 's/z/z/g' -e 's/{/{/g' -e 's/|/|/g' -e 's/}/}/g' \ + -e 's/~/~/g' + ;; +(*) + printf 'usage: %s [mirror|reverse]\n' + ;; +esac diff --git a/bin/fun-fullwidth b/bin/fun-fullwidth @@ -1,11 +0,0 @@ -#!/bin/sh -# Fullwidth letters - -printf '%s\n' "$*" | -sed ' - y/!"#$%&'\''()*+,-.\/0123456789:;<=>?/!"#$%&'()*+,-./0123456789:;<=>?/ - y/@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_/@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_/ - y/`abcdefghijklmnopqrstuvwxyz{|}~/`abcdefghijklmnopqrstuvwxyz{|}~/ - s/ / /g -' - diff --git a/bin/fun-mirror b/bin/fun-mirror @@ -1,2 +0,0 @@ -#!/bin/sh -sed 'y/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/ɒdɔbɘᎸǫʜiꞁʞ|mᴎoqpɿꙅƚuvwxʏƹAᙠƆᗡƎꟻᎮHIႱ⋊⅃MͶOꟼỌЯꙄTUVWXYƸ/' | rev diff --git a/bin/fun-reverse b/bin/fun-reverse @@ -1,20 +0,0 @@ -#!/bin/sh -# print a text with every line upside down - -while IFS='' read -r line -do - printf '%s\n' "$line" | rev | sed ' - - # lowercase - y/abcdefghijklmnopqrstuvwxyz/ɐqɔpǝɟƃɥᴉɾʞjɯuodbɹsʇnʌʍxʎz/ - - # uppercase - y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/∀BƆDƎℲפHIſK˥WNOԀQRS┴∩ΛMX⅄Z/ - - # digits - y/0123456789/0ƖᄅƐㄣϛ9ㄥ86/ - - # special characters - y/&_/⅋‾/ - ' -done diff --git a/bin/git-index b/bin/git-http diff --git a/dot/exrc b/dot/exrc @@ -1,3 +1 @@ -set number - map g 1G diff --git a/man/git-index.1 b/man/git-index.1 @@ -1,9 +1,9 @@ .Dd mar 23, 2017 -.Dt GIT-INDEX +.Dt GIT-HTTP .Os .Sh NAME -.Nm git-index -.Nd generate static website with the git command +.Nm git-http +.Nd generate static website using the git binary .Sh SYNOPSIS .Nm .Ar repository