Archive

Archive for the ‘General’ Category

A cron script for php and apache errors

October 30th, 2009

I run 3 sites and have been bugged a lot by php errors and apache errors . So I wanted to figure out an automated and scheduled way to do this . I sat down and wrote a bash script which I now run on cron and relax . It is not perfect , but saves the headache and heartache . In this post I wanted to share this script with you hoping that it might be useful . Here is the script

Read more…

Shakthi Blogging, General , , ,

Mr.X saves the earth

September 3rd, 2009

Technorati :
Del.icio.us :

Shakthi General, Social Media

A little more into wordpress templates

August 26th, 2009


Template files are the building blocks of your WordPress site. They fit together like the pieces of a puzzle to generate the web pages on your site. Some templates (the header and footer template files for example) are used on all the web pages, while others are used only under specific conditions.

A traditional web page consists of two files:

  • The XHTML page to hold the structure and content of the page and
  • the CSS Style Sheet which holds the presentation styles of the page.

In WordPress, the (X)HTML structure and the CSS style sheet are present but the content is generated “behind the scenes” by various template files. The template files and the style sheet are stored together as a WordPress Theme. To learn more about creating Themes, read Theme Development.

The WordPress Page Structure

A simple WordPress web page structure is made up of three basic building “blocks”: a header, the content, and a footer. Each of these blocks is generated by a template file in your current WordPress Theme.

Header

Content

Footer

  • The header contains all the information that needs to be at the top – i.e. inside the <head> tag – of your XHTML web page, such as the <doctype>, <meta> tags and links to style sheets. It also includes the opening <body> tag and the visible header of your blog (which typically includes the title of your site, and may also include navigation menus, a logo bar, the description of your site, etc.).
  • The content block contains the posts and pages of your blog, i.e. the “meat” of your site.
  • The footer contains the information that goes at the bottom of your page, such as links to other Pages or categories on your site in a navigation menu, copyright and contact information, and other details.

(Source ; wordpress documentation)

Technorati : ,
Del.icio.us : ,

Shakthi Blogging, General ,

Photobie : A very good free image editing tool

August 16th, 2009

Photobie is image editing software that combines features amateurs can use with advanced tools professionals will appreciate. Photobie is free for personal use with no Pro upgrade to pay for – all features are free.I have been using it for a while now, it has all the things that most pro tools have . Platform : Windows .Try it !

31 Free & Powerful Photoshop Alternatives

Technorati : , ,
Del.icio.us : , ,

Shakthi General , ,

A cool app for the Samsung Omnia

August 12th, 2009

The Lead Programmer in the Video is my brother Sashi

Technorati : ,
Del.icio.us : ,

Shakthi General ,

Google Chrome : New Beta with bells and whistles

August 6th, 2009

This new beta is fitted with a customizable New Tab page, an improved Omnibox and a few basic themes that allow you to deck out your browser with colors, patterns and images. We’ve also built HTML5 capabilities into this release, as well as a few other nifty technical improvements that will help Google Chrome make the most of your network connection.


You can learn more on the Google Chrome Blog, or download the beta version of Google Chrome to give these new features a whirl. Being on the beta channel gives you a sneak preview of things to come with occasional rough edges, but it’s a great way for us to quickly churn out new features and get your feedback.

Technorati : , ,
Del.icio.us : , ,

Shakthi General , ,

Why should I move to Firefox 3.5 ?

August 2nd, 2009

1. Firefox 3.5 is the fastest version of Firefox ever. With a new JavaScript Engine and various other enhancements, it is around 20 to 40 times faster then the earlier versions of Firefox.

2. Private Browsing - Safari was first to introduce the private browsing concept, then Google Chrome calling it incognito mode. After that almost every browser came with the concept in one form or the other. Firefox is probably the last to implement private browsing, but better late, than never .So, if you are a Firefox fan like me, then you’ll be happy to see use this new feature.

To start a private browsing session, go to Tools menu and click on Start Private Browsing. You can also use the keyboard shortcut Ctrl+Shift+P to start it. Once you are browsing privately, no information about your browsing session, like history, cookies etc. is stored. To stop the private browsing session, go to Tools menu and click on Stop Private Browsing.

3. Forget About This Site -You can use this feature to erase the footprints (history, cookies etc) for a specific site on your browser. Its a kind of selective private browsing, you surf the internet normally but you can erase the history of any specific site. Very useful feature.

To delete the footprints for a specific site, go to History > Show All History. Then right click on the site that you want to remove and click on Forget About This Site. That’s it, the browser will now delete all the traces of this website from your browsing session.

4. You can also delete the history for last few hours of your browsing. To do so, go to Tools > Clear Recent History, and select the time interval for which you want to delete the history.

5. Tab Tearing – The feature that allowed you to pull out a tab from browser to create a new window. It was also introduced by Google Chrome, but now Firefox has also implemented the feature.

6. Earlier you could open the recently closed tabs by going to History > Recently Closed Tabs. But now there is a new option to open the recently closed windows. If you have accidentally closed a window with a number of tabs in it, then you can re-open it easily. Just go to Tools > Recently Closed Windows, and click on the window that you want to open.

7. You can now save videos just like you save an image. Simply right click on any video that’s been playing in Firefox, and click on Save Video.

Source : HackTrix

Technorati : ,
Del.icio.us : ,

Shakthi General ,

Need a consultant ?

July 31st, 2009

I am currently looking out for Consulting and Advisory engagements to be self-employed . Do Look at my profile and use the contact form to let me know if we can work together. Any help is a HUGE favor .

Technorati : ,
Del.icio.us : ,

Shakthi General ,

Where do I get help on Wordpress ?

July 31st, 2009

Besides the helpful WordPress forums and Codex, there are many sites dedicated to helping WordPress users use WordPress even better. WordPress help is everywhere. So how do you find it when you really need it?

The WordPress FAQ provides extensive answers to frequently asked questions. We’ve even included a document on how to use the WordPress support forums to get better results on your requests for help.

Before posting in the forums, since it is run by volunteers working hard over long hours when they could be doing something much more constructive, maybe you should start with a search.

To increase your search capabilities, you can add the Codex Searcher Plugin and search the Codex from your WordPress Administration Panels. Click on one of the search results and the page will open in a new window or tab so you can have the article open while working on WordPress.

Technorati : ,
Del.icio.us : ,

Shakthi Blogging, General ,

Yuck ! Virus in my USB !!

July 31st, 2009

The most easiest way to get your computer infected with a computer virus is to use your friends USB on your computer. You just copied a few songs and got all the computer viruses and worms for free

Ever wondered how does these virus “automatically” infect your computer as soon as you insert the USB? Well, its the magic of autorun.inf file in the USB drive. All the startup information of the virus is written in the autorun.inf file so that its the first program that runs when you insert the USB. You can read more about autorun.inf at this wikipedia page.

But now there is no need to worry even if you don’t know the syntax of the autorun.inf files. You can use AutorunEater to protect your computer from these virus.

How To Use AutorunEater To Stop Viruses In Infected USB Drives?

1. Grab the latest version of AutorunEater here.

2. Install it. Then right click on its icon in the notification area or system tray and click on Add Billy To System Startup option.

use autoruneater to remove usb virus

That’s it. Now AutorunEater will automatically start with Windows. It continuously scans all the removable drives just like an antivirus program scans your system files. As soon as you insert a USB drive, it will scan it for all the autorun.inf files and will prompt a warning window if a malicious autorun.inf file is found. You can then delete the file and the poor virus will never get a chance to infect your system

Source : HackTrix

Technorati : , ,
Del.icio.us : , ,

Shakthi General , ,