How we can connect amazon servers in putty using key pair ec2

In order to connect Amazon  Linux servers we have to use putty from our windows computer. But as other servers amazon will not allow connect with username and password through putty. We have to use the private and public key pair.

During the installation of the server it will ask for generate the key pairs, if there is no key available in that particular region. In a region only one pair of key is enough for many servers. the public key pair we can down load to our local computer during generating the key.

We can generate new key at any time. For generating key we have to go for ec2 dash board–network and security–key pairs, then click on create key par and give name for the key and click generate and down load.



how can disable the ssl mode of webmin and virtualmin

Some time we may not have a valid SSL certificate with us. Then our webmin and virtualmin control panel will always display the security warning in the web browser. But webmin and virtualmin have its default ssl certificate. but it is not valid in the browsers.

Because of the invalid certificate the browser will make hevely delay for webmin and virtualmin. In order to avoid this we can disable the ssl mode of the webmin and virtualmin as described below.

  1. Open the webmin control panel as root user, by typing serverip:10000
  2. Go to the option others —File manager — etc — webmin — mini server.conf
  3. change the lin ssl=1 to ssl=0
  4. Save the file and exit.
  5. reboot the system
  6. Before trying without ssl mode in the browser please delete and clear all browsing data and cookies.

Now your webmin and virtualmin is ready to work without ssl mode.

Amadeus and Monica (Movie Review)

One of the most loving movies available, Amadeus and Monica happen to be two young adults who meet, fall in take pleasure in and have a lifetime of their own, the perfect match for every other. As they become more serious, they understand that they have anything special, something which could make their particular life finish. A 16-year-old Sicilian (Domenico Castelluccio) provides the attention of an Mafia strike man, after refusing to go through the prearranged marital relationship with a second woman he loves. When the Mafia strike man discovers that the teenage has a concealed love, he has been determined to adopt his payback on this female for years to come, nevertheless there are some persons who also oppose his plans, especially her mom, who wants to preserve her little princess safe.

When Amadeus and Monica meet, Monica is the more self-assured and self-employed girl who wants to live her own your life, while Amadeus is more in her position as a better half. Eventually, however , a little misconception arises among them when the young Amadeus accidentally gets Monica pregnant and decides to make the baby while his individual, even though he has already by law married.

But , one of the most disturbing component to this motion picture is once Monica’s mother comes back and takes over the family home. The film requires us in to the lives of Amadeus and Monica’s different loved ones, whom soon notice that their favorite child is being taken away from them by simply someone who desires to control their particular family and produce it his own. In the final analysis, the relatives eventually realizes what’s actually going on and decides to save lots of the few, despite the fact that that they feel that all their life is a lot better than Monica’s because she has previously found a true partner. This kind of story is among the greatest suggestions of how true love can easily triumph over selfishness, as you can see there are a lot of people to choose from who are going to put their lives on maintain to have real love for someone.

Although there are numerous scenes in which the couple happen to be talking about tips on how to save wedding, the best location in the motion picture is the an individual where they will get ready to leave the house meant for the wedding. As the rest of the people in the wedding party are getting too nervous about the complete situation, Amadeus and Monica are having a cheerful time in the wedding until suddenly, the mobster guides in and puts a bullet inside their friend, whoms sitting on the stairs. As they’re running out of the home, a car visits them and Monica’s leg. Fortunately, the bullet doesn’t eliminate her, however the leg is certainly badly damaged. And when Amadeus is informed that she’ll never walk again which he’ll have to wait for a wonder cure, he decides to accomplish everything practical to stop the Mafia struck man coming from taking over his family.

Although Cosca and its sequels are quite violent, Amadeus and Monica have the ability to become a very charming film. This is exactly what makes the film one of the most loving movies available, because the lovers get to share the happiness and allure and learn to take pleasure from their existence together.

Despite the assault of the primary character, it also manages to be a great like story since there’s a lot of love between the two protagonists, and it’s really not just involving the two fans themselves, nevertheless also amongst the Mafia hit man plus the daughter of your bride. Amadeus and Monica are a couple who want to make a difference on the globe, and they study that they can make a difference together. No matter whether they’re doing work as cricca men or not, but it’s nonetheless fabulous to watch a beautiful love story and to begin to see the way that love will win over most, even when details seem impossible.

