jake RSS


jakehofman.com

Archive

Jan
31st
Tue
permalink

tip: latex

a number of useful listings settings for inline code snippets http://bit.ly/Ai4fnu

tips  latex 
Jan
19th
Thu
permalink

tip: rstats

use geom_line(aes(group=1)) to connect x-axis factors via a line with ggplot2 (h/t @hadleywickham)

tips  rstats 
Jan
18th
Wed
permalink

tip: rstats

a handy syntax reference for specifying statistical models in R: http://bit.ly/yza8SK

tips  rstats 
permalink

tip: rstats

hide part of a legend in ggplot2 with legend=F in the scale, e.g. scale_size(legend=F)

tips  rstats 
permalink

tip: rstats

(ab)use ggplot2 to connect x-axis factors via a line with geom_line(aes(x=as.integer(x), y=…))

tips  rstats 
Oct
20th
Thu
permalink

tip: macosx

use jot as an alternative to seq for generating sequential and random numbers http://macw.us/pdfadN

tips  macosx 
Sep
20th
Tue
permalink

tip: awk

check if a variable is numeric in awk func isnum(x) {return x==x+0} http://bit.ly/pTDTXW

tips  awk 
Aug
18th
Thu
permalink

tip: linux

swap left alt and command keys with setxkbmap -option altwin:swap_lalt_lwin http://bit.ly/pNSwYN

tips  linux 
Aug
5th
Fri
permalink

tip: c++

current date & time w/ boost::posix_time: to_extended_iso_string(second_clock::local_time()); http://bit.ly/qPTclz

tips  c++ 
Jul
27th
Wed
permalink

tip: shell

use disown to detach a process from a shell http://bit.ly/ojUN7u (h/t @mihasya)

tips  shell