Saturday, September 22, 2012

Classification Essay Tips

Division & Classification Essay Tips



Below are classification essay techniques to remember while making classification essay outline.

  • After extensive reading and gathering data, you must underline the important points and highlight them and sort out the things with same characteristics and name it as a separate group.
  • Start the classification essay with an interesting introduction and it should be quite straightforward in such a way that only the main division and classification essay idea or topic continues to be discussed. The introduction states the division and classification essay thesis statement of classification essay titles.
  • The developing paragraphs define each type of the category of the thing or place which is being classified in the classification and division essay topics. It is advisable to discuss only one category in one paragraph. You can also go from small to big category.
  • Provide a clear description of the category through relevant examples.
  • Conclusion is to summing up the essay's main points or providing a final view point about the topic.Conclusion leaves a final impact on reader's mind and it is written in three or four convincing sentences.

Tuesday, September 4, 2012

PHP multidimensional arrays with recursive function


in_array() does not work on multidimensional arrays. You could write a recursive function to do that for you:
function in_array_r($needle, $haystack, $strict = true) {
    foreach ($haystack as $item) {
        if (($strict ? $item === $needle : $item == $needle) ||  
(is_array($item) && in_array_r($needle, $item, $strict))) {
            return true;
        }
    }

    return false;
}

Usage:

$b = array(array("Mac", "NT"), array("Irix", "Linux"));
echo in_array_r("Irix", $b) ? 'found' : 'not found';

Monday, August 27, 2012

MYSQL- Restoring Your Database From Backup


 Using phpMyAdmin

phpMyAdmin is a program used to manipulate databases remotely through a web interface. A good hosting package will have this included. For information on backing up your WordPress database, see Backing Up Your Database.
Information here has been tested using phpMyAdmin 2.8.0.2 running on Unix.

Restore Process

A visual tutorial for phpMyAdmin 2.5.3 can be found at Podz' WordPress Restore guide.
  1. Login to phpMyAdmin.
  2. Click databases, and select the database that you will be importing your data into.
  3. You will then see either a list of tables already inside that database or a screen that says no tables exist. This depends on your setup.
  4. Across the top of the screen will be a row of tabs. Click the Import tab.
  5. On the next screen will be a Location of Text File box, and next to that a button named Browse.
  6. Click Browse. Locate the backup file stored on your computer.
  7. Make sure the SQL radio button is checked.
  8. Click the Go button.
Now grab a coffee. This bit takes a while. Eventually you will see a success screen.
If you get an error message, your best bet is to post to the WordPress support forums to get help.

Using Mysql Commands

The restore process consists of unarchiving your archived database dump, and importing it into your Mysql database.
Assuming your backup is a .bz2 file, creating using instructions similar to those given for Backing up your database using Mysql commands, the following steps will guide you through restoring your database :
1. Unzip your .bz2 file:
user@linux:~/files/blog> bzip2 -d blog.bak.sql.bz2
Note: If your database backup was a .tar.gz called blog.bak.sql.tar.gz file, then, tar -zxvf blog.bak.sql.tar.gz is the command that should be used instead of the above.
2. Put the backed-up SQL back into MySQL:
user@linux:~/files/blog> mysql -h mysqlhostserver -u mysqlusername
 -p databasename < blog.bak.sql

Enter password: (enter your mysql password)
user@linux~/files/blog:> 

Connect to MS SQLServer database in putty



Connect to MS SQLServer database in putty

isql -v 192.100.100.1/database username password

Thursday, June 14, 2012

Writing Effective Comparison or Contrast Essays

Block Arrangement (four paragraphs)
I. Introduction in which you state your purpose which is to discuss the differences between vacationing in the mountains or at the beach
II. Mountain
A.  Climate
B.  Types of Activities 
C.  Location 
III. Beach
A.  Climate
B.  Types of Activities 
C.  Location 
IV. Conclusion
A second way to organize this material is to discuss a particular point about vacationing in the mountains and then immediately to discuss the same point about vacationing at the beach.  This is called point-by-point or alternating arrangement.  An outline of this organization follows.
Point-by-Point or Alternating Arrangement (five paragraphs)
I. Introduction in which you state your purpose which is to discuss differences between vacationing in the mountains or at the beach
II. First difference between mountains and beaches is climate
A.  Mountains
B.  Beach
III. Second difference between mountains and beaches are types of activities
A.  Mountains
B.  Beach
IV. Third difference between mountains and beaches is the location
A.  Mountains
B.  Beach
V. Conclusion

How to Write a Compare and Contrast Essay

