Stack

DNB and Typing

d3b 71% Thu 21 Feb 2019 10:40:21 AM CET
d3b 79% Thu 21 Feb 2019 10:41:57 AM CET
d3b 57% Thu 21 Feb 2019 10:43:33 AM CET
d3b 43% Thu 21 Feb 2019 10:45:08 AM CET
d3b 21% Thu 21 Feb 2019 10:46:44 AM CET
d3b 79% Thu 21 Feb 2019 10:53:03 AM CET
d3b 64% Thu 21 Feb 2019 10:54:41 AM CET
d3b 43% Thu 21 Feb 2019 10:56:15 AM CET
d3b 71% Thu 21 Feb 2019 10:57:47 AM CET
d3b 57% Thu 21 Feb 2019 10:59:25 AM CET

Deutsch

  • It’s säkular, not sekulär etc.
  • Geöffnet, not geoffnet
  • kümmert
  • Brasilien
  • hoche Spannungen – no umlaut
  • begann
  • The earlier we came -> je früher wir kamen
  • Ein NN wird trainiert, nicht getraint. (Where did I get this word actually?)

Linux exit codes

To check the exit code of a command you just ran, you need to output the special bash variable $?, so echo $? returns the exit code of the previous command.

Taskwarrior

I decided to make my sprint system a bit less stupid than it is now. I finally rewrote it using overrides.

In .zshrc, first I override the default sprint when adding tasks, then create command which shows my s report:

alias t='task rc.uda.sprint.default=$SPRINT'
alias s='task s sprint:$SPRINT or sprint:c' 

in .taskrc I modified the s report to look like this:

# Current sprint
report.s.description='Current sprint'
report.s.columns=id,project,tags,pri,est,due.relative,description,urgency
report.s.labels=ID,Project,T,P,E,D,Description,U
#report.s.sort=due+
report.s.sort=urgency-
report.s.filter=status:pending

Now when I type s I get my current sprint todo, and when I add tasks they get added automatically to current sprint.

i3lock-color

This is really nice, I had no idea a fork with more features existed! It doesn’t show my keyboard layout correctly, but otherwise it’s perfect. Will be using it from now on.

Tmux resize-pane

You open the tmux command line with C-b :, and to resize a pane horizontally to an absolute size the command is :resize-pane -x %absolute size%.

Vim-pekaboo and vim registers

Is a plugin which lets you preview the register contents before using one. Also you can paste stuff from registers in insert mode by pressing <c-R>.