India’s fastest broadband: 8 Mbps Airtel Broadband Connection

Recently Airtel a leading private ISP in India announced the first ever 8 Mbps ADSL plans for Bangalore.

This step is in right direction. Personally, I’m happy with MTNL 2 Mbps plan. At work we have 155Mbps x 3 connections so I never worried about bandwidth.

The cost is as follows according to official website:
=> 4 GB limit/month INR. 1299
=> 8 GB limit/month INR. 2222
=> 20 GB limit/month INR. 4444
=> 50 GB limit/month INR. 9999
=> 100 GB limit/month INR. 19999

I wish it was bit cheaper, I need 20 GB plan around INR . 1500. Currently service only available in Bangalore and Chennai city.

How To Get Rid Of Stretch Marks

How do I get rid of stretch marks which are caused pregnancy, obesity or hormonal changes?

Stretch marks are a form of scarring on the skin. The worst part is they do not disappear completely. Stretch marks can be caused by any one of the following reasons:

  1. Weight gain / obesity
  2. Pregnancy
  3. Body (muscle) building
  4. Hormonal changes associated with puberty etc.

They can appear anywhere on the body, but are most likely common places are the:

  • Upper arms
  • Underarms
  • Breasts
  • Belly-button (abdomen)
  • Hips
  • Buttocks

Health Risk Associated With Stretch Marks

Stretch Marks pose no health risk in and of themselves, and do not compromise the body’s ability to function normally and may repair itself. However, in most cases you need to use any of the (or combination of all) following technique to get rid of stretch marks:

  1. Control your diet.
  2. Certain oils or creams can prevent the development of stretchmarks. However, you need to talk to your local health care service provider before using any oils or creams.
  3. Some people claims that cocoa butter is an effective moisturizer, byt no research studies have shown its ability to prevent or reduce stretchmarks.
  4. A surgical procedure called tummy tuck available. There is also fractional laser resurfacing for treating striae.
  5. Remember stretch marks are scars: they cannot be removed. Their appearance can only be reduced.

Combine Two WordPress RSS feed into a single Feed

If you have two blogs installed on same domain, you may want to combine two blogs feed into one blog feed. It will provide few benefits:

a) Ease of feed management

b) More readers

c) Better feed stats and much more

Required tools

=> MagpieRSS rss parser for php (download link)

=> FeedCreator lets you easily create RSS 0.91, 1.0 or 2.0, ATOM 0.3 and OPML 1.0 feeds with PHP (download link).

Download required tools

Download required tools to your desktop and upload to your server in myfeed directory using ftp / sftp client. Following instructions assumes that you have a shell access to server:
mkdir myfeed
cd myfeed
wget http://internap.dl.sourceforge.net/sourceforge/magpierss/magpierss-0.72.tar.gz
tar -zxvf magpierss-0.72.tar.gz
cp magpierss-0.72/*.inc .
mv magpierss-0.72/extlib/ .
rm -rf magpierss-0.72*
wget http://www.bitfolge.de/download/feedcreator_172.zip
unzip feedcreator_172.zip
rm *.zip *.txt

Create rss.php script

Now you have all required tools, just create rss.php script :

<?php
$TMP_ROOT = "/tmp";
$DOMAIN_NAME = "http://theos.in/";
$SITE_TITLE = "Your Site / blog Title";
$SITE_DESRIPTION = "Your Site / blog Description";
$SITE_AUTHOR = "Vivek";
$SITE_LOG_URL = $DOMAIN_NAME."logo.jpg";
$RSS_DIR = "/home/lighttpd/theos.in/http";
 
define('MAGPIE_DIR', $RSS_DIR.'/myfeed/');
define('MAGPIE_CACHE_DIR', $TMP_ROOT.'/rsscache');
 
/* include required files */
@require_once(MAGPIE_DIR.'rss_fetch.inc');
@include(MAGPIE_DIR.'feedcreator.class.php');
 
/* Set RSS properties */
$rss = new UniversalFeedCreator();
$rss->useCached();
$rss->title = $SITE_TITLE;
$rss->description = $SITE_DESRIPTION;
$rss->link = $DOMAIN_NAME;
$rss->syndicationURL = $DOMAIN_NAME."/rss/rss.php";
 
/* Set Image properties */
$image = new FeedImage();
$image->title = $SITE_TITLE. " Logo";
$image->url = $SITE_LOG_URL;
$image->link = $DOMAIN_NAME;
$image->description = "Feed provided by ". $SITE_TITLE. ". Click to visit.";
$rss->image = $image;
 
/**************************************************************
showSummery() - Fetch and build new feed
$url = Feed url
$num = Show the most recent posts (default = 10 )
$showfullfeed = true or false, for each article, show full text or summary (default false / summary text)
***************************************************************/
function showSummery($url,$num=10,$showfullfeed=false){
global $rss, $DOMAIN_NAME, $SITE_AUTHOR, $SITE_TITLE;
$num_items = $num;
@$rss1 = fetch_rss( $url );
if ( $rss1 )
{
        $items = array_slice($rss1->items, 0, $num_items);
        foreach ($items as $item)
        {
                $href = $item['link'];
                $title = $item['title'];
                if ( ! $showfullfeed ) {
                        $desc = $item['description'];
                }else{
                        $desc =  $item['content']['encoded'];
                }
                $desc .=  '<p>Copyright &copy; <a href="'.$DOMAIN_NAME.'">'.$SITE_TITLE.'</a>.  All Rights Reserved.</p>';
                $pdate = $item['pubdate'];
                $item = new FeedItem();
                $item->title = $title;
                $item->link = $href;
                $item->description = $desc;
                $item->date = $pdate;
                $item->source = $DOMAIN_NAME;
                $item->author = $SITE_AUTHOR;
                $rss->addItem($item);
        }
}
else
{
   echo "Error: Cannot fetch feed url - ".$url;
}
} // end showSummery()
//***************************************************************/
// Add your feed below:
// showSummery("http://path-to/url/feed",number-of-rss-items,false)
//****************************************************************/
showSummery("http://theos.in/feed/");
showSummery("https://www.cyberciti.biz/tips/feed/");
showSummery("https://www.cyberciti.biz/faq/feed/",5,false);
 
