Claus Witt

Personal blog of a danish developer.

Tmux Plugin Manager

What is Tmux Plugin Manager Tmux Plugin Manager (TPM for short) is - as its name more than suggests - a way to handle plugins to tmux. Both the plugin manager and the plugins it manages are pretty much just shell scripts - you get nothing here, that you could not have written yourself. However you get both the conveinience…
Continue Read

Self Surveillance Dashboard

I am trying to closely monitor my productivity while working. For this reason I have a couple of metrics that I use to show on a dashboard on my iPad. The metrics I am most interested in are: Rescuetime productivity for the week Top apps today (with time, and productivity type) Rescuetime productivity pulse for today, and for the week…
Continue Read

Typing, you need to practice

I love writing. I do it much. Developers are really just some sort of glorified writers. But while many of us, present company included, are very good at learning new technologies, techniques for building apps and all of that exciting stuff - most of us forget that it is the art and craft of typing that lets us do what…
Continue Read

What is love?

This could have been a long essay about the nature of love. Philosophic and deep. It isn't. This is not even an essay. This is a statement. My wife loves me. She told me today. With meat. So I just had to cut it into steaks. …
Continue Read

Sharpen your saw

After a couple of months of only minor maintenance of our php codebases, I have dived deeper into php coding this week. And two things reallly annoyed me (apart from the fact that I was back coding php). My testing workflow from working with ruby did not work I could not remember any of the assertions for phpunit Testing Workflow…
Continue Read

Running rspec Tests From vim in Another tmux Pane

When I write ruby code I usually write it in a tdd/bdd style using rspec as a test framework. I want to run tests directly from vim, but I do not like running tests through guard (don't ask me why - I have no real answer). I like the control of being able to run either all tests (leader-a…
Continue Read

What Makes a Good Side Project?

All developers have had this offer at one point. I have this idea, if you code it - I'll give you x percent of the company. If you have an online presence or have a good network of idea-rich people, this happens so much, that you say no to more than you agree to. Sometimes you even get an offer…
Continue Read

Ruby, its about the concise code

Today I reviewed a co-workers code. And in a couple of minutes we rewrote it to be as concise - yet still expressive - as it could be. This is one of the things I love about ruby. The original code was something along the lines of def get_new all = get_all remove_old(all) end def remove_old…
Continue Read

ES6, CommonJS or Amd

TL;DR doesn't mather - pick one and use that. ES-6 ES6 modules is the future. At some point this will be a part of the language, and then I see no reason not to use that. But we are not there yet. ES-6 modules seems pretty to me. Maybe because they look so much like python. I like them…
Continue Read

Went the Ghost route as well

I have ranted a lot about shell tools the last couple of years (and be warned - I have much rant still left). But I recently decided to stop the write post, build static site, upload static site build cycle for managing new posts. Last year I fell in love - like a lot of other once-wordpress-users probably - with…
Continue Read

Quantified Self and Me

I have become quite serious about this whole Quantified Self movement. I guess as a developer it is easy to be caught up in that. And I have in large periods of time use RescueTime to monitor myself, but at times used more time analyzing the rescuetime data, than I saved from selfmonitoring. (I actually had to set up rescuetime…
Continue Read

Combining Concetrate, Moom, iTerm and Tmux

My blogposts are written in markdown - using terminal vim as my editor. Each kind of task I work on occassionally have been created as an activity in Concentrate. I have hooked my concentrate app up to alfred - and thus I can start an activity easily directly from alfred. This enables me to reduce all distractions, and open everything…
Continue Read