Wednesday, September 17, 2008

Develop in Linux use Gambas



Gambas is similar to Visual Basic which suits me perfectly. I manage to compile the latest version 2.8.2 to night.
I ran into some problem due. There are a good description [for Ubuntu] at
http://gambasdoc.org/help/install/ubuntu?show
But I failed a little when running the package installer script from that page. When you copy it to the terminal you will end up will more than one row so only the first line was processed.
sudo apt-get install build-essential g++ automake autoconf libbz2-dev libgnorba-dev libfbclient2 libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl3-dev libgtkglext1-dev libqt3-mt-dev kdebase-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev build-essential libbonobo2-dev libcos4-dev libomniorb4-dev firebird2.0-dev librsvg2-dev libpoppler-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libartsc0-dev libesd0-dev libesd-alsa0 libdirectfb-dev libaa1-dev libarts1-dev kdelibs4-dev libffi4-dev libxtst-dev gettext

Copy the line above to avoid the line-feeds or copy it to a text editor first and remove the
line-feeds there.

Also read the Readme file in the /usr/src/gambas2-2.8.2 directory,
there is a good tip if the compiling fails (run ./reconf)

There is also a different make install commando: su -c "make install"
(the installation guide used: sudo make install).
I'm not the expert but su -c "make install" worked for me.


Thursday, September 11, 2008

Copy your ipconfig data the easy way

Run following command from Start->Run

cmd /k ipconfig /all > %temp%\ip.txt && notepad %temp%\ip.txt && del %temp%\ip.txt && exit

A notepad window will appear showing the ipconfig data.

Friday, September 05, 2008

What is lurking in svchost.exe

Run following command from Start->Run
cmd /k tasklist /svc /fi "IMAGENAME eq svchost.exe" > %temp%\svc.txt && notepad %temp%\svc.txt && del %temp%\svc.txt && exit
(works on XPpro, Vista I guess)

A notepad window will appear showing the services svchost.exe are running.

MySQL to MariaDB

 Here is a good description how to migrate to MariaDb MySQL to MariaDb Example of how to dump data from MySQL port=3307: mysqldump --user=ro...