Tuesday, November 18, 2014

imapsync all emails to one folder

use 

  --regextrans2 "s/.*/folder_on_Bmail\/$&/"


Monday, October 27, 2014

promise in R

promise in R

#define PROMSXP 5 /* promises: [un]evaluated closure arguments */  

reference

pryr

and see force in R

Tuesday, September 23, 2014

see the version number of mac on command line

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.5
BuildVersion: 13F34

Saturday, September 6, 2014

list function in an R package

> ls('package:rstan')

Monday, June 23, 2014

latex resizebox in a minipage for tabular with a caption

We can put tabular to resizebox to easily resize a table in latex. 

If it's in a minipage environment, we might need caption package to add captions. 

Thursday, June 12, 2014

paste: combine files horizontally

PASTE(1)                  BSD General Commands Manual                 PASTE(1)

NAME
     paste -- merge corresponding or subsequent lines of files

SYNOPSIS
     paste [-s] [-d list] file ...