Short IT recipes

i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...

Wednesday, April 20, 2016

Ubuntu 16.04 and Matlab 2016a: MATLAB has encountered an internal problem and needs to close

›
There is some problem with matlab UI GPU-based rendering on nvidia as this is causing this problem Stack Trace (from fault): [ 0] 0x00...
Thursday, April 14, 2016

Ubuntu: ssh to tor server

›
On the server : Add this to /usr/tor/torrc HiddenServiceDir /var/lib/tor/sshd/ HiddenServicePort 22 127.0.0.1:22 Restart tor sudo se...
Wednesday, April 13, 2016

Ubutnu 16:04: Time zone change

›
sudo dpkg-reconfigure tzdata
Saturday, April 09, 2016

Ubuntu 16:04: Install Krusader with dependencies

›
sudo apt install krusader krename kdiff3 konsole kde-baseapps-bin Without kde-baseapps-bin, bookmarks manager does not work.
Tuesday, March 29, 2016

Ubuntu 16:04: wt-3.3.5 compile error

›
When compiling latest wt-3.3.5 , the following compile errors can occure: usr/include/boost/core/ref.hpp:131:74: note: candidate: template ...
Saturday, March 26, 2016

Ubuntu 16:04: Segmentation fault (core dumped), but no core file

›
Make core files to be located in the current working folder sudo service apport stop ulimit -c unlimited
Thursday, March 10, 2016

ImageMagick: Crop images in half verticly

›
Left half mogrify -gravity West -crop 50%x100%+0+0 *.tiff Right half mogrify -gravity East -crop 50%x100%+0+0 *.tiff
Wednesday, January 06, 2016

ImageMagick: remove alpha and flatten

›
mogrify -flatten -type Grayscale -alpha remove *.tiff
Thursday, November 05, 2015

rsync: copy files with a given extensions

›
rsync -zarv --include="*/" --include="*.h" --exclude="*" --prune-empty-dirs /home/marcin/cpp/bitmonero ./test
Tuesday, October 27, 2015

SPSS: Automaticly change string variable to group/categorical variable

›
autorecode variables = TheStringVariable /into GroupNumber.
‹
›
Home
View web version
Powered by Blogger.