Elementary Operating System Call - Fork()


What is system call ?

Karnel is the heart of Computer System. In computer system, a request has to be made by operating system to the Karnel in order to get the service, and it is only done in programmatic way, which is known as system call.

Program is a collection of instructions that is made to complete a particular task. And a process is a particular program which is currently in running status.

Thread includes in process i.e process has some properties of thread - a single sequence stream within process is called thread.


Fork() 



  • In UNIX system, we use Fork() to create duplicate of a process by creating address space for duplicate one.
  • The process from which fork method is called, known as parent process. And child process is the new created process. Child and Parent, both processes return from the system call and execute the next instruction. 
  • Child process has all the features and ability of parent process i.e all memory segments of parent process are consumed by child process also. Parent and Child both processes execute independently whereas there is same code for both processes.
  • Parent and Child both process have different process IDs. They are executed at different memory address. 
  • As fork method executes, it returns twice - 0 and process ID to parent process if fork is successfully executed and it returns -1 if it is failed.
Synopsis
#include<unistd.h>
pid_t fork(void);

The Reason Why Everyone Love Blogging


Why is blogging important
A lot of people worldwide proudly call their self a blogger, even i, I used to hate blogging at first because it frustrate me all those things about SEO, Backlinks, Meta tags, etc. I never thought that blogging would be this fun so I would list down some of the highlighted reason why most of people stick and love being a blogger

SHARING IDEAS

Blogging is essential way to share your idea and thoughts with everyone else, at first when I start blogging I really don’t know how to start , what topic would I choose but then after hard thinking i got myself an idea on blogging about Android because I love android and I know a lot about it, so i stick with that topic, and after years passed by I got more experience and knowledge about blogging so I started sharing my ideas about blogging too, that’s why blogging is one of the best way to share idea on our fellow netizen.


EARN ONLINE

I think every blogger knows this, if you’re a blogger you can earn money with your content that’s why many people spending a lot of hard work in their blog for it to earn more, Adsense is one of the Ad Network where in millions of website and blog used to monetize to their site/blog , So you can earn money by just sitting down your chair writing a good article and drives traffic to your blog, 

BUILDING COMMUNITIES

Many blogger, enter the world of blogging to connect with others to be part of something, meet new people to connect relatives and friends and to discuss on a certain topics

PROMOTING YOUR SELF

What is the best way to be known about your skills, talent or your creativity, many people blogging to share their self for example (Soccer Tutorial by you, or ARTS you made) By that you get exposes to other people.

HELPING INEED 

I think you already know this , I know you get a lot of knowledge in other blog sharing helpful importation for example before starting a blog I know that you search about how to start a blog first right? So other we are thankful that other blogger share their ideas and knowledge to others, that’s why they blog because they’re good on something to help other who don’t.

TO BE HEARD

Many writers engage them self to blog because as you know millions and millions of people now a days is connected to internet and spend a lot of their time in it. So that’s why writer start blogging to so that many people will notice his/her work.

Best Ways to Solve WiFi Connection Problems


Network Problem Solved - limited access
I am not computer expert, but I am a guy who has very much experienced of Computer. That is why, I am giving this lesson about WiFi connection problems. I have experienced several WiFi connection problem and I had to do lots of hard work to solve all those problems. I have also seen many people's wifi problem. Here I have list some common problem that frequently occur in your WiFi connection:-
  1. Cannot connect to this network
  2. Limited access
  3. Unidentified Network
  4. No Network
These above three problems usually occur in a computer network which can be solved by considering common tasks. Now lets see some task that you should apply when you get any kind of WiFi connection problem:-

Method 01: As you get any WiFi problems, you first have to check your router, whether it is working properly or not. Like if you are using ADSL TP-Link router, you have to check whether all the lights are ON or not. Basically, if you see ADSL and Internet lights are lighting properly there, then it is OK i.e router and ISP is working properly.

