Archive for November, 2010

Art Of Living: How to enrol for course in Ashram or elsewhere online

Posted in @home, love, medical, society, work with tags , , , , on November 28, 2010 by saffrongeek

Hi ,

Please find the below as a post to help you with some information or steps amidst your technical stress.I have found them very useful tool to check my stress and clarity.

To see the month view of courses happening in Bangalore Ashram:

AOL Part 1 course , Nov 25 – 28 Read details here:

How to proceed with registeration.

Step 1: Create a login credentials going here:-
Step 2: Once account is activated clicking link go here
Register yourself as national or internation participant. Once done,
Step 3: Once you login with your login credentials you would reach this page automatically which got register button. Add yourself as main participant and add other participants as well here and selct accomadation type as five from drop down.

To have a idea you can use my login details:
Password:- hbmarar

Other details you can keep handy is as below:-

Center Information for: Bangalore Ashram

Address: 21ST KM,
Kanakpura Rd.Udayapura PO,
Bangalore South ,
Bangalore Ashram,
Karnataka ,
560 082
Phone: 91-80-28432274 / 73



Subversion: Installation and Basic Use

Posted in Apache, civiCRM, Dolphin, Drupal, Eclipse, Flex, IDE, Joomla, Linux, mysql, NoSQL, PHP, Technical, Uncategorized, Versioning, Wordpress, work with tags , , , , , , , , , , on November 16, 2010 by saffrongeek

Installing subversion:

saffrongeek@saffrongeek-laptop:/var/www/worksvndemo/drupal$ sudo apt-get install subversion

3 modes of svn setup & use:

svn with ssh=> especially, when the number of users is very few , this is best.

svn with svnserve=> custom server ‘svnserve’ is used when its not necessary to have high security,fine grained access.

svn with webdav=> when many projects and users.


svn architecture pic to help give a feel

Basic Setting up repository and familiarising:-

saffrongeek@saffrongeek-laptop:~$ sudo mkdir /var/svnrepo
saffrongeek@saffrongeek-laptop:~$ ls /var/svnrepo/
saffrongeek@saffrongeek-laptop:~$ svnadmin create /var/svnrepo/

saffrongeek@saffrongeek-laptop:~$ ls /var/svnrepo/
conf  db  format  hooks  locks  README.txt

Note:Recommended layout for a subversion project includes three folders called branches, tags and trunk. Now, @ webroot, I have my project folder wordpress which I would prefer to import to repository.

saffrongeek@saffrongeek-laptop:/var/www$ sudo svn import wordpress/ file:///var/svnrepo/wordpress/trunk -m “Initial import”


Adding         wordpress/wp-admin/themes.php
Adding         wordpress/wp-admin/custom-background.php
Adding         wordpress/wp-feed.php

Committed revision 1.

Now, deleted the project folder from webroot.

saffrongeek@saffrongeek-laptop:/var/www/wordpress$ rm -rf wordpress

checking out

saffrongeek@saffrongeek-laptop:/var/www/wordpress$ svn co file:///var/svnrepo/wordpress/trunk wordpress


A    wordpress/wp-admin/custom-background.php
A    wordpress/wp-feed.php
Checked out revision 1.

After checkout, watever we add folder or files, add the root of the folder added.

saffrongeek@saffrongeek-laptop:/var/www/wordpress$ svn add {foldername}

Any changes reflect on svn after a commit statement

saffrongeek@saffrongeek-laptop:/var/www/wordpress$ svn commit -m “Added folder and text file in it”

Same way, we can delete using ‘delete’ instead of ‘add’ above. Again after delete u have to commit to reflect this on server.

Subversion using svnserve:-

Note: SVN repo is created in my case at /var/svnrepo as u can find from above.

Setting the access rules first:-

Go to /var/svnrepo/conf/ and open svnserve.conf.

Uncomment following in the conf.

anon-access = read
auth-access = write
realm = wordpress
password-db = passwd

saffrongeek@saffrongeek-laptop:/var/svnrepo/conf$ sudo gedit passwd  ( I kept harry:rekha )

svnserve can now be started using => saffrongeek@saffrongeek-laptop:/var/svnrepo/conf$ svnserve -d -r /var/svnrepo/

Note: if u get this error, “svnserve: Can’t bind server socket: Address already in use” all u need to do is make ur attempt to start , asking svnserve to listen to another port. Default is 631.

saffrongeek@saffrongeek-laptop:/var/svnrepo/conf$svnserve -d –listen-port {someportnumber} -r /var/svnrepo/ should resolve bind problem.

I dint find svnserve init script in /etc/init.d/ but this script came handy for me. I took this from internet. note that u can also set crontab.

