How To Start A Blog To Earn Money Online

Blogging is a fun way for an average person to share their interests with the world. In addition to being an easy way to share information, blogging is a good way for anyone new to the internet to earn some money online.

There are several online programs that pay bloggers for displaying relevant ads to their readers, and bloggers can promote specific products and receive a percentage of each successful sale. The only reason more people aren’t blogging is because not everyone knows how to start a blog. Fortunately, starting a new blog is not difficult even if you have little internet experience and limited start up funds.

How To Choose a Topic

Decide what you want to write about when you blog. Try to pick a subject that you are comfortable blogging about, and that you will be able to confidently answer questions about. Readers prefer visiting a blog run by someone who is obviously knowledgeable about their chosen subject. If you are starting your blog primarily to make money, use Google’s free Keyword Checking Tool to find out how many people search for information on your chosen subject each month. The higher the number, the greater your chances are of receiving a large number of monthly visitors. [Read more...]

How To Write A Blog Post Fast In 10 Minutes

In this post I am going to show you how to write a blog  post fast in 10 minutes without doing any research on that topic. If you have a blog then you know how much important it is to update your blog with unique content on a daily basis to keep your readers coming back for more and another benefit is Search Engines like Google likes blogs that are frequently updated.

But I know how much boring it is to write an article everyday, but recently I have found a new strategy that I use to write blog posts within 10 minutes and now I don’t even have to research for my topic to write the blog posts. So in this article I am going to show you how to write a blog post fast in 10 minutes.

The first thing to do is don’t waste your time on doing any researching, search on Google on what you are going to write about and then you will see sites that have already written blog posts about your topics so all you have to do is read the blog post and then rewrite it with your own words and remember to add some interesting lines to create your post more attractive to your visitor. This method alone can save you lot’s of time and you can concentrate on your other businesses.

Why wasting your time on doing research where Google has already done it for us. I have found this method very useful for my tech site. If you have lot’s of site then you must follow this method unless you can afford to hire a writer for you. But for people who can’t afford to hire a writer you can follow this technique to write blog posts fast for your blog.

Hide The Magento Region Field In Checkout Progress

For some country,it’s not necessary to let your customers enter a region or province in the checkout. Today, I will tell you some knowledge about Magento and Javascript.

You must have noticed that for countries where it’s required, the text input field changes into a dropdown with the available regions. Also, this dropdown is required. That’s not functionality we will change. What we will do is hide the field when it changes to a text field. Without touching one single template.

First of all, it’s useful to know how Magento determines whether the field is required or not. It simply looks up whether there are known regions for the selected country. If there are no known regions, Magento assumes the region not required. If there are, it shows a dropdown of available regions and makes the field required. So if you don’t want to show the region field for a particular country, simply remove all regions from the table directory_country_region. [Read more...]

The Way To Sort Regions Address In Magento

In Magento, we need to sort regions address,we can do this:

First,modify magento front code

Open ./app/code/core/Mage/Directory/Helper/Data.php

public function getRegionJson()
{
...
$collection = Mage::getModel('directory/region')->getResourceCollection()
->addCountryFilter($countryIds)
->load();
...
}

TO

public function getRegionJson(){
...
$collection = Mage::getModel('directory/region')->getResourceCollection()
->addCountryFilter($countryIds)
->addOrder('default_name', 'ASC')
->load();
...
}

Second,modify magento adminhtml code

Open ./app/code/core/Mage/Adminhtml/controllers/JsonController.php

public function countryRegionAction(){
...
$arrRegions = Mage::getResourceModel('directory/region_collection')
->addCountryFilter($countryId)
->load()
->toOptionArray();
...
}

To

public function countryRegionAction(){
...
$arrRegions = Mage::getResourceModel('directory/region_collection')
->addCountryFilter($countryId)
->addOrder('default_name', 'ASC')
->load()
->toOptionArray();
...
}

WordPress for Low PHP Memory Limit

Some WordPress installs run out of available PHP memory because the memory limit is set too low.
This can cause random errors or white screens that show no error at all. This is a good troubleshooting checklist for any WordPress plugin that is acting strange.

Check the PHP Memory Limit:
Install this WordPress plugin to see the PHP Memory Limit and Memory Usage in the WordPress admin dashboard:
WP-Memory-Usage

http://wordpress.org/extend/plugins/wp-memory-usage/

If the memory limit is 32M or less, try increasing it:

Memory usage is dynamic, meaning that when you are uploading images, the memory usage can easily double temporarily.