Method 02: Now you have to check at your own computer network, whether its network sharing mode and network is working properly or not. Check if there is turned off WiFi connection in your computer and whether there has been disabled network adapter or not. 
  1. Has your computer network adapter been enabled ?
  2. Did you update your network adapter ? 
  3. Check Encryption type if you are not connecting to the WiFi.
  4. Check whether you are using dynamic IP address or Static (Go to network sharing center>>change adapter setting>>wifi. Now click on ipv 4
  5. Once disable your WiFi adapter and then re-enable it after a while.
Method 03: Sometimes, this problem causes if your router is older. Older router frequently needs restarting. So, just restart once and check whether it works or not.

Method 04: Flush your TCP/IP once, it sometimes causes problem in WiFi connection. And just remove all those extra firewalls which are not necessary to your computers.

Method 05: If you are using virtual box or any other software which creates virtual network, then just disable them that can interrupt your WiFi network.

If you are still experiencing problem in your connection - You can contact me via email. I am always ready to help you. Thank you.

How to save laptop battery


Either your laptop is mac or dell or etc, it will obviously be damaged if you do not consider of saving the life of your laptop battery. Here are the reasons that cause decreasing of your laptop's battery life.
  1. If you do not charge before your battery until reach on critical situation, this can damage your battery's life.
  2. If you overcharge your battery, this also causes to damage your battery. So do not overcharge your laptop or smartphones batteries. People usually use laptop in their bed and they got asleep without shutting down the laptop
  3. Turn Off your laptop at least 6 hours per day. Batteries also have its duration. It works until it reaches on warranted times. After that, it slightly stop working properly.
  4. Do not use your batteries on any other devices like friend's laptop etc because a specific battery is only made to a device that is why other device may not support which not only causes damage of your smartphones but also can destroy your battery life.

Office Automation Systems - Chapter 5 Part I


Combined form of Hardware and Software systems which supports to automate the functionality of an organization is known as Office Automation System (OAS). OAS generally uses to handle all the activities of an office through the internet and electronic medias. Nowadays, different types of office automation system are being used by the organizations. Office Automation System saves both the time and money over the long term expense since it avoids most of the paper works and manual jobs completely from an organization.

An office automation system (OAS) includes 5 basic functions -

Electronic Publishing:-
Electronic publishing comprises soft copy output which allows us to create, edit and delete that publication easily. User uses both desktop publishing and word processing software to produce text and photos in printable formats. MS word, Notepad etc are the common examples of word processing software. Adobe Page maker, MS Publisher etc are considered as common desktop publishing software. Electronic publishing also includes web publishing like online magazines, blogs, news portals etc. Often, it is in the form of letters and images.

Electronic Communication:- 
Often, communication is considered as a transferring of data and information between the 2 or more users. In addition, electronic communication comprises communication between the users using electronic mediums, such as communication using cellphone, TV - Radio, social networks and medias. Mostly, e-mail, fax, video chatting are being used as an electronic communication.

Electronic Collaboration:-
Electronic collaboration indicates the coordination between the multiple organizations throughout the electronic meeting that helps to share data and information, make, update and eliminate the plannings. It is no matter whether the distance of the users are geographically far from each others.

Image Processing:- 
All kind of graphical representation, multimedia systems and e-data management are known as image processing. These are the easy electronic portable information which are stored in the digital form into the memory. They can be edited, modified and also deleted by the users. Basically, electronic devices like digital and video cameras, scanners etc are used for processing image.

Office Management:-
Generally, all the electronic accessories and equipment along with task scheduling and task distribution are included into the office management. It includes everything management in an organization whether they are data, business, projects, notes or people.

Explain Deadlock Modelling and Strategies along with an example


As stated in previous topic, in Deadlock situation, a process waits resources which are using by other process without releasing its own resources. It is therefore causes all the processes waiting and waiting for the resources of each other; hence it brings critical condition to make deadlock condition.

In this chapter, we are going to model deadlock condition by using directed graph. Here we use directed graph to show whether it is requesting resources or holding resources. And circle are used to denote process whereas rectangle refers the resources.


Deadlock Modelling
Fig: Block Diagram of Deadlock Modelling
Above diagram shows the modelling process of deadlock, it shows requesting and holding of resources in/from a process. In the figure, A process is requesting T resource one time. In the bottom fig, A is holding T resource.


In fact, there is not solution of deadlock condition, that is why it is known as non-resolving situation. But a good programmer must be known with this fact before working on any project. S/he must be careful about the dealing of deadlock. A programmer has to consider 4 strategies to deal with deadlock. They are as follows:

  1. Ignoring the deadlock problem
  2. Detection and Recovery
  3. Avoiding Dynamically with Resource Allocation
  4. Prevention of Deadlock
Above four strategies are common and most important part of a programmer. S/he must apply one of these strategies which helps them to deal with deadlock. But among them prevention and dynamic avoidance are the best away of dealing with deadlock because it does not let deadlock condition to occur in a task like the speech "Prevention is better than cure". 

Ignoring can not be solution of any problem; ignoring of that problem obviously damages and lose something of your task. Detection and recovery somewhat can get back your data and information by detecting that deadlock. Allocating resources carefully in the different processes, a programmer can keep away the task out of the deadlock condition dynamically.

Define Operating System. List out its types and explain services.


basic block diagram of operating system
Block Diagram of Operating System
Generally, operating system works as an inter-mediator between computer and users. Actually, it is a group of software or applications that handles all the computer hardware and services of computer programs. Allocation of memory and controlling them is one of its basic service. In fact, Operating System can be categorized according to their processing nature and brand.

A. On the basis of processing nature, the types of OS are as follows:

  1. Real Time OS
  2. Multitasking OS
  3. Network OS
  4. Distributed OS
  5. Batch Processing OS
Except these five, there are also other types of operating system like, multi-processing os, multi-programming os etc. However, these are the basic types of Operating System

B. On the basis of brand, the types of OS are categorized as below:
  1. Windows OS
  2. Iphone Operating System (IOS)
  3. Android OS
  4. MAC OS
  5. Linux OS
  6. Unix OS
These six operating systems are also common types of operating system now available or used in IT field. Among them, IOS, and Android are mostly used as operating system of Smartphones. However, windows OS is both used in smartphone and desktop or computer. MAC, Linux, Unix are mostly used in desktop. Linux and Unix are mostly preferred by network programmers. 

Services in the terms of Operating System are executing program, running IO operating, establishing communication, manipulating files, detecting errors, allocating resources, protecting data and information etc.

1) Protection of Data and Programs:
Obviously, data and information have to be protected from various viruses and malware. It is common but most essential service of an OS.

