Brak opisu

Luna Stadler a4d7a9ae2f ~/.bin/work-summary: Summarize what happened on a day easily 4 lat temu
..
Makefile 9676637505 ~/.bin/Makefile: Use whatever compiler is around 4 lat temu
README.md 7cbd81fd35 ~/.bin/README.md: A Gentle Introduction to Various Utitility Tools. 13 lat temu
archive-monthly.sh b107574c48 ~/.bin/archive-monthly.sh: Describe what the thing does 7 lat temu
capture fb2cb77de3 ~/.bin/capture: take screenshots by selecting the area/window. 11 lat temu
check-papill0n.sh 7c2de4874c ~/.bin/check-papill0n.sh: Fail if request takes longer than 2 seconds 8 lat temu
collect-working-time.sh ef2e4f3050 ~/.config/dwm,~/.bin: Collect working time stats as csv 7 lat temu
deadlines.rb 341d0affef ~/.bin/deadlines{,.rb}: move, fix duration support. 11 lat temu
entropy.rb 0dc31cbe3b ~/.bin/entropy: Calculate entropy per input line 9 lat temu
events 1fc2d5936b ~/.bin/events: A script that aggregates window-manager events. 13 lat temu
ff 439206ba7a ~/.bin/ff: Escape ampersands to make pango syntax work 7 lat temu
git-ln be3f128b40 ~/.bin/git-ln: A `git log` bealike that reverse numbers the commits. 13 lat temu
l 797275ee3d ~/.bin/l: Allow viewing http(s) urls 6 lat temu
notes 4964133a11 ~/.xmonad: add a shortcut for not.es 11 lat temu
paper 24870f5477 ~/.bin/ff: Generalize and introduce the "find file" command 8 lat temu
rn.go ed4435261d ~/.bin/rn.go: Always notify, regardless of duration 7 lat temu
rt d13c057673 ~/.bin/rt: Recognize bb as shortcut for bitbucket. 12 lat temu
run bd2ec8ecf6 ~/.bin/run: Run and observe commands in the background 8 lat temu
run-and-notify bd2ec8ecf6 ~/.bin/run: Run and observe commands in the background 8 lat temu
s 42be22efca ~/.bin/s: Search for things easily 8 lat temu
select-display f108e52220 ~/.bin/select-display: Always use --primary 7 lat temu
shot 4f167cd2cf ~/.bin/shot: Take a screenshot and maybe name it 7 lat temu
since.go 69b02fd8ba ~/.zshrc,~/.bin/since.go: Display exit code if command fails 5 lat temu
suggest 1410dabbe9 ~/.bin/suggest: Quickfind links/info out of a file 7 lat temu
sweet-dreams 05ecd91460 ~/.bin/sweet-dreams: Suspend and lock easily 8 lat temu
tasks d3466066d5 ~/.config/{sway,waybar}: Switch to waybar 4 lat temu
timely.go 71c01c14cf ~/.bin/timely.go: Measure human-friendly cmd runtime 7 lat temu
toggle-fan 73d1c17ab2 ~/.config/sway: Add a shortcut to toggle (think)fan 5 lat temu
up.c 5925a98667 ~/.bin/up.c: Fix lint errors 7 lat temu
up.rs ed2084a113 ~/.bin/up.rs: Rewrite for Rust 2018/nightly 7 lat temu
update-planet.sh 6ed9bc59af ~/.bin/update-planet.sh: A script that updates the planet. 13 lat temu
video 24870f5477 ~/.bin/ff: Generalize and introduce the "find file" command 8 lat temu
warn-if-low.sh 636f93fca6 ~/.bin/warn-if-low.sh: Report battery level. 12 lat temu
wn e8361fc3ff ~/.bin/wn: Collect work notes (experimental, but fun so far) 6 lat temu
work-summary a4d7a9ae2f ~/.bin/work-summary: Summarize what happened on a day easily 4 lat temu
working-time.go a455d660b3 ~/.bin/working-time.go: Write initial file if none is present 7 lat temu
xkbswap 558caa48b0 ~/.bin/xkbswap: Swap around the current keymap (de, us). 13 lat temu
ydl.go 85ae2ff7b0 ~/.bin/ydl.go: Fix youtube detection 7 lat temu

README.md

lu's little tools (and unfancy symlinks)

If you have this directory in your PATH then you'll have all of the following at your disposal.

rt

rt (*r*epository *t*ool) is a nice little utility script for [VCS][]s such as git or hg. It detects the type of repository it operates on and chooses the appropriate command. I mostly use it for cloning repositories, but it should be able to do other VCS tasks aswell.

lu ~$ rt
Usage: /home/lu/.bin/rt <cmd> <repo> [<args>]
  executes <cmd> for <repo> (passing <args> through)

lu ~$ rt c hub:anapple/confidence
# Clones a repository from GitHub (see <../.gitconfig> for the `hub` alias)

events

events is a logs window manager events to various services (currently ~/.eventstream and [statsd][]). Someday I might live out my statistical fetish and get carried away by years of weird logs to analyze.

git-ln

git-ln (use as git ln) is a git command that displays a numbered (descending) log of commits in a git repository. Use it as you'd use git log itself.

update-planet.sh

update-planet.sh does what it's name says: It delivers a new planet (usually called "earth") with updated parameters using a template file called ~/t/venus/config.ini.

In a boring parallel universe it updates my planet of RSS/ATOM feeds and creates ~/t/venus/www/planet/index.html in which the titles of the various posts are displayed, waiting for me to click them and enjoy what's behind them.

It gets invoked every two hours by the venerable cron.

warn-if-low.sh

warn-if-low.sh constantly nudges me when my battery runs low. It spawns up windows everytime it is called and thinks that my battery is a little bit neglected. I then get annoyed by it and plug the AC adapter in. Mission accomplished! (No, any other solution that doesn't create a big annoying window right in front of my eyes doesn't work.)

It's called periodically (every minute) by cron.

xkbswap

xkbswap swaps the current keyboard layout (from de to us and the other way around).