Search This Blog

Thursday, July 24, 2014

Ubuntu 14.04 - convert multiple images to *.pdf

To convert all (multiple) images in a folder to a single pdf file you can just type:


convert -compress jpeg * output_file.pdf


inside the folder with the photos.



Tuesday, July 22, 2014

Ubuntu 14.04 - install BIMP - Batch image manipulation

BIMP is useful to apply filter to multiple images in GIMP.

HOW TO INSTALL BIMP on Ubuntu 14.04 x64

sudo apt-get install libgimp2.0-dev
(optionally:
sudo apt-get build-dep gimp)

make
make install


Homepage: http://registry.gimp.org/node/26259

Compiled binary for Ubuntu 14.04 x64
download

just copy this binary to:
~/.gimp-2.8/plug-ins/bimp
chmod 772  ~/.gimp-2.8/plug-ins/bimp





Wednesday, July 2, 2014

Android L preview Emulator under UBUNTU 14.04 x64 & Windows 7 x64 - optimal settings

UBUNTU 14.04 x64:

 sudo apt-get install cpu-checker


$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used


sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

export LD_LIBRARY_PATH=/home/your_user_name/Develop/android-sdk/tools/lib:$LD_LIBRARY_PATH

sudo apt-get install libgl1-mesa-dev

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so





Start the emulator with:

./emulator-x86 -avd your_avd_name -qemu -m 2047 -enable-kvm

1) select Intel Atom (x86) - for VT-x to work
2) skin - select WVGA800 - for other skins the emulator is too big/small
3) remember to check "Use host GPU"



WINDOWS:

Install:
Intel(R) Hardware Accelerated Execution Manager (HAXM)
with Intel(R) Virtualization Technology (VT)

It's really a must. Without HAXM the emulator is dead slow. Also remember to enable VT-x on your mainboard's BIOS settings for HAXM to work.

1) select Intel Atom (x86) - for VT-x to work
2) skin - select WVGA800 - for other skins the emulator is too big/small
3) do not set more than 700 MB of RAM - Windows does not handle that well
4) remember to check "Use host GPU"