2) Resource Allocation among users and processors:
Resource allocation needs frequently if an Operating system is working on the multi-programming, multi-processing or time-sharing environment.

3) Error Debugging: 
There may be lots of bugs into a programs and application and they must be checked and corrected. Error debugging is actually a process of finding bugs and correcting. An OS must have ability of error debugging.

4) Establishing Communication: 
Nothing is possible without communication. An OS must provide communication services. It is frequently need in a distributed environment. OS routes and makes an way of establishing of communication between two systems. Communication may be between two different devices or different processes of a single system. 

5) Manipulation of Files: 
File contains collection of data and information. Files must be saved into a computer memory. Users should have facility to store, delete and update that information. And all these are made possible by operating system.

6) I/O Service: 
In a computer, users can give input, s/he can takes output for a particular purpose. There are many device drivers used in an Operating System to facilitate this service. Device driver operates a hardware on the basis of operating system. Operating system gives accessibility to that device.

10 Things That Encourage People To Choose Blogger for Blogging Purpose


Blogger (blogspot) is one of the best blogging platform, and it is one of the best product of Google. Its users have been increasing day by day. Unlike the wordpress, it has some limit features. However, it has many more important merits. Being a product of google, some SEO experts recommend this platform for blogging purpose. Many bloggers choose blogspot because it is a simple freely provided blogging system by google. It facilitates us to choose sub-domain, but you also can add your custom domain name, and it is free of cost. That is why, you do not need to buy any other blogging CMS.

Why to choose blogger for blogging purpose ?
  1. Very simple and easy to use
  2. It is a Free System
  3. Light weight blogging CMS
  4. Unlimited Space
  5. Provides Free Templates
  6. SEO Friendly System
  7. Supports for Adsense Monetization
  8. Provide HTTPs protocol (blog visible in encrypted connection)
  9. Provides service to import and export the contents
  10. A product of Google

Database Management System Overview


Database Management Systems is basically called as DBMS, is a software which is used to manage interrelated data and information in order to select, retrieve, and update them back easily. Some components of Database Management Systems are:

Data: Data are raw facts that are collected figure from different sources like reports, statistical, queries etc. It does not have any meaning, that is why it is known as non-processed information. Data can be numbers, words, symbols etc. However, they should not represent some specific meanings.

Information: Information are known as a processed data that have at least one significant meaning.

Database: Database represents a collection of data related to a particular subject. Data and Information contains into database in an organized way. Data of database can be accessed easily. Telephone directory, marks sheet, dictionary etc are the best examples of databases.

CSS 3 Mega Menu For Blogger