PHP codes for date and time

creating php Timestamp


Date, month and year format to Timestamp

$time_stamp = strtotime("$year/$month/$day");


$time_stamp = strtotime("$year/$month/$day $hour:$minute:$second");

Time stamp to date,month and year format

$p= date("d/m/y",$timestamp);


$p= date("d/m/y h:i:s",$timestamp);//i for minute

Date function

$d = date(d);
$m = date(m);
$y = date(y);
$h = date(H);
$i = date(i);//Minute
$s = date(s);
echo "$d / $m /$y /$h /$i /$s";

What you should expect When Looking For a Foreign Wife Web based

There are a variety of good get involved in finding a foreign better half. It can be with respect to the thrill of adventure, the perception of adventure or maybe even for the easy reason that you have got become disillusioned with your current partner and need to make the switch. Whatsoever your reasons are you will be glad to find out that there are approaches to do so and you can even look for a foreign wife from the comfort of your personal home.

There are plenty of places out there that will enable you to flick through their archives for couples in other countries and sometimes this will effect to find a local star of the wedding within hours. You can even discover these websites listed by the country offered from and you should ensure that the sites that you visit will be reputable and you understand the terms of use prior to using their services.

A great way to find a overseas woman to marry then you certainly will want to make certain you understand what the criteria are they are looking for prior to you have up any one of their offers. Some websites will require you to fill out a lot of form following form of data and this can be time-consuming and boring. They could also want to see a passport or visa to ensure that you can be a legal citizen of the overseas country of origin.

You may be keen on the possibility of getting to know women while they can be not native in the distinct countries that you’ll be interested in. You must remember that when you start getting in touch with these girls you will be coping with their emotions so you should end up being sensitive as to what they can be saying and do not pressure all of them into undertaking something that will not be good your children. You should also make sure you get to know the language of their home country and ask questions so that you can better understand the way of life that they are living in.

Search engines such as Bing are great reasons for information about the several locations exactly where people are wedded. Once you find a few different options then make sure you contact anybody that you are considering having to be a partner. It may take a while to get yourself a suitable match but in least you may have a chance of meeting a foreign wife.

Some men have reported acquiring foreign wives or girlfriends online within hours of creating an initial search. When you are using the products and services of one of the sites, you should only allow them entry to contact you through email if at all possible and try and avoid giving their identity, address. If it is not possible you can always try to meet them face-to-face or work with another technique such as a chat room or online communities such as Myspace . com.

Number system grade-9

Number line

Number line are the line made up with numbers. A line is actually made up with points. Eventually distributed points are called line. So the each point in a  number line have a particular number. that is why we are saying the number line is made up with numbers.

After drawing a line just mark any one point as 0. Then if we mark a particular unit of distance as number 1 in the number line, then the point for the number 2 will come exact same distance from number one. Like this each and every points in a number line have a particular number.

Now we will just start to walk through number line from zero. And we will pick all the numbers like 1,2,3 etc.. Then the collection of all this number can called natural numbers. Denoted by (N).

Now we have to walk back all the way and pick the zro also. So now we have the collection of natural number and zero. And it can be called as whole numbers (w). Whole numbers are 0,1,2,3  etc….. . Now again we walk back we will see lot of negative integer numbers. And we will collect al that numbers also. now we have the collection of positive integer number , zero and negative integer numbers.  The collection of all this number together can call  integer numbers (Z).

Is any numbers left in the number line?. Yes the numbers like 1/2, 3/4,  are left in the number line. So we will collect that numbers also.Including the numbers like 1/2, 3/4 with naturel number is called rational number (R) . Here we can say one definition for rational number.

Any number which can be write in the form of  P/Q is called rational numbers.

Here P  and Q are integers and Q not equal to zero.

Here we cn notice that all natural numbers are rational as per this definition. Because all the natural numbers can be write with denominator 1.

Zero is also a rational number because it can be write with denominator as 1.

And the negative integers also rational number because it can also write with denominator 1. So The numbers so far we studied are all rational numbers.