// get your news items from other feed and display back
$rss->saveFeed("RSS1.0", $TMP_ROOT."/rsscache/feed.xml");
?>

Customize script

Set temporary directory to cache rss feed, web server must be able to write to this directory.
$TMP_ROOT = "/tmp";
Set path to rss directory:
$RSS_DIR = "/home/lighttpd/theos.in/http";
Set your domain name, site title, description and author name:
$DOMAIN_NAME = "http://theos.in/";
$SITE_TITLE = "Your Site / blog Title";
$SITE_DESRIPTION = "Your Site / blog Description";
$SITE_AUTHOR = "Vivek";

Finally, set logo file name (replace logo.jpg with actual logo file name):
$SITE_LOG_URL = $DOMAIN_NAME."logo.jpg";

showSummery() function

showSummery($url,$num=10,$showfullfeed=false) fetch remote feed url and build new feed. It accept following arguments:

  • $url = Feed url
  • $num = Show the most recent posts (default = 10 )
  • $showfullfeed = true or false, for each article, show full text or summary (default false )

To combine two RSS feed http://theos.in/blog1/feed/ and http://theos.in/blog2/feed/, call showSummery():
showSummery("http://theos.in/blog1/feed/");
showSummery("http://theos.in/blog2/feed/");
showSummery("http://other-my-blog.com/feed/",5,true); // full feed

Test it

Open a web browser and type url http://your-domain.com/myfeed/rss.php

Download all files and required tools

=> You can download rss.php and required tools here (all GPL licensed except FeedCreator which is under LGPL)

Other tools – Yahoo Pipes

You can use 3rd party service such as Yahoo Pipes, which is an interactive feed aggregator and manipulator. Personally, I like to keep more control on my feed, hence I wrote this script.

Manifest Destiny

What is Manifest Destiny? Information about 19th-century belief that the United States had a mission to expand, spreading its form of democracy and freedom.

Manifest Destiny is nothing but 19th-century belief that the United States had a mission to expand, spreading its form of democracy and freedom. The supporters of Manifest Destiny claimed or believed expansion some sort of good destiny.
Continue reading “Manifest Destiny”

Unlocked Cell Phones: How To Save Money and Have Most Flexibility

Cell phones can be locked using a SIM lock capability built into GSM phones by mobile phone manufacturers. Most network providers (such as AT&T, Vodafone, T-Mobile, and RIL etc) use this capability to restrict the use of these phones to specific countries and network providers. Generally, phones can be locked to accept only SIM cards based on the International Mobile Subscriber Identity.

Cell phones can be locked using a SIM lock capability built into GSM phones by mobile phone manufacturers. Most network providers (such as AT&T, Vodafone, T-Mobile, and RIL etc) use this capability to restrict the use of these phones to specific countries and network providers. Generally, phones can be locked to accept only SIM cards based on the International Mobile Subscriber Identity.
Continue reading “Unlocked Cell Phones: How To Save Money and Have Most Flexibility”

Prime Numbers Up To 100

What are all the prime numbers from 1-100? The first 25 prime numbers are – 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

A prime number is a positive integer (natural number) that has exactly two positive integer factors, 1 and itself. There are 25 prime numbers between 1-100. The first twenty-five prime numbers are:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97
The number 1 is by definition not a prime number.

How Many Ounces In A Gallon

Find out gallon per ounce or vice versa. The U.S. fluid ounce is defined as 1⁄128 of a U.S. gallon.

The ounce (oz / â„¥) is a unit of mass. The most commonly used of which are equal to approximately 28 grams. A gallon is a measure of volume of approximately four litres.

Gallon per ounce

  1. 16 ounces = 1 Pint
  2. 32 ounces = 1 Quart
  3. 128 ounces = 1 Gallon

The U.S. liquid gallon is legally defined as 231 cubic inches, and is equal to exactly 3.785411784 litres or about 0.133680555 cubic feet. This is the most common definition of a gallon in the United States. The U.S. fluid ounce is defined as 1⁄128 of a U.S. gallon.

Source: How Many? A Dictionary of Units of Measurement

Download ZoneAlarm Anti-Spyware for FREE

From the ZoneAlarm web site:

The security experts behind ZoneAlarm urge you to always patch your operating systems and browsers whenever an update is available. More importantly, take extra precautions to protect your PC for those times when a patch may not be available. That’s why we are offering you ZoneAlarm Anti-Spyware for FREE today (Nov 14, 2007), Patch Tuesday, only. Don’t miss out on this incredible opportunity to protect your PC and stay safe online!

=> Download here