#File: /etc/init.d/svnserve
. /etc/rc.status
case “$1” in
echo -n “Starting svnserve ”
startproc -u $SVN_UID -g $SVN_GID -e svnserve -d -R -r $REPO_ROOT
rc_status -v
echo -n “Shutting down svnserve ”
killproc -TERM svnserve
rc_status -v
$0 stop
$0 start
echo “Usage: $0 {start|stop|restart}”
exit 1

After this, repo is accessible as svn://username@urlhostname. Also from ur local machine when u make a change and commit it , now since access permissions are defined, commit syntax luks as below

$svn commit -m "Added folder" --username harish
password for 'harish': rekha , pressed enter and it shows status of command execution.

Readable links which could be quite handy and useful:-

Eclipse IDE for Flex, LAMP, development with Debugger

Posted in Apache, civiCRM, Dolphin, Drupal, Eclipse, Flex, IDE, Joomla, Linux, mysql, PHP, Technical, Wordpress, work with tags , , , , , , , , , on November 14, 2010 by saffrongeek

LAMP Development to work with Drupal / Joomla / or any open source package!_development#Configure_Eclipse!_development_–_Part_2
Eclipse LAMP
Eclipse drupal


My Eclipse Available site updates ( Pre Flex integration completion )

<?xml version=”1.0″ encoding=”UTF-8″?>
<site url=”; selected=”true” name=”AXDT”/>
<site url=”; selected=”true” name=”Eclipse Web Tools Platform Repository”/>
<site url=”; selected=”true” name=”PHP”/>
<site url=”; selected=”true” name=”PHPEclipse Site”/>
<site url=”; selected=”true” name=”Update”/>
<site url=”; selected=”true” name=”update site:”/&gt;
<site url=”; selected=”true” name=”update site:”/&gt;
<site url=”; selected=”true” name=”update site:”/&gt;
<site url=”; selected=”true” name=””/>
<site url=”; selected=”true” name=”Zend Debugger”/>

Installing Eclipse

Posted in Apache, civiCRM, Dolphin, Drupal, Eclipse, Flex, IDE, Joomla, Linux, PHP, Technical, Wordpress, work with tags , , , on November 14, 2010 by saffrongeek

On Ubuntu Machine:-

Addressing primary pre-requisite:-

#. Open a shell terminal and type the following command or open system -> synaptic package manager

$ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

Now, let us install Eclipse via synaptic package manager. System-> Synaptic Package Manager, when open type “eclipse “.

Note:- I have selected following eclipse, eclipse-rcp, eclipse-platform, eclipse-emf, eclipse-platform-data, eclipse-pde, eclipse-plugin-cvs, eclipse-wtp, eclipse-dltk,eclipse-dtp, eclipse-jdt,eclipse-pdt, eclipse-gef etc..

Post Completion

Go to Applications->Programming->Eclipse.


Eclipse Terms Briefed

Posted in Apache, Drupal, Eclipse, IDE, Linux, mysql, PHP, Technical, work with tags , , , , , , on November 14, 2010 by saffrongeek

IDE: Integrated development environment

View: area that displays information about a file or resource

Workbench: The whole screen including  edit areafor files and a set of views around the edit area.

Perspective: Pre-configured layout with a specific purpose

Enabling Clean – Urls in Drupal 6.3

Posted in Apache, Linux, mysql, PHP, Technical, work with tags , , , on November 11, 2010 by saffrongeek

Drupal 6.3, Ubuntu , PHP5

How to reach clean url admin page:-
Administration Section->Site configuration->Clean URLs

Default Screen

Now, here I found that enable disable was not working. Somewhr I had read about JS based environment luk up happening for clean urls in threads. So I disabled JS from firefox browser. ( Edit menu->Preferences )


JS disabling gets the link to run test manually

After disabling, I refreshed clean url admin page. The page now gives me the “Run test for clean-url”.

I click on the link and it takes me to ‘Not found’ page.

What to review at this point??
#1. .htaccess got copied to root of your install
#2. If #1 is true, Test whether its seen by Apache for handling directives in it. For this type some random chars/text and restart server and access your install. This should break your install. If so, then it luks good. Remove the chars / text and continue to read the following.
#3. Uncomment ‘RewriteBase /drupal’. Note that ‘drupal’ used here is my folder name where I have drupal extracted in my webroot.

Now refresh your clean url admin page. I hope you got a smile seeing the change. 🙂 Cheers.

enable disable controls 🙂

Installing .air file in linux

Posted in Technical with tags , , , on November 4, 2010 by saffrongeek

I  was wondering how to join a online course using ModPlayer they send to me.. so how to install the player?? Below is the method to follow to get the player installed.

  1. First open  a terminal window
  2. Issue wget command to download from the below link:
  3. Move to the downloaded location
  4. Run this command:
    chmod +x AdobeAIRInstaller.bin
  5. Now run this command:
    sudo ./AdobeAIRInstaller.bin

The normal installer will open, install it.

From now whenever you download a .air file, just double click it and it will be installed.

Nice right 🙂

%d bloggers like this: