linux
How to compile Spawner the Sql data generator on Ubuntu
1A little while ago I discovered spawner.
Spawner is a generator of sample/test data for databases. It can be configured to output delimited text or SQL insert statements. It can also insert directly into a MySQL 5.x database. Includes many field types, most of which are configurable
The problem is that the binary that’s available on sourceforge didnt work for me anymore so I decided to compile it myself so I decided to give out some pointers…
first of get the source via SVN
svn co https://spawner.svn.sourceforge.net/svnroot/spawner spawner
now install lazarus & some libs
sudo apt-get install lazarus-ide fpc-source fp-units-i386
Now launch lazarus & open up the program.lpr file from trunk.
Now just click on Run -> Compile All
You’ll find the binary in the bin directory in trunk.
Have fun !
Related Posts:
How to setup Xdebug on ubuntu 10.10
2Hello,
I’ve been trying to figure out how to actually set up Xdebug on my php configuration but I never managed to get the “Styled” version of Xdebug.
I finally figured out why so I decided to share it
First install xdebug with pecl
sudo pecl install xdebug
Then create a xdebug config file and add a link to your .so file
sudo nano /etc/php5/apache/conf.d/xdebug.ini # then add zend_extension = /usr/lib/php5/20090626+lfs/xdebug.so
Now here is the part that I couldn’t figure out.
In your php.ini file you need to enable display_errors & html_errors.
sudo nano /etc/php5/apache/php.ini # then look for display_errors & html_errors and set it to On.
finally restart apache
sudo /etc/init.d/apache2 restart
You’re all set !
Related Posts:
gmail, yahoo & live messenger contact inviter script
19Howdy,
you guys have probably noticed that most of the contact inviter script out there were broken now because most of the new api’s only support Oauth protocol instead of the good ol’ login / password authorization.
It’s great because now you don’t have to give the those website your login information but It is a bit more complicated for us developers to set it up so I’ve decided to create a small set of classes that will allow you to easily implement such a feature on your website.
First off all, you can check out the simple proof of concept by checking out the demo here and getting the script on gitHub here.
Some people who may know my blog will notice that I am in no way a designer so It doesnt look amazing but it works and that’s what this article is about ! ( if someone feels like he could make it look better you can get the code from github. see at the end of the article for more info).
Ok so now the fun stuff.
(more…)
Related Posts:
How to install OAuth support for PHP on ubuntu
6Hello everyone,
I recently had to install OAuth via PECL to make our twitter feed work and I had some issue figuring out how to install Oauth so I decided to share with you.
First of all you need to make sure you already have php-pear and php5-dev.
If you are unsure just run
sudo apt-get install php-pear php5-dev make
now run
sudo pecl install oauth
Personnaly I had an error while compiling
/usr/include/php5/ext/pcre/php_pcre.h:29: fatal error: pcre.h:
To fix that just install : libpcre3-dev
sudo apt-get install libpcre3-dev
Once it’s done just add extension=oauth.so at the end of your php.ini (located in /etc/php5/apache2/php.ini) file and restart Apache.
You should be good to go !
Have fun
Related Posts:
How to install anyterm on ubuntu Karmic Koala
11Hello everyone,
I had to install anyterm on a fresh karmic koala yesterday but i’ve ran into so many problems that I decided I’ll write a simple tutorial about this subject.
Anyterm is a software that allows you to acces a terminal over http(s) protocol, so it allows you to bypass most proxys.
For more info on anyterm please visit the official website at http://anyterm.org/
This tutorial will explain how to compile from the SVN source 1.1.29 but may be slightly diferent if you are trying to use another version.

Last comments