How ever we now that a number in the form of P/Q is not unique. Example 1/2=2/4= 25/50=47/94. Because these all are equal numbers (fractions.). So when ever we mark a rational number in the form of P/Q then we have to make the number in the lowest form ppf fraction. Or the P and Q have only one as common factor (co-prime numbers).

Are the following are true or false give your reason

  1. Every whole number is natural numbers.
  2. Every integer is rational numbers.
  3. Every rational number is an integer.
Finding rational numbers between two rational numbers

If we have given two rational numbers, then we can find the rational number between them by find the mean value. We have to add the given two numbers and then divided by 2. Then we will get another rational number between them. by repeating this method we can find infinity of rational numbers between two rational numbers.

Example : find the two rational number between 1 and two.

(1+2)/2=3/2 is a rational number between 1 and 2.

(2+3/2)/2 = 4/2+3/2= (7/2 )/2 =7/4 is an another rational number between 1 and 2.

Another method

Suppose  we want to find 5 numbers between 1 and two at a single step, like follows.

As we need 5 numbers we have to make  denominator as 6 for both number. Here

1= 6/6 and 2 = 12/6

Now we can write 7/6, 8/6, 9/6, 10/6, 11/6. these all are in between 6/6 and 12/6 and hence between 1 and 2.

Notes: Also remember that there will be infinite number of rational numbers between any two rational numbers.

Do the exercise 1.1

Irrational numbers

As we agai check on the number line still there is lot of numbers left in between rational numbers. So now we will see how that numbers is different from rational numbers.

If a number is irrational then it cannot be written in the form of p/q, where p and q are integers and q not equal to zero.

Some examples are √2, √3, √15, π, 0.123400678…… .

There will be infinite number of irrational numbers in the number line.

After collecting all the irrational numbers from the number line, then the number line will empty as there is any more number. So the collection of all these numbers we studies so for together can called the real number. (R).

The proof for √2 as an irrational number will study in the nest class. But now we will study how we can mark the √2 in a number line.

Locate √2 on the number line
√2 on a number line
√2 on a number line

Consider the unit square OABC. As shown in the fig.1.7. Now consider the diagonal OB. And we can consider the triangle OAB, it is aright angle triangle. Therefore we can say that

OB= OA2 +AB2

OB=√OA2 +AB2

OB= √1+1 =√2

Now consider the vertex O of the square are coincide with 0 of the number line. And the OB which is equal to √2 can now marked on the number line by draw an arc with radius OB. The ar will intersect on the number line at the point P And the distance from 0 to p is √2.

Locate √3 on the number line

This can also mark on the number as same as √2. For that first we have to draw one more right angle triangle in the previous fig. One side of this right angle triangle is OB (√2) and other side DB is unit length and OD is the hypotenuse. see the below fig.

real number and their decimal expansion

A we study the real number having rational number and irrational numbers. In this section we will analyze the decimal expansion of both type of number and understand the difference of the rational number and irrational number.

First we will check the decimal expansion of three different rational number.  They are 10/3, 7/8, 1/7. See the below fig for there division.

Division of rational number
Division of rational number

In the first case  10/3 we can see that the quotient is not ending. But it is repeating as a block . This type of decimal expansion can call non terminating recurring. It can write as 3.3(bar). That means the decimal places are repeating with 3,3,3,3..

In the second case 7/8 we can see that the quotient is terminating after a finite number. This type of decimal expansion can call terminating decimal expansion.

In the third case 1/7 the quotient is not ending but it is also repeating as block of  142857, 142857,…… so it can write as 0. 142857(bar). So this can also call non terminating recurring decimal expansion.

Now we have to proof the above decimals are rational numbers by wring in the form of P/Q . As P and Q are integers. it should be a perfect number ( cannot be repeated or require in their decimal expansion).

First we will consider a terminating decimal number 3.142678.  Here the decimal places are 6 digits. Therefore we can multiply and divide the 3.142678 with 1000000, so that it will become 3142678/1000000 so now it is in the form of p/q  and hence it is a rational number.

In this second case we will show that the non terminating recurring number is a rational number, by writing the number as p/q.