CSS stands for Cascading Sheet Style. CSS gives the style to the HTML tags. In earlier phase of web, there had not been developed the CSS 3. Now CSS 3 has reduced the long and vague and more difficult codes of javascript and jquery. CSS 3 is the latest version of CSS.

By the way making mega menu using jquery and javascript is very hard to understand. Most of the designers just copy and paste to use the mega menu. But using CSS 3 is very easy to make mega menu. Here I am just showing tips to create mega menu using CSS 3. Follow the bellow steps and make a mega menu for your blogger and your html/css website.
CSS 3 mega menu

How to make mega menu using CSS 3?

Step 1: Open any platform like Notepad or Dreamweaver.
Step 2: Put the below code into the middle of <style> </style>.
.main_menu{ background:#006;}
.main_menu ul li a{ font-size:15px; font-weight:bold; text-transform:uppercase; color:#fff; padding-right:25px !important; padding-left:25px !important;}
.main_menu ul li a:hover{ background: #008821;}
a.focus{ background:#008821;}
/*mega menu*/
#menu, #menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
/*
#menu {
   margin: 20px 0px 0px 0px;
    border: 1px solid rgba(85, 78, 27, 0.25);
 background-color: #033;
    background-image: linear-gradient(#444, #111);
  border-radius: 6px;
  box-shadow: 0 1px 1px #777;
}
*/
#menu:before,
#menu:after {
    content: "";
    display: table;
}
#menu:after {
    clear: both;
}
#menu {
    zoom:1;
}
#menu li {
    float: left;
/*    border-right: 1px solid #777;
*//*    box-shadow: 1px 0 0 #444;
*/    position: relative;
}
#menu a {
    float: left;
    padding: 12px 30px;
    color: #fff;
    text-transform: uppercase;
    font: bold 14px Arial, Helvetica;
    text-decoration: none;
/*    text-shadow: 0 1px 0 #000;
*/}
#menu li:hover > a {
    color: #fff;
}
*html #menu li a:hover { /* IE6 only */
    color: #fff;
}
#menu ul {
z-index:999 !important;
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 1;  
background:#006 !important;
/*    background: #033 !important;
*/ /*background: linear-gradient(#444, #111);
*/
/*   box-shadow: 0 -1px 0 rgba(255,255,255,.3);
*/    border-radius: 3px;
    transition: all .4s ease-in-out;
}
#menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
#menu ul ul {
    top: 0;
    left: 130px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
/*    box-shadow: -1px 0 0 # FFF;    
*/}
#menu ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
/*    box-shadow: 0 1px 0 #777, 0 2px 0 #999;
*/}
#menu ul li:last-child {
    box-shadow: none;  
}
#menu ul a {  
    padding: 10px;
    min-width: 130px;
    _height: 10px; /*IE6 only*/
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}
#menu ul a:hover {
/*    background-color: #0186ba;
*//*    background-image: linear-gradient(#04acec, #0186ba);
*/}
#menu ul li:first-child > a {
/*    border-radius: 3px 3px 0 0;
*/}
#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
/*    border-bottom: 6px solid #444;
*/}
#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid  #066;
}
#menu ul li:first-child a:hover:after {
/*    border-bottom-color: #04acec;
*/}
#menu ul ul li:first-child a:hover:after {
    border-right-color: #0299d3;
    border-bottom-color: transparent;
}
#menu ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}
/*mega menu*/
#menu-trigger { /* Hide it initially */
    display: none;
}
/*End Mega Menu*/
Step 3: Now use the below code into the <body> </body> tag.
<ul id="menu" class="main_menu">
<li><a href="#" class="focus">Home</a></li>
<li><a href="#">Nepal</a>
<ul>
<li><a href="#">Trekking</a>
<ul>
<li><a href="#">Everest Base Camp Trek</a></li>
<li><a href="#">Everest Circuit Trek</a></li>
<li><a href="#">Annapurna Base Camp Trek</a></li>
<li><a href="#">Annapurna Circuit Trek</a></li>
<li><a href="#">Langtang Trek</a></li>
<li><a href="#">Ghorepani Trek</a></li>
</ul>
</li>
<li><a href="#">Tours</a>
<ul>
<li><a href="#">Kathmandu Nagarkot Tour</a></li>
<li><a href="#">Lumbini Pilgrimage Tour</a></li>
<li><a href="#">Kathmandu Pokhara Tour</a></li>
<li><a href="#">Kathmandu Heritage Tour</a></li>
</ul>
</li>
<li><a href="#">Adventure Activities</a>
<ul>
<li><a href="#">Paragliding in Pokhara</a></li>
<li><a href="#">Bungee Jumping</a></li>
<li><a href="#">River Rafting</a>
<ul>
<li><a href="#">Trishuli River Rafting</a></li>
<li><a href="#">Kaligandaki River Rafting</a></li>
<li><a href="#">Marshyandi River Rafting</a></li>
<li><a href="#">Karnali River Rafting</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="#">Tibet</a>
<ul>
<li><a href="#">Mount Kailash Tour</a></li>
<li><a href="#">Kathmandu Lhasa Tour</a></li>
<li><a href="#">Tibet Overland Tour</a></li>
</ul>
</li>
<li><a href="#">Bhutan</a>
<ul>
<li><a href="#">Duk Path Trek</a></li>
<li><a href="#">Chomolari Trek</a></li>
<li><a href="#">Bhutan Tour</a></li>
</ul>
</li>
<li><a href="#">India</a>
<ul>
<li><a href="#">Taj Mahal Tour</a></li>
<li><a href="#">Darjeeling Sikkim Tour</a></li>
<li><a href="#">Ladakh tour</a></li>
<li><a href="#">India Gate Tour</a></li>
</ul>
</li>
<li><a href="#">Private Day Tours</a>
<ul>
<li><a href="#">Go For Nepal One Day Private Tour</a></li>
<li><a href="#">Kathmandu Heritage One Day Tour</a></li>
<li><a href="#">Nagarjun One Day Hiking</a></li>
</ul>
</li>
<li><a href="#">Blog</a></li>
<li><a href="#">About Us</a></li>
</ul>
Step 4: Now Save it.

