Ei kuvausta

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

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).