consider 0.3(bar), here 0.3333… we don’t know the exact number. so we will take

x= 0.333333….  ( we can consider multiplying x with 10 because the nuber have 1 digit requiring number)

10x= 10 *( 0.33333…..) = 3.333333….

3.3333….=3+x (since x= 0.3333…) (here the obtained number after multiplication will write as sum of a perfect number and the given number x)


9x=3 and x=3/9= 1/3 this is in the form p/q. and Hence it is a rational number.

Let us try with other number 1.272727 her 27 is repeating.

Here also we don’t know the exact number so we will take

x= 1.2727…..

100x = 100 * 1.2727… =127.2727…

100x =126+x (here the obtained number after multiplication will write as sum of a perfect number and the given number x)

99x=126 so x=126/99. which is 14/11 so it is also a rational number.

From the above studies we can understand the decimal number with terminating decimal places and the number with non terminating recurring decimal places are rational number.

Irrational number

From the above studies we can say that any number is irrational if it cannot be written in the form of p/q. Where p and q are integers and q not equal to 0.

In the decimal expansion we see the terminating and non terminating recurring decimal number are rational numbers. Because they can write in the form of p/q.

But some decimal number like 0.1011001111000001 are not terminating and not requiring. this type of decimals cannot be written in the form of p/q. And hence it is not rational number. ex. √2, Π.

Finding irrational numbers.

Finding irrational number between 1/7 and 2/7. First find the value of 1/7 which is 0.142857(bar). And the value of 2/7 = 0.285714(bar).

Now easily we can write the irrational number in between them ex.

0.156578911112. we can write such infinity of irrational number between two. By this same method we can write irrational numbers between any two real numbers.

representing real number on the number line

We can represent any real number in a number line. Suppose we ant to mark 5.3775 (5 decimal places) as the number is between 5 and 6 we will make the portion of the number line with 5 and 6. Then we will divide that portion in 10 equal parts. The we can mark the first decimal digit 5.3. A our number is greater than 5.3 and less than 5.4 we will draw anew portion of number line with 5.3 and 5.4. this process can repeat until we mark the complete given number. Please see the below fig for the details.

real number on number line
real number on number line

Do some exercises for practice.

Arithmetical operation on real numbers

I earlier class we studied the rational numbers are satisfy the commutative, associative and distributive laws for addition and multiplication. If we add, subtract,  multiply and divide (Except zero) two rational numbers we will get a a rational number . So rational number are closer.

The irrational number also tisfy the commutative, associative and distributive laws for addition and multiplication.

How ever the sume , difference, product and quotient are not always irrational.

ex. (√6)+(-√6), (√2)-(√2), (√3)*(√3),(√17)/(√17)

By doing some exercise we can summarize following  points.

  1. The sum or difference of a rational number and an irrational number is irrational.
  2. The product or quotient of a non zero rational number with an irrational number is irrational.
  3. If we add, subtract, multiply or divide two irrationals, then the result may be rational or irrational.
Geometrical method to find the square root of a positive real number

Finding the √3.5 geometrically.

finding root by geometry
finding root by geometry

Procedure: Draw a line AB with 3.5 unit length. From B extend one more unit length and mark C. Now find the midpoint of AC and mark that point as O. Now draw the semicircle with the radius AO. A s shown in the figure. Draw a perpendicular passing through B and intersec the semi circle. And then the length of BD= √3.5

Proof : Not required for grade 9

We can also use the above method to mark root of any number on the number line. See the below figure, in that the BC is the unit length And we can extend the line with more unit lent and mark B AS 0, C as 1 and so on… Now we can draw an arc with center B and radius BD, then it will intersect on the number lane.

root x in a number line
root x in a number line
Identities for roots

identity for roots

Identity for roots
Identity for roots

The above are the 6 identity for roots. By this identity we can do various mathematical operation on roots. Do some exercises for more exposure.

Laws of exponent
Laws of exponents
Laws of exponents

I addition we can also say that  nth root of a= a1/n.

And  am/n = nthroot of am

That means if a number have the power with fractional number, then the denominator of the fraction will become the power of the root and the numerator will the power of all thing.