The above code can be also used into blogger. You can also use this code to create mega menu for your blogger. So use this code into your blogger. Please contact us if any problems occur during this process.

How to Add Search Engine Friendly Post Title


Google SEO
Indeed content is the king in search engine. And then we can say title is the queen. almost more than 70% visitors come from search engine which depends on post title. I think blogger should mostly make attention towards the post title. If they do it, then there need not any other optimization. There should be a particular reason to give your blog high rank by Google. If your content quality is best, then it can be a reason or if you get most visitor by referral or any other techniques. So you have to think about increasing the rank of your blog and getting more traffic by only optimizing your blog post title. Now lets see some tips and tricks that help all all the time to optimize your blog.

What is SEO Friendly Post Title?-

Post title is a topic that a blogger is going to write some useful information staying around it.
Title is content itself. The information or content without title can not catch visitors eyes on your posts. So it is fact that you should give a title of your content and the title should be appropriate and optimized.
Title should be appropriate to your content which should be short and sweet also. Here is three key things that a blogger should remember while he is writing an article about any topics.
  1. Keyword tool should be used to analyze keywords.
  2. Length of title should be maximum 66 characters.
  3. Word should be clear, concise and attracive
Google keyword analysis tool:-
google keyword analysis tool
Do not write any article randomly which can not be search engine friendly. So to know what to write, use the Google keywords analysis tools.
keyword planner toolGoogle Keyword Tool
To find out the which word is mostly searched globally in this time, use Google keyword planner Tools. There you can find the high ranked keywords. This service provides by GOOGLE adword campaign. See these pictures where you can see how to use the google keyword planner.


Title length should be less than 70 characters:-

Use title which only has 70 characters maximum. Use one keyword in title as possible. If you use more than one keywords in your title, then there might be confusion on what your post is about and search engine shows the title by chopping.

Make clear, concise and attractive title:-

Mostly searching keywords are attractive, so it can be attractive title. If your title is that keyword which is mostly searched, ROBOTS love that title. ROBOTS mostly love clear and concise titles.

You will understand clearly by the following examples:-

Example 1:
"Learn About How to Automatically Post Your Blog Post in Facebook ?"
 Example 2:
"How to Automatically Post Blog Posts in Facebook"

In above, the first example looks some clumsy and unfriendly to the users. There you also can find the unnecessary phrase in beginning. But second example is good and which consist 59 characters only and it seems very good to search engine optimization.

In summary, just follow these points to make your optimized post title:-

  1. Use Google keyword planner tool.
  2. Check you spell correctly or not.
  3. Make title clear, concise, short and sweet.
  4. Length of title should be less than 70 characters.
  5. Start your post title with phrase like 'How to', 'Free', 'Top 10' etc.

