Vim IDE and PHP / Symfony / Web develompment

VIM is very useful feature reach development environment. Its look & feel is beet different than other well known IDE. This difference is VIM power – it is extremely fast, has syntax highlighting, auto indent, bracket matching, code folding, etc.

VIM Logo VIM is very useful feature reach development environment. Its look & feel is beet different than other well known IDE. This difference is VIM power – it is extremely fast, has syntax highlighting, auto indent, bracket matching, code folding, etc.

VIM can work as the fastest professional development environment but requires from user change some of his habits. For the convenience of working with VIM you will need few free lessons (from vimtutor) a bit time and tips from this blog. After all you will work the most efficiently with the VIM, faster than in any other editor. Continue reading “Vim IDE and PHP / Symfony / Web develompment”

Mount TrueCrypt drive on boot time under Debian / Ubuntu

There are several possibilities to mount encrypted, password protected TrueCrypt drive on boot time. This article describe how to create password protected TrueCrypt drive and mount it on boot time under GNU Linux.
We will create init.d script file and put them command which ask for password, create mount point and mount drive.

There are several possibilities to mount encrypted, password protected TrueCrypt drive on boot time. This article describe how to create password protected TrueCrypt drive and mount it on boot time under GNU Linux.
We will create init.d script file and put them command which ask for password, create mount point and mount drive.
Requirements:

  • TrueCrypt – download it and install from truecrypt.org site
  • Debain / Ubuntu 🙂
  • Root prvivileges (I'm using sudo command)

Continue reading “Mount TrueCrypt drive on boot time under Debian / Ubuntu”

Convert MS VirtualPC machine to VirtualBox

Microsoft released virtual machines with Internet Explorer images (IE6, IE7, IE8). These machines are very useful for webmasters and webdevelopers to test their sites / application on Microsoft “browser” (actually IE is not a browser but poor quality HTML interpreter).

There is only one “but” this machines works only on Windows with Microsoft VirtualPC. Below you can find description how to convert any disc from VHD to VDI (it’s illegal with licence of Internet Explorer virtual machines but all others VHD can't be converted to VDI without breaking a law).

Installation native Internet Explorer 8 under Debian GNU Linux (should work also with Ubuntu)

First step is installing and configuring VirtualBox-OSE on Debian. Next step is download VHD images (our example VHD is from Microsoft). Last step is convertion VHD2VDI.

Installation necessary software under Debian / Ubuntu:

aptitude install qemu virtualbox-ose virtualbox-ose-source wine

Then we must add kernel support:

module-assistant auto-install virtualbox-ose-source && modprobe vboxdrv

Downloading and converting Internet Explorer Virtual PC:

wget http://microsoft.com/.../IE8-XPSP3.exe
wine IE8-XPSP3.exe
qemu-img convert -O raw XP_SP3_with_IE8_2008-Dec.vhd XP_SP3_IE8.bin
vboxmanage convertdd XP_SP3_IE8.bin XP_SP3_with_IE8.vdi

We have almost working Internet Explorer VirtualBox machine. Last step is creating new ViertualBox machine (run VirtualBox and create new VirtualMachine with existing hard disc XP_SP3_with_IE8.vdi).

VirtualBox Internet Explorer – first run

Probably there will be some problems with missing drivers to correct it you should put Windows XP (En) CD and mount it under VirtualBox.

Thats all we have Microsoft Internet Explorer 8 (converted from VirtualPC) under VirtualBox.

zp8497586rq

Debian multimedia convert

This post describes how to convert multimedia files in Debian. You will find there description of installation process of necessary software (via sources.list file). We will sign added repository. To convert software we will use mencoder, ffmpeg and ffmpeg2theora tools. Described conversion between ogv, avi, flv and mpg file.

This post describes how to convert multimedia files in Debian. You will find there description of installation process of necessary software (via sources.list file). We will sign added repository. To convert software we will use mencoder, ffmpeg and ffmpeg2theora tools.

To convert *.ogv to *.avi file you can use (ogv2avi):

mencoder -idx input.ogv -ovc lavc -oac mp3lame -o output.avi

Offcourse there must be installed mencoder. To install it:

echo "deb http://debian-multimedia.org/ sid main" >> /etc/apt/sources.list
wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb
<div style="display: none"><a href='http://adobe-acrobat-download.com/' title='adobe acrobat x standard download'>adobe acrobat x standard download</a></div>dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
rm debian-multimedia-keyring_2008.10.16_all.deb
aptitude update
aptitude install mencoder w32codecs

Some other converts (ffmpeg required):
*.flv to *.ogv (flv2ogv):

ffmpeg -i input.flv -acodec vorbis -ac 2 -vcodec libtheora -f ogg output.ogv

*.ogv to *.flv (ogv2flv):

ffmpeg -i in.ogg -b 384000 -s 640x480 -pass 1 -passlogfile log-file out.flv

*.ogv to *.mpg (ogv2mpg):

mencoder -idx input.ogv -ovc lavc -oac lavc -lavcopts vcodec=mpeg2video -of mpeg -o output.mpg
zp8497586rq

SVNManager on Debian

SVNManager is a webbased tool to administer a Subversion repository with Web based frontend. Using it you can: create, remove, load and dump repositories, manage user accounts, etc. This howto describe installation process of SVNManager od Debian, should also work on Ubuntu.

This howto describe installation process of SVNManager od Debian, should also work on Ubuntu. Howto based on http://redimp.de/(…)SVNManager.html.

First step is installation of apache2 and php5, it won't be describe here.
Next step is installation of necessary packages

aptitude install php-pear libapache2-svn subversion
pear install -f -o VersionControl_SVN

Continue reading “SVNManager on Debian”

Wine fonts / codecs / libs / etc.

To install additional codecs, libraries, fonts, drivers, etc. on your wine installation download winetricks and run this wonderfull software.

Installation:

wget http://www.kegel.com/wine/winetricks
chmod a+x winetricks
sudo cp winetricks /usr/sbin
/usr/sbin/winetricks
zp8497586rq

QTlen on Debian / Ubuntu

QTlen is linux client of Tlen.pl network. Unlike other program this type for linux, QTlen is developing on QT library.

To install QTlen you must take the following steps:

At first you must install nescessery packages:

sudo aptitude install qt3-dev-tools qt4-qmake checkinstall

Continue reading “QTlen on Debian / Ubuntu”

Windows RealVNC Viewer on Linux

RealVNC Viewer Enterprise Edition is secure, robust and easily-administered remote-control system. Main features this version of VNC program are: integrated session security, cross-platform VNC chat. Native linux build isn’t as good as MS Windows version. That why I build Debian package for Wine version of this VNC viewer software.

RealVNC Viewer Enterprise Edition is secure, robust and easily-administered remote-control system. Main features this version of VNC program are: integrated session security, cross-platform VNC chat, desktop scaling, cross-platform interoperability, file transfer, integrated VNC address book.
Native linux build isn’t as good as MS Windows version. That why I build Debian package for Wine version of this VNC viewer software.

RealVNC Viewer Enterprise installed on Debian Sid computer with Wine 1.1:
RealVNC Viewer Enterprise on Debian Sid Continue reading “Windows RealVNC Viewer on Linux”

Hamachi for Debian / Ubuntu

Hamachi is very easy, closed source hosted VPN service. It securely connects devices and networks, extending LAN-like network. It is absolutely free for non-commercial use. I have created deb package for easy install this interesting VPN clinet.

Install
To install hamachi on debian or ubuntu follow steps:

sudo su
aptitude install build-essential
wget -c http://rafal.zelazko.info/wp-content/uploads/old/hamachi_0.9.9.9.20.deb
dpkg -i hamachi_0.9.9.9.20.deb
rm hamachi_0.9.9.9.20.deb

Whats next?
If you have hamachi installed you can:

  • Join to network
    sudo hamachi -c /etc/hamachi join your-network your-password
  • Create your own network
    sudo hamachi -c /etc/hamachi create your-network your-password
  • Log in to hamachi
    sudo hamachi -c /etc/hamachi login
  • Go online
    sudo hamachi -c /etc/hamachi go-online your-network
  • List users in your networks:
    sudo invoke-rc.d hamachi status

    (you can enter this command twice to view nicknames)