Multiple accounts github ssh-keys

Posted on 14 November 2015 in misc • Tagged with ssh, linux, github, git, keys, ssh-keys

If you have multiple github accounts and you would like to push to repositories under each of the accounts on a single computer, then you will probably need to define multiple ssh keys.

I will assume that you already have one ssh-key working. To get our second account going, the …


Continue reading

turn off cli alias

Posted on 18 July 2015 in misc • Tagged with linux, alias, cli

tl;dr: \cmd

There may be a situation where you have masked a command with a shell alias. For example, you may always run a command with certain flags so you might do something like

$ alias ls='ls --color'

If, for whatever reason, you'd like to run the default ls …


Continue reading

UltiSnip snippets missing from completion menu with YouCompleteMe

Posted on 19 June 2015 in misc • Tagged with vim

I was having a problem in neovim where my UltiSnips snippets were working, I could expand them, however YouCompleteMe was not displaying their availability in the pop-up completion menu. Actually, a couple of the snippets showed up, but not most of them.

My problem was that UltiSnips was loading with …


Continue reading

Writing tests for R packages without testthat and RUnit

Posted on 31 May 2015 in misc • Tagged with R

As a beginner R package author who wanted to include tests in his package, I turned to Google. If you do the same, you will find multiple tutorials for the testthat package and maybe even a few for the RUnit package. If you look very closely, you will notice there …


Continue reading

neovim as git diff and merge tool

Posted on 08 February 2015 in misc • Tagged with vim, neovim, git

You've made the switch. You are now using neovim for all your text editing, and you've hardly even noticed that you aren't using regular old vim. Except one thing. Your git difftool and mergetool aren't quite right. One of two things is happening. Either you are using old vim (which …


Continue reading

Fixing mutt and goobook

Posted on 27 January 2015 in misc • Tagged with mutt

There are a lot of blog posts out there that show how to combine mutt and goobook. However, all of them that I have seen are wrong. This isn't a long, post, I'm not going to tell you about goobook and mutt, I'm just going to tell you the problem …


Continue reading

Emailing (mutt) and vim advanced config

Posted on 29 December 2014 in misc • Tagged with vim, mutt, email, linux, unix

Here are some tips you might like for advanced emailing with vim. I use mutt as my email client, but these tips should be mostly applicable to any other email client you might use.

First, let's talk about format flowed text. Perhaps you believe so strongly in 72 character width …


Continue reading

Tutorial to get cmus rockin'

Posted on 07 December 2014 in misc • Tagged with tutorial, cmus, linux

cmus is a console based music player. It's rather feature filled which can mean that getting it set up "just right" might require some work. This post is to help you get cmus set up to rock! There are a few introductory tutorials out there, but they only scratch the …


Continue reading