Try one of these methods for increasing the amount of memory a
PHP script may consume (most people just do #3)

1. If you have access to your PHP.ini file, edit the PHP.ini
If the memory_limit shows 32M or less, try increasing it:
memory_limit = 64M;

2. If you don’t have access to PHP.ini try adding this to an .htaccess file in the root directory of your site:
php_value memory_limit 64M

3. Try adding this line to your wp-config.php file:
define('WP_MEMORY_LIMIT', '64M');

4. Talk to your web host about their recommended solution.

Magento Get a Product’s Name instead Product ID

You can get product name

$_product = Mage::getModel('catalog/product')->load(__PRODUCT_ID__);
$manufacturer = $_product->getManufacturer();

You’ll know that you get the product’s id instead of it’s name. Which may or may not be what you would have expected. But the magento product model provides a nice helper method for getting an attributes value, in case it was not what you were expecting. Below is the code to get a product’s name instead of it’s ID.

$_product = Mage::getModel('catalog/product')->load(__PRODUCT_ID__);
$manufacturer = $_product->getAttributeText('manufacturer');

Magento Converting Currency From One to Another

Sometimes, we need to convert currency from one to another in magento, we can use the tips.

By using Magento’s Directory Helper class, you can easily convert between available currencies.

You have to make sure that you have loaded the exchange rates for the currencies you are converting.

// Currency conversion rates have to be available in the target currency
$fromCur = 'USD'; // currency code to convert from - usually your base currency
$toCur = 'EUR'; // currency to convert to
$price = Mage::helper('directory')->
    currencyConvert($tax->getPrice($product, $product->getFinalPrice(), false), $fromCur, $toCur);
// if you want it rounded:
$converted_final_price = Mage::app()->getStore()->roundPrice($price);

Microsoft Windows Server 8 Preview: Review

The Microsoft Windows Server 8 developer preview, launched during this month’s Build event, has adequate earnest enhancements to practical networking, storage and infrastructure government to aver critical IT seductiveness as a information centre platform.

While most is nonetheless different about Windows Server 8, including when it will be expelled and looseness costs, a pre-beta, developer preview reveals a extended landscape of improvements that — if successfully executed — aver a vital courtesy of IT managers during organisations of all sizes.

Catching adult with VMware?

While VMware and the newly minted vSphere 5 sojourn a undisputed personality of a x86 server virtualization field, Microsoft Windows Server 8 clearly shows signs of charity a rival challenge. eWEEK Labs’ work with a Windows Server 8 developer preview shows that a initial contours of Microsoft’s charity have a right mixture to be a tantalizing challenger to VMware.

I commissioned WS8 on a accumulation of server and modernized workstation hardware during eWEEK Labs, including a Lenovo ThinkServer RD210, ThinkServer TS200v, Acer AR-380 and an HP Z800 workstation. All systems were using Intel Xeon processors and were versed with between 4GB and 24 GB of RAM. Most of a systems had a singular network interface label (NIC), though a Acer and a ThinkServer RD210 had mixed NICs.

Deploying a core

When it ships, Windows Server 8 will be a initial book of a handling complement for that a core installation, rather than a full GUI installation, is recommended. I’ll come behind to a poignant changes in Server Manager, though for now, IT managers should cause in a core server designation in a following ways. Windows Server 8 will be significantly smaller, both in terms of memory distance and confidence footprint.

Windows Server 8 core now has a smallest requirement of 512MB RAM, a same as Windows Server 2008 R2. Unlike a prior version, Windows Server 8 core is designed for remote management. My tests also showed that Windows Server 8 core handles a further and dismissal of server roles most improved than a stream shipping chronicle of Windows Server. Although not tested, a Windows Server 8 Hyper-V purpose will be means to be delivered and run from a peep memory device. [Read more...]

How To Debug With JavaScript

When used effectively, JavaScript debuggers help find and squash errors in your JavaScript code. To become an advanced JavaScript debugger, you’ll need to know about the debuggers available to you, the typical JavaScript debugging workflow, and code requirements for effective debugging. In this article, we’ll discuss advanced debugging techniques for diagnosing and treating bugs using a sample web application.

On accessibility

This article highlights strengths and differences between debugging tools, and shows how we perform advanced JavaScript debugging tasks. Our methods often rely on the mouse; if you prefer to use keyboard shortcuts, or if you rely on assistive technologies such as screen readers to interact with these tools, you should consult the relevant documentation to determine how (or if) these tools will work for you.

The debuggers

With an increasing selection of good debuggers available, JavaScript programmers can gain a lot from learning how to use them. JavaScript debugger user interfaces (UIs) are becoming more polished, more standardized across products, and easier to use, thus making it easier for both experts and novices to learn JavaScript debugging.

Currently, there are debugging tools available for all major web browsers. [Read more...]

The Way To Calculate PHP Script’s Memory Usage

Have you ever wanted to know how much memory one of your PHP scripts uses when it runs? You might want this information if your script has a memory leak or takes a long time to execute. If that’s the case then there’s a great built-in function called memory_get_usage, which will display the exact amount of memory being used by your script. This function is really simple to use and will show you the amount of memory, in bytes, being allocated to the script. [Read more...]