Archive

Archive for February, 2007

Wordpress cron. wp-cron.php

February 25th, 2007

Recently I read a nice article about wordpress built in cron support. If you are a plugin developer for wordpress then I can say it a must read

http://blog.slaven.net.au/archives/../verything-scheduling-in-wordpress/

Programming

You Know Google Crossed a Limit When…

February 11th, 2007
  • your doctor tells you that according to Google, you should be alright.
  • the horror flick displays life insurance advertisements whenever the slasher shows up.
  • you’re being dumped because of something you said in your blog 8 years ago.
  • your colleague asks why they’re not invited to the barbecue he’s seeing on your garden’s real time satellite imagery.
  • the Google news are so fully personalized, you’re always making the frontpage.
  • you’re searching for yourself to discover new stuff.
  • the Googlebot starts emailing you spelling corrections for your website.
  • Google’s book search scanned your diary.
  • Google’s personalized homepage puts up a special logo for your birthday.
  • Google’s Blogger service starts announcing uptimes, not downtimes.
  • Google understands you better than your spouse.
  • Google’s online word processor introduces a talking paper clip.
  • a Google ad is actually relevant.

source - http://blog.outer-court.com/archive/2007-02-09-n84.html

SEO

Lost is back !!!

February 10th, 2007

Almost a year now gone crazy with this television show Lost. This is really good and makes you a real addict. They drag a lot but quite interesting to watch.

lost televison show

Beware of getting addicted :-D

Personal

Free Lovely Image Editor for Mac

February 9th, 2007

Imagewell

Today I found a excellent tool to play with my images in mac. The software name is ImageWell. This is really amazing.!!!!

Editing Features

  • Resize, Rotate, Crop and Flip
  • Drop Shadows with opacity and color controls (OS X 10.3 or higher)
  • Add Textual or Graphical Watermarks to your image
  • Left, Right, Top, Bottom, & Diagonal Label Positions for Watermarks and font controls for text watermarks
  • Frame your image with a shape & add borders with color and width adjustments
  • Add talking balloons, thought clouds or text labels
  • Annotate your image with arrows, circles, squares or text
  • Add other draw objects such as octagons, rounded squares, and ovals.
  • Layering and Transparency controls for images and draw objects
  • Web Preview and Quality/Size adjustment tool before uploading to the web
  • Screen Grab feature grabs full screen, a selection on your screen, or window grab
  • Ruler guides
  • User Specific Options and Settings
  • PNG, JPG, TIFF support

Importing Features

  • Drag and drop an image into the well
  • Copy and paste an image into the well
  • Drag and drop an image from another application such as
  • iPhoto, a presentation, a word document, or from a web page
  • Take screen grabs and they will automatically appear in the image well for instant editing and exporting
  • Open image from the Main Menu or Open Recent from a list of your 15 most recent files.
  • Import images directly from your digital camera

Exporting Features

  • One click to send image or file to your iDisk, FTP, SFTP or WebDAV server
  • Drag and drop any file type onto the Send button to upload
  • Drag and drop the image to your computer to save it or save from main menu
  • Automatically creates URL or HTML tags of uploaded images for easy pasting into a discussion board post, blogs, email messages, or other HTML documents
  • Multiple server locations can be added, deleted and stored to your locations list
  • URL History for pasting multiple images/links all at once
  • Check for Overwrite on Server
  • Random Filename Generator

That is a big list. No harm in trying this wonderful software ;-) .

Personal

Centos + Cpanel + Subversion + Apache 2 + Proxy works

February 9th, 2007

My mission was install subversion on our server withour breaking cpanel. After so much googling I was able to do it. It took me like a week to figure out a method which will work without any issues on cpanel. The main issue was cpanel still doesn’t support apache 2 series. They do have support on edge version but it is highly unstable and doesn’t compile all the needed modules for php. In apache 1.3 the support for mod_dav is not very good. The only alternative for subversion was to use apache 2 series. So I started digging for articles.

I found there is a method to install both apache 1.3 and apache 2 together. Only thing is we have to use another port than 80 for apache 2. Let me go step by step like how I installed subversion.

1. Install subversion : This was really easy on centos. I just have to use yum and it does it all.

yum install subversion

This will install all libraries needed for subversion to work. Sometimes you may come across an issue with perl-uri. Just Google for “perl uri rpm” and you can download an install the same. In my case I had to download and install.

rpm -ivh perl-URI-1.35-2.2.noarch.rpm

2. The next thing was to create a repository.

cd /var/
mkdir -p repo/source/
svnadmin create /var/repo/source

With above commands I created a subversion repo named source. You can check inside the directory if lot of files are created. If created subversion works fine ;-) .

