Wednesday, March 21, 2012

Electronics projects: 12V DC to 120V AC converter


Today I will discuss about a converter, with the help of the circuit we can easily convert 12v DC to 120v AC. So lets go to the circuit diagram

Requirements
  1. capacitor: C1, C2 - 68 μf, 25 V Tantalum Capacitor
  2. Resistor: R1, R2 - 10 Ohm, 5 Watt , R3, R4 - 180 Ohm, 1 Watt
  3. Diode: D1, D2 - HEP 154 Silicon Diode
  4. Transistor: Q1, Q2 - 2N3055 NPN Transistor
  5. Transformer: T1 - 24V, Center Tapped Transformer
  6. Others: Connecting Wire
Above circuit is called inverter and we can easily create it


Monday, March 19, 2012

Important computer shortcuts


BASIC SHORTCUT KEYS
Alt + F File menu options in current program
Alt + E Edit options in current program
F1 Universal help (for all programs)
Ctrl + A Select all text
Ctrl + X Cut selected item
Shift + Del Cut selected item
Ctrl + C Copy selected item
Ctrl + Ins Copy selected item

Five Pillars of Islam


Iman/kalema/Faith
“La Ilaha Illallahu Muhammadur Rasulallah”
There is no God worthy of worship except Allah and Muhammad(SM) is His messenger. This declaration of faith is called the sahada, a simple formula which all the faithful pronounce. In Arabic, the first part is La Ilaha Illallah- there is no God except Allah; Ilaha(Allah) can refer to anything which we may be tempted to put in the place of Allah wealth, power and the like and then comes Illallah : except ‘Allah’, the source of all Creation. The second part of the Shahada is Muhammad Rasulallah.

Namaz/Prayer/Salat
Salat or Namaz is the name for the obligatory prayers which are performed five times a day and are a direct link between the worshipper and Allah. There is no hierarchical authority in Islam, and no priests, so the prayers are led by learned person who knows the Quran, chosen by the congregation. Prayers are said at dawn, noon, mid-afternoon, sunset & nightfall, and thus determine the rhythm of the entire day. Although it is preferable to worship together in a masjid, a Muslim may pray almost in any clean surface.

Roza/Fasting/Siam
Every year in the month of Ramadan, all Muslim fast from first light until sunset, abstaining from food & drinks. Those who are sick, elderly or on a journey and women who are pregnant or nursing are permitted to break the fast and make up an equal number of days later in the year. If they are physically unable to do this, they must feed a needy person for every day missed. Fasting is regarded principally as a method for self purification. By cutting oneself off from worldly comforts, even for a short time, a fasting person gains true sympathy with those who go hungry as well as growth in one’s spiritual life.

Hajj/Pilgrimage

The annual pilgrimage to Makkah- the Hajj- is an obligation only for those who are physically & financially capable to perform it. Nevertheless millions of people go to Makkah each year from every corner of the globe providing a unique opportunity for those different nationals to meet one another. Although Makkah is always filled with followers of Islam, the annual Hajj begins in the twelfth month of the Islamic year

Zakat/Charity

One of the most important principles of Islam is that all things belong to Allah, and that wealth is therefore held by human being in trust. The word ‘zakat’ means both ‘purifications’ and ‘growth’. Each Muslim calculated his or her own zakat individually. For most purposes this involves the payment each year of two and a half percent of one’s capital. A pious person may also give as much as he or she pleases as ‘sadaqa’, and does so preferably in secret. Although this ‘sadaqa, can be translated as ‘voluntary charity’ it has a wider meaning.

Sunday, February 26, 2012

The use of Hyperlinks in HTML


Hyperlinks is a reference(address) of some resources in the web. The resource may be html page, image, sound file, movie etc. we use the <a> to denotes the hyperlinks.
Html links
The syntax of the html link is: <a href="url">Link text</a>
Here href attribute is used for the html link.
Ex:<a href="http://www.infojanala.blogspot.com/"> visit infojanla</a>
So lets go for an example
  1. open the notepad
  2. type the code
<html>
<head>
<title>Last page</title>
</head>

<body>
<h1>Congratulations!</h1>
<p>
<a href="http://www.infojanala.blogspot.com/">This text</a> is a link to a page on the world wide web
</p>


<p>
<b>you have reached the last page on the internet. We hope that you have enjoyed surfing the web</b>
</p>
</body>
</html>
3.Save the file test_link_lastpage.html
And then the output is 

The changing process of the direction of the text


Using the bdo dir tag we can change the direction of the text. Here an example that how to change the direction of the text.
1.At first we have to open the notepad
2.type the code
3.save the file in any name. e.g(direction_change.html

<html>
<body>

<p> If your browser supports bi-directional override(bdo), the next line will be written from the right to the left(rtl)
</p>


<p>
my name is mostafizur</p>
<bdo dir="rtl">

my name is mostafizur</bdo>
</body.
</html>
Above the example bdo denoted bi-directional override, dir denotes the direction & rtl denotes right to left.
The output of the above is