Monday, March 20, 2017

Windows 8.1: start chrome in new session and monitor

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=c:/monitor1

Monday, March 13, 2017

Linux SPSS 24: R 3.2 was not found in this location.

When installing R essentials for linux it is unclear how to specify R path. Without this, the following error occures:

 R 3.2 was not found in this location. Please click Previous to select a different location, or install R 3.2 on this computer and run this installation again.
For me the answer was to proved a path where `lib64` of the R package is located, not where the R binary is as show on this screenshot


In the screenshot /opt/r32 is my installation folder (I compiled version 3.2.2 it myself from source). The binary R is in /opt/r32/bin. This will not work. The path must be to R folder inside lib64 folder.


Wednesday, March 08, 2017

Tuesday, March 07, 2017

Chrome through ssh tunel

ssh -ND 1080 user@remote_server_ip -p 2222 google-chrome-stable --proxy-server="socks5://localhost:1080"

Saturday, March 04, 2017

Arch Linux: libXm.so.4 missing

Install openmotif package: sudo pacman -S openmotif This is needed to run Ansys, for example.

Sunday, February 19, 2017

Tuesday, February 14, 2017

Imagemagick: bash split large images into smaller

for f in *.tiff ; do fbase=`echo $f | cut -d '.' -f 1`; echo $fbase; convert -crop 510x510 +repage $f sub/${fbase}_%02d.tiff ; done

Thursday, February 09, 2017

Sunday, January 22, 2017