3. Now we can proceed with apache 2 installation. I choosed apache 2.0.59

./configure --prefix=/usr/local/apache2 --with-port=2080 --enable-dav --enable-dav-fs --enable-proxy --enable-rewrite --enable-so
make
make install
/usr/local/apache2/bin/apachectl start

Apache2 installed at port 2080 with dav , proxy and rewrite and started so simple ;-) .

4. Now we have to compile mod_svn for apache 2. For this I had to download the source of subversion. Please check the version of subversion installed. You can check with the help of yum.

yum info subversion

Next download the same of subversion source and you need to compile mod_svn.

./configure --with-apxs=/usr/local/apache2/bin/apxs
make
make install

Now mod_svn is installed and activated on apache2. We can configure apache 2 to serve svn files with the help of mod_dav.

5. Configure apache 2 for svn. To do this I had to change the settings httpd.conf of apache 2. This file will be located here /usr/local/apache2/conf/httpd.conf

<location>
        DAV svn
        SVNPath /var/repo/source
</location>

Restart apache2 once you made the above changes. Now you should be able to see the svn files from this url http://localhost:2080/svn/. You should be able to see the subversion files at revision 0. There is will be nothing in it as we have not added any files.

6. Now we have add proxy to apache 1.3 so that we can internally proxy the files between apache 2 and apache 1. You can download the source of currently installed apache 1.3 or you can find the same in /home/installd/buildapache/apache_1.3.xx/src/modules/proxy
Just goto that directory and run this command

/usr/local/apache/bin/apxs -i -c *.c

That will install mod_proxy to apache 1.3

7. You have add this setting to apache 1.3 conf file to proxy the http://localhost:2080/svn/ in standard port 80 of some website.
Add these line to any virtual host present in the conf file.

ProxyRequests Off
ProxyPass / http://locahost:2080/svn

I had added for the virtual host svn.imthi.com.

You can view my subversion at http://svn.imthi.com/ username : guest and password : guest.

All done. If you wish add authentication you can Google on how to add simple http authentication. You can even add policies if you want. The final setting should look something like this with authentication and polices

<location>
        DAV svn
        SVNPath /var/repo/source
        AuthzSVNAccessFile /var/repo/conf/svnpolicy
        AuthType Basic
        AuthName "Imthiaz Subversion repository"
        AuthUserFile /var/repo/conf/svnusers
        Require valid-user
</location>

For this svn book will be of great use. Have fun …!!! ;-)

Linux

Bahrain Flips!

February 8th, 2007

Flip Media Bahrain Team8th February 2007, Bahrain: It’s shaping up to be a record quarter for Flip Media Bahrain, as the Middle East’s largest independent interactive agency celebrates continued success at the beginning of 2007.

The last year has been very successful with a number of new account wins, including Sakana Bank, Gulf Holdings, Villamar, Al Areen and Akhbar Al Khaleej, as well as the ongoing relationship with Bahrain International Circuit, a Flip client since 2004.

According to Paul Poulose, Business Development Manager “We are very excited that in our very first year we have garnered the top accounts and have also won 3 awards at the Bahrain Web Awards all of which have let us raise the bar in the local market. The quality of work, innovation and depth of capabilities has made us the natural first choice among the leading organizations in the country and a complete portfolio of our work can be viewed at our website www.flip.bh”

With the latest enhancements in the core products such as Chameleon Flip Media’s content management solution and e-Commerce server platform, clients will be able to more easily integrate content, media, online shopping and user participation into their websites.

Additionally, the latest version of Brand Central, Flip Media’s proprietary ad-serving and tracking tool, allows regional advertisers to have unrivalled access to every aspect of their online campaign, in real time.

In order to support the growth of the local client base and gearing up for further expansion in the region, Flip Media has been strengthening the local teams. The latest appointment to the team sees Srusti Ranjan, who has won awards at the local Bahrain Web Awards and at the World Summit Awards, to oversee the various accounts locally.

Flip’s CEO Martin Diessner says “Bahrain is an important pillar for our organization and the expansion adds value to our regional clients who will benefit from the extended service offer. 2007 will see a growing focus on the development of e-Commerce enabled websites as well as an increase in the usage of online media as an integrated part of the marketing mix.”

Flip Media is also sponsoring the Global Leaders event with Ken Blanchard live in Bahrain on 21st March 2007 as interactive media partner. Dr Blanchard is one of the most insightful, powerful, and compassionate individuals in business today. He is most widely known for his phenomenal best-selling book, ’The One Minute Manager’, co-authored with Spencer Johnson, has sold more than 12 million copies and remains on best-seller lists.

For further information about Flip Media Bahrain visit www.flip.bh

Dubai