How to use font awesome's social font icons in blogger ?


Font icons are used to replace the images in web designing. Its nature is same like the nature of a text or font. All the attributes of a text can be applicable on this icon. Font icon makes your website structure quite attractive and context relevant.

Of course, you also use font icons into your blogger template. However, it consume a little time to load that font icon's script. In fact, font icon works by a css script. While you use a css script that reloads / renders the icons which contain in the .EOT, .SVG or WOFF files. There are many font icon generating script you can find. Among them, I mostly like the font awesome icons because it is very simple and easy to use.

The characteristics of font icons:-
  • It is a scalable vector icon - Scalable means that you can increase and decrease its size giving its size.
  • It uses all the attributes of <a></a> tag.
  • Its weight and size is low; it does not consumes more memory.
  • It does not take more time to load; it is like a text.
Step 01: Login into your blogger dashboard>>template>>edit html, find the </head> tag and paste the following css link just above it.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
Step 02: Now, here are some classes of font awesome that generates the social icons. You just copy the following code accordingly into your blogger template.

To add facebook font icon, use any of the following class code

<i class="fa fa-facebook"></i>
<i class="fa fa-facebook-official"></i>
<i class="fa fa-facebook-square"></i>

To add twitter font icon, use any of the following class code

<i class="fa fa-twitter"></i>
<i class="fa fa-twitter-square"></i>

To add google plus icon, use any of the following class code

<i class="fa fa-google-plus"></i>
<i class="fa fa-google-plus-square"></i>

To add flickr icon, use the following class code

<i class="fa fa-flickr"></i>

To add pinterest icon, use any of the following class code

<i class="fa fa-pinterest"></i>
<i class="fa fa-pinterest-p"></i>
<i class="fa fa-pinterest-square"></i>

To add linkedIn icon, use any of the following class code

<i class="fa fa-linkedin"></i>
<i class="fa fa-linked-square"></i>

To add youtube icon, use any of the following class code

<i class="fa fa-youtube"></i>
<i class="fa fa-youtube-play"></i>
<i class="fa fa-youtube-square"></i>

To add tumbler icon, use the following code

<i class="fa fa-tumblr"></i>
<i class="fa fa-tumblr-square"></i>

To add tripadvisor icon, use the following code

<i class="fa fa-tripadvisor"></i>

In the above list, I have included some more popular social medias' icons. However, you can find many more font icons generated by font awesome from its official github page. If you have any problem while adding the following code, please inform us.

How to install wordpress and make a blog post within few minutes


Hello friends, are you looking to start blogging ?
Do you want to express your feelings and experience?
Do you want to provide lessons for people?
Are you looking for making money through blogging ?
Are you getting confuse on choosing CMS ?

Don't get confused. I use wordpress and I like all the features of wordpress. It is flexible and easy to use so I always suggest you to use wordpress.... because it is dynamic content management system specially used for blogging.You can get number of plugins to manage your sites or blogs. In this tutorial, I am using localhost to install wordpress, but you also can use online hosting to install wordpress, where you do not have to download wordpress through wordpress.org because many of the hosting service provide already install wordpress installer there which easily install wordpress in few seconds.

So lets start installation of wordpress easily in a few minutes......
  1. First of all just download wordpress through wordpress.org
  2. Just unzip it into the htdocs folder of xampp if you are using xampp. If you are using wamp as your localhost, just unzip wordpress into www folder.
  3. When you unzip the wordpress. Then you have to create a database for your wordpress. It must be done before installation of your wordpress.
  4. To make new database goto localhost/phpmyadmin and create new database name - such as "testwordpress".
  5. Now go to url bar and type localhost/YOUR-WORDPRESS-FOLDER name, then hit enter.
  6. Now you will be prompted to a requirements listed page where you make remember of 5 things and they are database name, database username, database password, host and prefix.
  7. If you make and know all these 5 things, you go for installation, otherwise you have to find them.
  8. Now in another window, you have to provide site title, username, password etc and click for run install. In a few minutes your wordpress will be installed if you provide all the correct information.
  9. Then login to your dashboard which seems as shown in below figure.
When installation goes completed, you have to login into wordpress dashboard to post where you can get post and page two option to write content. Write a post and click on publish to make a new blog.

Wordpress Admin Panel
Wordpress Admin Panel

