Exabytes beginner

Monday, August 25, 2014

Solat sunat rawatib


Dalam kesibukan duniawi dan tuntutan hidup yang tidak sepatutnya sering kita lupa tujuan sebenar kita berada di dunia ini tidak lain tidak bukan hanyalah beribada kepada Allah Arrahman. Memetik kata seorang ustaz jika umur sudah mencecah 40 tahun dan apa yang kita tunaikan sehari hari hanyalah solat lima waktu itu tidak cukup untuk kita menempah tiket ke syurga. Solat sunat rawatib adalah antara amalan yang dapat meningkatkan ketakwaan kita kepada Allah.
Solat sunat rawatib ialah solat - solat sunat yang dilakukan sebelum dan sesudah solat fardhu lima waktu.
Solat sunat rawatib terbahagi kepada dua bahagian.
A). Sunat muakkad iaitu sunat yang dikuatkan untuk diamalkan dan terdiri dari
1. Dua rakaat sebelum fardhu zohor dan dua rakaat sesudahnya.
2. Dua rakaat sesudah maghrib.
3. Dua rakaat sesudah isyak.
4. Dua rakaat sebelum subuh.
B). Sunat Ghairu Muakkad terdiri daripada
1. Dua rakaat tambahan selain muakkad sebelum zohor dan dua rakaat sesudahnya.
2. Empat rakaat sebelum fardhu Asar dengan dua salam , tidak ada sesudahnya.
3. Dua rakaat sebelum isyak dan dua sesudahnya tambahan kepada muakkad.
Cara mengerjakan solat rawatib itu , serupa juga dengan solat subuh . Cuma  bezanya:
1. Qunut tidak dibaca
2. Dilakukan sendirian tidak berjemaah.
3. Tidak didahului dengan azan dan iqamah.
4. Suara tidak dikuatkan
5. Keutamaan solat rawatib adalah dilakukan di rumah.
Solat-solat tersebut yang dikerjakan sebelum solat fardhu dinamakan Qabliyah dan dikerjakan  sesudah solat fardhu dinamakan Ba'diyyah.
Panduan melakukan solat sunat rawatib ialah:
1. Niatnya menurut jenis solat.
2. Tidak dengan azan dan qamat.
3. Tidak dengan berjemaah.
4. Bacaannya tidak dinyaringkan.
5. Jika lebih dari dua rakaat, tiap- tiap dua rakaat disertakan salam.
6. Sebaik-baiknya berubah sedikit dari tempat mengerjakan solat fardhu.


Rujukan:
1. 99 solat sunat, Salman Ameen Al-farisi, penerbitan seribu dinar.

Thursday, August 21, 2014

Dynamic meta tag

Some of us might be wondering what is the different between

<meta expr:content='data:blog.pageTitle' property='og:title'/>


and

<meta content='My Page Title' property='og:title'/>

It might look the same but infact the former one is dynamic while the latter one is static.

The difference between dynamic meta tag and static meta tag:
1. 

Friday, August 15, 2014

Add facebook comment box to blogger

Hi All,
it has been ages since the last time i talk about 'techie thingy'.. :-) Being a full time mother for now almost 6 months,  my technical section of the brain does not really  functioning to the fullest. The most technical thing that i did .....could be how to sharpen the kitchen knife?

I am going to share the simple steps to include the facebook comment box to our blogger post. What you need to do:

STEP 1: Facebook Application Creation

1. Create facebook application. Go to https://developers.facebook.com/apps .If this is your first app, before you can proceed with the creation, there are some verification needed. The codes will be send to your mobile phone  to activate the developer mode.


Click on the "+Create New App" button.The green button on the top right of the screen.


Go to Setting --> Basic, key in your valid email and save  changes.

You have successfully created you application. Change the application setting to be viewable by others .
 go to status & review. Click on the "NO" button  as below


Your application now is accessible to others.
go to setting--> Basic and note the application Id. this ID will be the ID to be use in the blog setting.

Step 2 : Blogger Configuration


1. Go to your blog, make sure you login to your blogger account. Click DESIGN on the TOP RIGHT of the page.

2. Click on Template --> Edit HMTL

You will get this. For those without coding knowledge , easy.. this will not be as complicated as you thought.


3. Find this line started with

4. Replace html  with html xmlns:fb='http://www.facebook.com/2008/fbml' . Leave the rest of the codes.

yours might be different depend on the setting you have set before. Just make sure the first part in bold is right.

5. Search for the tag
</body>

  Add this code just before the tag.

<div id='fb-root'/>

<script>
window.fbAsyncInit = function() {    FB.init({      appId  : &#39;Your-App-Id&#39;,  
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session    
xfbml  : true  // parse XFBML    });  };  
(function() {    var e = document.createElement(&#39;script&#39;);  
e.src = document.location.protocol +   &#39;//connect.facebook.net/en_US/all.js&#39;;  
e.async = true;  
document.getElementById(&#39;fb-root&#39;).appendChild(e);    }());
</script>


Replace Your-App-Id  with your application ID created in STEP 1

6.  Search for 
</head>

and paste this codes  just before it.
<meta expr:content='data:blog.pageTitle' property='og:title'/> 
<meta expr:content='data:blog.url' property='og:url'/>
<meta content='Journey To Happiness' property='og:site_name'/> 
<meta content='Blog-Logo-Image' property='og:image'/> 
<meta content='Your-App-Id' property='fb:app_id'/> 
<meta content='http://www.facebook.com/Noraida' property='fb:admins'/> 
<meta content='article' property='og:type'/> 
Then Replace:

Journey To Happiness:-                       With Blog Title Name 
Blog-Logo-Image:-                               With Logo Image 
Your-App-Id:-                                        With Facebook App id 
Noraida:-                                               With Facebook Page Username 

7. Now we want to place the Facebook comment box on the blogger page. search for

<b:includable id='comment-form' var='post'> 



paste the below code right after the search line

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;'><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<div>
<fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' width='530'/></div>
</div>
</b:if>


just incase you cannot find <b:includable id='comment-form' var='post'>  try to look for 
 <div class='post-footer'> 

and paste the code above it. If you find it 2 times, paste above the second one. Save the template and view your blog.

Note:

<fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' expr:mobile='data:mobile' width='530'/>


 hold the possible setting for your facebook comment box setting



I AM THE AUTHOR
Noraida Arifin
16 years  programming experience and  still learning.
spent 13 years of my life span as a software engineer
in a multinational company
Currently  a retire programmer.
Feedback are welcome.
Contact me at :
https://www.facebook.com/makcikprogrammer