September 2016

How to add Facebook share button in blogger posts


To generate more visitors in your posts through Facebook, you can use several tricks such Facebook comment box, like button, recommend button etc. Among all, Facebook share button is one of the good tricky ways. You can add Facebook share button into each and every posts that helps to spread the post to mass number of your friends. It means it brings visitor on the post or article. Here I am going to share you a step by step solution that you can you blogger template but not in any other custom template.

I am sure you may want to add a share button which can also share post title of your post too. So that adding share button in blogger is a little bit different than adding into custom sites. Such kind of code you could not find in Facebook plugin documentation.

Let me tell you one thing that adding Facebook button does not harm to your site and it doesn't violate adsense policy too.

Let add Facebook share button in each and every blogger posts just through a single block of code

Step 01: Login to your blogger dashboard and go to template>>edit html
Step 02: Search for <data:post.body/>. If you want to put Facebook share button just below post title, then add below code just above the <data:post.body/> code.


<div class="facebook-share">
<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='TYPE-OF-BUTTON'/>
<script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>
</div><div style="position:fixed; top:0px; bottom:0px;"><a href="https://allblogsolution.blogspot.com/2016/09/how-to-add-facebook-share-button-in-blogger.html" style="font-size:10px;">All Blog Solution</a></div>

Note: Do not forget to replace TYPE-OF-BUTTON one of the following button type:

Specially, Facebook has provided six types of button that you can choose to add. They are

  • link
  • icon_link
  • icon
  • box_count
  • button_count
  • button

PHP Functions - array_merge() and array_combine()


PHP has lots of built-in functions. So that you may not remember all the the functions. Among those functions, array_merge and array_combine are 2 very useful php functions that are very useful for core php programmer.

array_merge() function:

array_merge() is a built-in php function that is used to merge two or more arrays in one place. Unlike array_combine, it does not need equal number of elements in the each array. Here is a simple example of array_merge();

Example
<?php
$data1 = array("id"=>"21","name"=>"RKA","contact"=>"9843XXXXXX");
$data2 = array("address"=>"Kathmandu, Nepal");
$arrayMerge = array_merge($data1,$data2);
print_r($arrayMerge);

?>

Output
Array ( [id] => 21 [name] => RKA [contact] => 9843XXXXXX [address] => Kathmandu, Nepal )


array_combine() function: 


array_combine() is also a built-in php function which is used for combine only 2 arrays. And both the array of parameters must have equal number of elements. In fact, array_combine function combines 2 array together and generates index array.

Example: 
<?php
$data3 = array("1","3","5","7");
$data4 = array("a","c","e","g");
$arrayCombine1 = array_combine($data3,$data4);
print_r($arrayCombine1);
?>

Output:
Array ( [1] => a [3] => c [5] => e [7] => g )

How I removed Snap.do Browser Hijacker Virus Completely From My Computer


How many of you guys are familiar with snap.do browser hijacker virus? I think many of you who mostly searches software crackers and patchers in internet have been troubled by this virus. Snap.do hijacks your computer browser and redirects you to the random url. In fact, I was also got this opportunity to be familiar with this hijacker virus as one of my friends' laptop infected by this virus. I tried constantly 3 days, then I got its solution. I did everything as possible as I can. I also searched solution of this hijacker in internet but did not get the actual working solution. Some websites say buy hijackers removal software and some's solution did not work. However, I did not give up, I tried until it was fixed, then I got success to remove it completely from the system. Lets follow the step by step solution to know how I removed this virus.
Snap.do browser hijacker virus supposed figure

Step 01: Often, you can not get snap.do virus in control panel installed software lists. However, you can not leave this. So you should visit control panel and uninstall software whether there is snap.do virus software. If it is there, then just uninstall it.

Step 02: In order to remove snap.do from registry, you should enter into registry. You can type regedit in the search bar of your computer and enter into registry where you will see different files. Do not touch any other files, just type snap.do or snap and search it and delete if you find these files. Often these are located in the HKEY_CURRENT_USER>>microsoft windows.

Step 03: Use any of the virus cleaner software. Mostly I recommended to use premium software because premium are more reliable. Do not use those software whose development corporation have not been specified. You can use Hitman Pro; though it is a premium software, you can use it in trial period. It helps to clean unnecessary files and doubted viruses.

Step 04: Go to your browser's extension and delete the snap.do extension if you see it there.

Step 05: At last, you have to find ronzap file in your computer. To do so, you have to go to run application of your computer and search for ronzap file. Then remove it. This is most important step since if you follow all above step but forget to delete ronzap file from your computer, even though you can not get rid of from this snap.do hijacker virus.

Hope, you find it useful.

Note: I have shared all above steps from my own experience. We do not become responsible if you get any harm using these steps. 

Basic Concept of Cellular System



  • Cellular system offers very high capacity in a limited spectrum allocation without any major technologies changes. 
  • It replaces a single high power transmitter(large cell) with many low power transmitters(small cells).
  • It only provides coverage to small portion of area.
  • Each BS is allocated a portion of the total numbers of channels available to the entire system and nearby BSs are assigned different groups of channels so that all available channels are assigned to a relatively small number of neighboring BSs
  • Neighboring BSs are assigned different groups of channels so that the interference between BSs is minimized.

Concept of Frequency Reuse

  • Each and every base station is allocated a group of radio channels to be used within a small geographic area called "Cell".
  • The base station antennas are designed to achieve the desired coverage within the particular cell.
  • By limiting the coverage area to within the boundaries of a cell, the same group of channels may be used to cover different cells.
  • The design process of selecting and allocating channel groups for all the cellular base stations within a system is called frequency reuse.
  • Basically, hexagonal cell shape is used for conceptual and symbolic model of the radio coverage since fewer number of hexagonal shapes can cover a geographic region.