Some unusual demerits of using of frameworks in programming


Using of framework making programmers lazy
Programming Frameworks
I never deny the goodness of use of MVC architecture in programming field. However, I am always against the use of frameworks to bring MVC architecture in your apps. Of course, using of frameworks provide number of advantages while doing coding. It saves the coding time, which also makes easy to build apps. But you have to know some unusual demerits of using of frameworks which completely destroys and makes your apps clumsy. Nowadays, many programmer or html/css designers, they use frameworks for the simplicity in working. But they even do not know a simple core coding of any programming language.

You may think using of framework is better than doing core coding, but I don't think it is good to use framework. Here are some malfunctions of using of frameworks:-

1) Too much unnecessary codes
If you have used either of frameworks like laravel, codeigniter, cakephp (PHP) or spring (Java) or bootstap (HTML/CSS), you can understand how much unnecessary codes, you have to apply for a simple task or apps.

2) You may forget the core coding techniques
When you use frameworks, most of the core coding techniques are not used here, you may forget core coding in that particular programming language. Suppose, you are a php programmer, you uses wordpress framework to build a website or cake php to build a php application, then you must follow their coding syntax ditto. Hence you will be decreasing your creation ability.

3) Slow Application
The another unusual and most important demerits of using of frame is consuming of too much time for loading of application since it uses too much unnecessary codes which also must be loaded first along with your apps codes.

4) More Threats of Hacking
Most programmers use frameworks for easy coding, easy MVC architecture and fast apps development. Therefore it has high threat of attack of hackers because they properly know the coding techniques, flow of your application's codes and also the weakness of your apps. In some cases of use of bootstrap, you can steal the whole website. Because you properly know that the site is using bootstrap. So you do not have to be worry about the css and jquery which are using in that website.

5) Deficiency of programmers creation ability
Using of Frameworks in programming decrease the new creation of programmers. It is one of the most considerable shortcoming of framework use. Programmers mostly waste their time in the following of coding syntax of frameworks. They mostly forget to use their own creation.

Therefore, I only suggest to use frameworks to those programmer who properly know about the use of frameworks. Programming Frameworks are actually for huge projects/application which consume lots of time and money. Frameworks shorten the codes that is why you must use framework if you are doing a project which demands highly core coding.

Dynamic Adsense Placement - After First Paragraph of Post


Adsense After First Paragraph
Bloggers use different techniques of ads placement to get more clicks on their adsense ads and any other. Like, placement of ads inside blog post, bottom of the post, sidebar placement, header placement etc. But I think many may not have applied adsense placement under the first paragraph of the post. This technique is new and I hope this will definitely help to make more money from ads publishers like adsense, infolinks , chitika etc.

Create Infolinks Account and Earn Money

Here is straight process of placing adsense ads just after the first paragraph of a post. This is only applied in blogger blog. Indeed, this technique is for blogger but if you also want to place in other platform like wordpress and joomla. There you may find plugins or you have to put using some codes like below:

How to put ads just below the every blogger post?


Step 01: Login blogger dashboard>>template. And click on edit html . 
Step 02: Just search for <data:post.body/>. Use CTRL + F button to search.
Step 03: In default template of blogger, you can get multiple occurrence of above code, so you have to choose second one.
Step 04: Now replace that code by the below code
<div id='target'><data:post.body/></div>
Step 05: Then place the below code right after the above (step:4 div).
 <script type='text/javascript'>
function insertAfter(addition,target) {
var parent = target.parentNode;
if (parent.lastChild == target) {
parent.appendChild(addition);
} else {
parent.insertBefore(addition,target.nextSibling);
}
}
var adscont = document.getElementById(&quot;content&quot;);
var target = document.getElementById(&quot;target&quot;);
var linebreak = target.getElementsByTagName(&quot;br&quot;);
if (linebreak.length &gt; 0){
insertAfter(adscont,linebreak[0]);
}
</script>
Step 06:  Now you have to add this code just above the target div(step 04 div)
<b:if cond=’data:blog.pageType == &quot;item&quot;’>
<div id='content'>
Adsense code placing center
</div>
</b:if> 
Step 07: This time to put adsense code. So login to you adsense account and copy an adsense code. Then parse this code using adsense parser. After that, replace Adsense code placing center by parse adsense code.

Step 08: Save the template.

That's all. If you got any errors on this widget, please comment below the comment box. I will get you on there. Thank you. Enjoy blogging.