Get rid of row names in R

Yesterday I had to remind myself on how to remove the row names in a data.frame. Row names are usually added by filtering steps such as subset, etc. Assume we want to remove the row names of the data.frame called data, we can type: rownames(data) <- c() That’s it iss

March 11, 2015 · 1 min

Mounting a ZFS ZPool (RaidZ) from a FreeBSD Rescue System

...

March 8, 2015 · 1 min

Debugging in the Terminal on OS X with LLDB

...

February 2, 2015 · 1 min

Add Loopback Network Interface with Alias on FreeBSD

...

September 23, 2014 · 1 min

Exchange a broken hard drive in a running ZFS pool

...

September 23, 2014 · 1 min

Formatting Text in Skype

...

September 4, 2014 · 1 min

Change to Vimdiff mode with two files open in a split view in vim

Often I found myself starting an extra vimdiff session while I am actually working in another vim session. Finally, I took the time to search for a solution and I came up with the following two lines in my .vimrc: nnoremap &lt;leader&gt;dt :windo diffthis<cr> nnoremap &lt;leader&gt;do :windo diffo<cr> They blindly go through all windows in the current view and enables or disable vimdiff, so use them with caution if you are a split view junky. ...

September 3, 2014 · 1 min

Copy Current Filename and Line Number to Clipboard With Vim

Today I was working with a colleague and reasoned about some code over chat. We sent filename and line number frequently and I got the impression that this is another perfect candidate for automation. Hence, I came up with the following solution, which can also be found on my .vimrc on github. Note that you need to check for the system vim is running on (linux/mac) or just pick the one line that matches your system. ...

July 7, 2014 · 1 min

TIG - Git Curses Interface

...

July 3, 2014 · 2 min

UTF-8 Graphics in iTerm

...

July 2, 2014 · 1 min