xdebug setup

Quick way

sudo apt-get install php5.6-xdebug

Long Way


http://xdebug.org/wizard.php

copy output of
$ php -i | xclip
or
<?php phpinfo(); ?>

paste into
http://xdebug.org/wizard.php

Follow the instructions on that site after you submit

$ wget http://xdebug.org/files/xdebug-2.2.4.tgz
$ tar -xvzf xdebug-2.2.4.tgz
$ cd xdebug-2.2.4
# install apt-get install php5-dev for phpize to work
$ phpize
$ ./configure
$ make
$ cp modules/xdebug.so /usr/lib/php5/20090626+lfs

or one command setup
$ sudo pecl install xdebug

Edit /etc/php5/apache2/php.ini or /etc/php5/apache2/conf.d/xdebug.ini
Edit /etc/php5/cli/php.ini (for phpstorm interpreter)

paste
[xdebug]
zend_extension= [extension provided in xdebug.org]
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.show_local_vars=1

for phpstorm interpreter to work you need to determine what is the “Loaded Configuration File” and paste the [xdebug] code in aswell (Loaded Configuration File => /etc/php5/cli/php.ini)
$ php -i | grep php.ini

restart webserver

https://forums.netbeans.org/post-114142.html#114142
if using port 9003 because I believe fastCGI is using 9000


PHPSTORM 7 setup
Firefox add-on:
The easiest Xdebug
JetBrains Firefox extension 0.6.0

File -> Settings -> PHP

File -> Settings -> PHP -> … (next to the interpreter input)
(debugger will only show if you edit the /cli/php.ini)

File -> Settings -> PHP -> Servers

File -> Settings -> PHP -> Servers -> Validate Remote Environment

File -> Settings -> PHP -> Debug

Run -> Edit Configurations

Create javascript debug

Make sure the listener is on

Run the javascript debugger then its going to ask to install the firefox add-on but it will only work after you restart your computer.

Also make sure you set a break point and that break point is at a point in page it can arrive because if an error the page will terminate without arriving at the break point.

Went to
http://www.jetbrains.com/phpstorm/marklets/
Generated xdebug bookmarklets with idekey in the site as PHPSTORM
added to firefox bookmark ‘start debugger’
click on the bookmarklet ‘start debugger’ while in my ‘localhost’ site

WORKED

resources:
http://ubuntuforums.org/showthread.php?t=525257

Installing OpenCV python

Tested on Ubuntu 12.04.4 Desktop (32-bit)
http://releases.ubuntu.com/12.04/ubuntu-12.04.4-desktop-i386.iso.torrent

See instructions at
http://www.samontab.com/web/2012/06/installing-opencv-2-4-1-ubuntu-12-04-lts/

I created a installation script
https://github.com/baligena/opencv_installation

but found a better more successfull shell one
https://github.com/jayrambhia/Install-OpenCV/blob/master/Ubuntu/2.4/opencv2_4_8.sh

updated 2014-08-19

Setup XMPP Openfire ubuntu

Setup instructions
https://library.linode.com/communications/xmpp/openfire/debian-6-squeeze

Web based client:
Here how to get it working on a Debian/Ubuntu server
Make sure you have HTTP Binding Enabled: from web panel go to Server Settings -> HTTP Binding -> Enabled – Clients can connect to this server using HTTP binding
Create /usr/share/openfire/resources/spank directory and copy the content of the sparkweb zip file
Next change permission:
$ chown -R openfire.openfire /usr/share/openfire/resources/spank

$ chmod -R 750 /usr/share/openfire/resources/spank
Now, restart server with
$ /etc/init.d/openfire restart
and open your web browser to http://your_server_ip:7070/webchat

resources:
http://community.igniterealtime.org/docs/DOC-2109#comment-6568