1- Research and classify. In order to effectively write a compare / contrast essay, the writer must first decide what the similarities and difference between the topics are. Some research can be done over internet using Wikipedia, wikiuncle, e-journals,e-books, etc. A Venn diagram can also be of great use to visualize and organize the structure of the paper.
2-Address each argument separately. There are two distinct strategies in writing such an essay. The first is to use each paragraph to address both topics. The second is to address one topic first, then the other topic. This will then be followed by a period of analysis that addresses both topics. In either case, it is important for the writer to decide ahead of time and structure the writing and research accordingly.

3-You can use this pre-defined outline to build your compare/contrast essay on:
  • Introduction
    • Present the basic information about the topics to be compared and contrasted
    • Narrows the focus to allow the writer to easily present information on the topics
    • Provides a thesis statement that allows the reader to understand, in a general sense, the information that will be presented on the topics
  • Body Paragraphs
    • Depending on the chosen structure, either addresses both topics in the same paragraph or addresses a specific topic
    • Falling in line with the thesis, shows how the topics are similar
    • Also shows how the topics are different
    • Evidence will be provided to back up the writer’s suppositions
  • Conclusion
    • Summary of the evidence presented
    • Restatement of the thesis
    • Address the significance of the two topics being compared and contrasted

Friday, June 8, 2012

How to Write a Compare/Contrast Essay


How to Write a Compare/Contrast Essay

Compare and contrast essays are the other big essay types in academic writing. These essays will follow a specific question and are fairly easy to complete. There are several ways to write this type of essay. The most important thing to remember is structure. Many wonderful essays fall victim to the woes of bad structure, making any ingenuity to fall by the wayside. Go over the rules on how to write a general essay, and then structure your compare/contrast essay in one of the following two formats:

    Introduction

    Your introduction — like the five-paragraph-essay, should open generally (with a quotation, anecdote, generalization), and lead into the thesis statement.
    Topic 1

    This next portion of your essay (which may consist of one paragraph or several) should cover only the first topic of the comparison and contrast. Compare/Contrast essays take two topics and illustrate how they are similar and dissimilar. Do not mention topic 2 in this first portion.
    Topic 2

    This next portion of your essay (which may also consist of one or more paragraphs) should cover the second of the two topics. Do not discuss Topic 1 in this section. Since you have already gone into great detail about it, you may allude to Topic 1 briefly; however, do not analyze Topic 1 in this section. This portion of the paper is to discuss Topic 2 in great detail.
    Topics 1 and 2 Together

    Now that you have analyzed both Topic 1 and Topic 2 independently, now it is time to analyze them together. This section may also be one or several paragraphs.
    Conclusion

    The conclusion — like the introduction — should be a generalization of the thesis. This paragraph should express your certainty and absolute knowledge on the subject matter. You should reaffirm your thesis (essentially restate it in new words) and show how you've proven it.

OR

    Introduction

    Your introduction — like the five-paragraph-essay, should open generally (with a quotation, anecdote, generalization), and lead into the thesis statement.
    All Comparisons (Topics 1 and 2)

    This section — which should consists of several paragraphs — should go through all similarities you find in the two topics on which you are writing. There should be at least three comparisons (essentially three short body paragraphs) in which you give an example from both topics of comparisons in each.
    All Contrasts (Topics 1 and 2)

    This section — which should consist of several paragraphs — should go through all differences you find in the two topics on which you are writing. There should be at least three contrasts (essentially three short body paragraphs) in which you give an example from both topics of comparisons in each.
    Conclusion

    This conclusion is wrapping up everything you have just proven in your paper. It should restate the thesis in a new, more official way, and you should feel quite confident in your writing.

Here is a quick breakdown on how the Compare-Contrast Essay should appear:

    Type A:
        Paragraph 1: Introduction (with Thesis)
        Paragraph 2: Topic 1 (Comparison a)
        Paragraph 3: Topic 1 (Comparison b)
        Paragraph 4: Topic 1 (Comparison c)
        Paragraph 5: Topic 2 (Contrast a)
        Paragraph 6: Topic 2 (Contrast b)
        Paragraph 7: Topic 2 (Contrast c)
        Paragraph 8: (Optional) — Comparisons/Contrasts together (any topic)
        Paragraph 8: Conclusion
    Type B:
        Paragraph 1: Introduction (with Thesis)
        Paragraph 2: Comparison a (Topic 1&2)
        Paragraph 3: Comparison b (Topic 1&2)
        Paragraph 4: Comparison c (Topic 1&2)
        Paragraph 5: Contrast a (Topic 1&2)
        Paragraph 6: Contrast b (Topic 1&2)
        Paragraph 7: Contrast c (Topic 1&2)
        Paragraph 8: Conclusion