среда, 21 июля 2010 г.

Correct ia32-libs install (Ubuntu 10.04)

I try to run LAMPP on my AMD64 and got next message:
“XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library”.
But ia32-libs was currently installed. In google I was find many tips like "install getlibs-all", and something like "reboot after install, install it with sudo, etc", sure, it didn't work. But here I was find good advice how to make ia32-libs correctly working:
sudo gedit /etc/apt/sources.list
uncomment all the lines “thats what i did because i am lame”, and
sudo apt-get update
sudo apt-get install ia32-libs
and now all work fine.

суббота, 17 июля 2010 г.

How to convert many images in console (Windows)


1. Get "GraphicsMagick" utility and install it.
2. Create batch-file (.bat) and paste:

echo off
cls
set /p sd="Enter source directory (example: C:\source directory\ ) : "
if %sd:~-1%==\ (echo Ok) else (set sd=%sd%\)
set /p d="Enter destination directory: (example: C:\dest directory\ ) : "
if %d:~-1%==\ (echo Ok) else (set d=%d%\)
set /p s="Enter source extension (example: .tif ) : "
if %s:~0,1%==. (echo Ok) else (set s=.%s%)
set /p n="Enter necessary extension: (example: .png ) : "
if %n:~0,1%==. (echo Ok) else (set n=.%n%)
xcopy ^"%sd%*%s%^" /s /i ^"%d%^"
cd ^"%d%^"
for /r %%1 in (*%s%) do gm convert ^"%%~dpnx1^" ^"%%~dpn1%n%^" & erase /f /q ^"%%1^"

3. Run it.

пятница, 9 июля 2010 г.

After Ubuntu 10.04 Installation

apt-get remove gwibber empathy evolution pitivi
apt-get update
apt-get upgrade
apt-get install avant-window-navigator openssh-server compizconfig-settings-manager gimp flashplugin-installer gstreamer0.10-ffmpeg lynx postgresql pgadmin3 eclipse unrar p7zip thunderbird startupmanager