Short IT recipes

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

Wednesday, June 21, 2017

ImageMagick: montage images into one

›
montage -label '%f' -geometry +4+4 -pointsize 20 -tile 4x6 *.tiff mtg.jpg
Tuesday, June 13, 2017

ImageMagick: Flatten image results in white image

›
Instead of -flatten option try using -layers trim-bounds
Monday, June 12, 2017

UFW: forward trafic on a port 8333 to different computer/ip and back

›
Full node is running on: ip_full_node Redirection is done on server: ip_of_uwf_server *nat :PREROUTING ACCEPT [0:0] :POSTROUTING ACCEPT ...
Wednesday, May 10, 2017

ImageMagick: remove alpha channel from tiff images

›
mogrify -flatten -alpha off *.tiff
Monday, May 01, 2017

HDMI audio output in Arch for KDE

›
aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]   Subdevices: 1...
Monday, March 27, 2017

VirtualBox: resize disk in linux

›
Resize to 350GB using VirtualBox 5.18: VBoxManage modifyhd "/home/myhome/VirtualBox VMs/arc/arc.vdi" --resize 350000 Full path t...
Thursday, March 23, 2017

Linux: mkdir and cd in one command

›
mkcd () { case "$1" in */..|*/../) cd -- "$1";; # that doesn't make any sense unless the directory already e...
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 fo...
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" --proxy-bypass-list=...
‹
›
Home
View web version
Powered by Blogger.