Moneybookers as a Paypal alternative for freelancers

By | April 21, 2010

Recently Paypal has faced some issues with RBI which has resulted in withdrawals being reversed etc. Moneybookers is a service similar to Paypal. Moneybookers is available as a withdrawal option in Scriptlance , Getafreelancer , Odesk. Moneybookers charges 1.9% + 0.29 EU for receiving commercial payments compared to ~ 4% in paypal. In Moneybookers the… Read More »

Install SPICE on Ubuntu 9.10 64bit Karmic Koala

By | April 14, 2010

SPICE (Simulation Program with Integrated Circuit Emphasis) is a analog circuit simulator. To install on Ubuntu get the .deb files from : http://sourceforge.net/projects/ngspice/files/ Look for 17.binary.64bit directory. http://sourceforge.net/projects/ngspice/files/ng-spice-rework/17.binary.64bit/ Download ngspice_17.0.0-1_amd64.deb xspice_17.0.0-1_amd64.deb The both depend on each other so install like dpkg -i *.deb or dpkg -i ngspice_17.0.0-1_amd64.deb xspice_17.0.0-1_amd64.deb Ubuntu repository has a tools called :… Read More »

Install php xdebug profiler on ubuntu

By | April 7, 2010

Install Xdebug Install the packages from synaptic package manager sudo apt-get install php5-dev php5-xdebug Configure php to use xdebug extension Locate the path to xdebug.so file [email protected]:/$ find / -name ‘xdebug.so’ 2> /dev/null /usr/lib/php5/20060613/xdebug.so An alternative command to find the xdebug.so file is using dpkg and grep as follows $ dpkg -L php5-xdebug | grep… Read More »

Cgi bin directory for each user in Apache

By | March 21, 2010

This page http://httpd.apache.org/docs/2.2/howto/cgi.html describes how to give each user his own cg-bin directory. The following lines should be added to the Apache configuration file http.conf : Along with this there are some more points to be kept in mind. If you .htaccess file has a section like this : then putting the cgi configuration will… Read More »

PATH_INFO, ORIG_PATH_INFO, APACHE and PHP

By | October 4, 2009

AcceptPathInfo Directive The AcceptPathInfo directive is a useful feature of apache. It detects any path information in a url following the actual script name and passes it to php as an environment variable in $_SERVER superglobal. Php mvc based frameworks often use such urls that have additional path information after a script name. This is… Read More »

Install apache mod rewrite on windows

By | September 30, 2009

In httpd.conf file the following line should be uncommented : LoadModule rewrite_module modules/mod_rewrite.so by removing the # sign before it. Then comes a section which looks like this : <Directory "C:/Apache2.2/htdocs"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews #… Read More »

List foreign keys in mysql

By | September 5, 2009

information_schema The following query will list out the foreign keys in mysql. It finds it out from the information_schema database. The output is a clean table listing out all foreign keys from all databases +———————–+————-+ | foreign key | references | +———————–+————-+ | orders.client_id | clients.id | | line_items.order_id | orders.id | | line_items.product_id |… Read More »