Practice some exercises

Lines and angles Grade-7

Eventually distributed points in any direction can called  line.

Eventually distributed points in particular direction  can called   straight line.

See below fig to understand different type of lines.


When two lines are intersect  then there will be one corner formed this corner is called vertex. In the above fig1-e two line AB and CD are intersecting at the point O. Due to the intersection  of two lines there are four angles. Try to name that four angles.

complementary angles

If the sum of two angle are 90º then the are called complementary angles.

Now try to answer following questions.

  1. Can two acute angles be complement to each other?
  2. can two obtuse angles be complement to each other?
  3. Can two right angles be complement to each other?

From the below figure identify which pair of angles are complementary.

complementary angles
complementary angles

Supplementary angles : If the sum of 2 angles are equal to 180°, then that angles are called Supplementary angles.

Answer the following questions

  1. Can two obtuse angles be supplementary ?
  2. Can two acute angles be supplementary ?
  3. Can two right angles be supplementary ?

Check for some exercises in the test book.

Adjacent angles: If two angles are adjacent angles then they have a common vertex .a common arm and there non -common arm are the different side of the common arm. In the below figure-2 we can see a adjacent angles.

Here the angle ∠ABD and ∠DBC are adjacent angle. But also note that ∠ ABC is not adjacent angle. More over when there is two adjacent angle, then the sum is always equal to the angle formed by two non-common arms

that is  ∠ABD+∠CBD=∠ABC


If the non-common arm of an adjacent angle are opposite ray the angles are called linear pair of angle. As shown in the fig3, AB and BC are non common arm and the angle ABD and angle CBD are linear pair of angle. Linear pair are supplementary.

TRy to answer the following questions

  1. Can two obtuse angles be linear pair ?
  2. Can two acute angles be linear pair ?
  3. Can two right angles be linear pair ?

Now try to do some exercises from textbook


Comparing Quantities-grade 08


Ratios can be use to compare quantities. Example. If we have 5 orange and 20 apple the we can write the ratio 5:20. If we want to write the ratio of apple and orange the it will write as 20:5. The ratio is writing respectively.

Ratio as fraction

The ratio can also write as in terms of fractional number. Here the first ratio will come as numerator and and the second ratio will come as denominator. So in our previous example we can write the ratio of orange and apple is 5:20  = 5/20.

If we are saying the ratio of orange and apple is 5:20, that means if there is 5 orange then there is 20 apple. The ratio will always write as simplest form. So 5:20 will write as 1:4. That means there will be 1 orange for 4 apple. Like this we can compare the quantity.

Ratio as percentage

From the ratio we can find the percentage of quantities.For example. 5 orange and 20 apple can write as 5/20. now we will make the denominator as 100. then it will become (5×5)/(20×5)= 25/100.  So the percentage of orange is 25%. (that means there will be 25 orange when apple is 100). We can also find the fraction by unitary method  like ( 5/20)x100  = 500/20= 25%.

Finding the increase or decrease percentage

To find the increase percentage of thing, for example. The price of a scooter was 34000 in last year. if the price increased by 20 % what will be the price of the scooter this year.

Method -1: Here first we will find the 20% of the current price and then add that to the existing price then we will get the new price.

(20/100) x 34000 = 6800

increased price = 34000+6800= 40800

Method2: Unitary method.  (120/100)*34000 =40800 ( here the 120 = 100% + the increased 20% =120%)

To find the decrease  percentage of thing, for example. The price of a scooter was 34000 in last year. If the price decreased by 20 % what will be the price of the scooter this year. Here also we can find the 20% of the current price and can subtract the amount form the current price, then we will get the present price.

In unitary method we can find the 80 % of the current value (because the decreased percentage is 20%). which is (80/100)*34000.

finding discounts

Discount is the difference of the actual price(MRP) and the sales price.

Discount= market price- sales price.

If an item Have the market price 840 and it is selling at 714 then

Discount = 840-714=126.

we can also find the discount % by

Discount %= (discount amount / market price) *100.

(remember (% /100)*total=value)

We can also find the discount amount if the discount % is given by

Discount amount= (discount%*market price)/100.