Tips & Tricks

mark on June 3rd, 2012

OWASP Joomla Vulnerability Scanner (aka Joomscan) is a perl script that can help web developers and web masters to identify possible security weaknesses on their deployed Joomla! sites.…

Share

Continue reading about Securing of their sites with Joomscan

mark on May 8th, 2012

Using irfanview tool you can save a png image with transparent color in background.…

Share

Continue reading about Save an image with transparent background

mark on May 8th, 2012

If you have some problems using CronoForm in your Joomla template (eg. the validation of form fields doesn’t work and there are problems with some template animations) probably there are conflicts between javascript libraries (jQuery and Mootools).

One possible solution is insert following code in the form tab “Load JS”:

jQuery.noConflict();…
Share

Continue reading about Resolve ChronoForms and JQuery conflict

mark on April 15th, 2012

Joomla is one of the world’s most popular open source CMS (content management system). With millions of websites running on Joomla, the software is used by individuals, small & medium-sized businesses, and large organizations worldwide to easily create & build a variety of websites & web-enabled applications.
Find out more about it at http://www.joomla.org/.…

Share

Continue reading about Install Joomla

mark on April 4th, 2012

Dolibarr ERP & CRM is a modern web software to manage your activity (contacts, invoices, orders, stocks, agenda, etc…), see http://www.dolibarr.org/ for more details.

How install it:

create new mysql database and relative user

fetch http://www.dolibarr.org/files/dolibarr.tgz
tar -xzf dolibarr.tgz
mv dolibarr-3.1.1 dolibarr
chmod -R 755 dolibarr
touch dolibarr/htdocs/conf/conf.php
chown www dolibarr/htdocs/conf/conf.php
mkdir dolibarr/documents
chown www dolibarr/documents
mv dolibarr /web_server_path/

surf at http://127.0.0.1/dolibarr/htdocs/install/
and follow instructions provided by installer

rm -R dolibarr/htdocs/install/
chown root dolibarr/htdocs/conf/conf.php…
Share

Continue reading about Install Dolibarr

mark on March 13th, 2012

This graph shows how network packets traverses linux netfilter and relative tables. It can be useful in code developing or to create  iptables/ebtables rules.…

Share

Continue reading about Netfilter packet flow graph

mark on March 12th, 2012

In a nutshell, TrackBack was designed to provide a method of notification between websites (more information).

Unfortunately, this mechanism is often a source of spam. You can disable it in two step.

(a) Disable trackbacks/pingbacks for new post/page:

Go in Setting->Discussion and uncheck “ ”

(b) Disable trackbacks/pingbacks for old post/page:

On machine where database lives (assuming mysql):

mysql
mysql> use database_name;
mysql> UPDATE wp_posts SET ping_status = 'closed';
mysql> bye

That all!…

Share

Continue reading about Block spam coming from wordpress trackbacks

mark on February 12th, 2012

in command mode:

1,$s/(press Ctrl+V+M)//g
…
Share

Continue reading about Remove ^M in vi

mark on February 9th, 2012

#create database
mysqladmin -u root create db_name

#dump database
/usr/local/bin/mysqldump -u user -p password -f --databases name_db > name_db.sql

#restore databse
mysql < dump.sql

#create new user
CREATE USER 'username'@'hostname' IDENTIFIED BY 'password';

#grant privileges
GRANT ALL PRIVILEGES ON db_name.* TO 'username'@'hostname' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
…
Share

Continue reading about Using mysql

mark on February 9th, 2012

CVSROOT=:pserver:username@hostname:/path_cvs
cvs login
cvs co
cvs commit
... see man cvs

How add directory tree:


cvs add root_dir
cd root_dir
find . -name \* -exec cvs add {} \;
cvs ci
…
Share

Continue reading about Using cvs