Friday, 24 February 2017

How to Put Google Adsense Below Post Title in Blogger

How to Put Google Adsense Below Post Title in Blogger

Image result for How to Put Google Adsense Below Post Title in Blogger?

Adsense is used by majority of expert bloggers for their website monetization because it is a cookie based contextual advertising system that shows targeted ads relevant to the content and reader. As bloggers are paid on per click basis, they try various ad placements on the blog to increase the revenue and get maximum clicks on the ad units.
Well, on some blogs, you might have seen Adsense ad units placed below the post title. Do you know why? It is because the area just below the post title gets the most exposure and is the best place to put AdSense ad units to increase Click Through Rate (CTR).
Even though ads below post title work like a charm but this doesn’t mean that it will work for you as well. If you want to find out the best AdSense ads placement for your blog, try experimenting by placing ads at various locations such as header, sidebar, footer, etc. You can try other blog monetization methods as well to effectively monetize your blog.
In this tutorial, I will guide you about how to show Google Adsense ads below post titles in blogger. So, without much further ado, let’s start the process 😉
How to Create Google Ads

  1. Login to your Google Adsense Account.
  2. Under “My Ads” tab, create a new Ad unit
Create new ad unit
Create a new ad unit
  1. Type ad unit name (it can be anything) and choose desired ad size. For better performance choose wide area ad sizes like 300*250 Medium Rectangle or 336*280 Large Rectangle
ad size large rectangle
Select ad size
  1. Customize your Ad Style to match it with your template. Then, click on Save and get code button.
  2. The ads won’t appear if you use that code directly. To use this code within the blogger (xHTML) template, you need to parse it first. Use thisHTML Parse Tool to change special characters into their corresponding HTML entities.
parsed adsense code
Copy parsed Adsense code
  1. Now, copy the parsed Adsense code.

Adding Google Adsense in Blogger Below Post Titles

  1. Open your blogger dashboard >> Template.
  2. Backup your current blogger template.
  3. Click on Edit HTML button.
Edit Blogger Template
Press this button
  1. Copy all the template code and paste that into notepad. (to find the below code)
  2. Press Ctrl+F and search for <data:post.body/>. You might find this code more than one time but, you’ve to work with the second one.
  3. Now, place the below code just above <data:post.body/>
Image result for <data:post.body/> blogger
  1. Now, replace the PLACE YOUR AD CODE HERE with the Parsed Ad Code.
  2. Click on Save Template button.
  3. Done!!
Once you’ve performed the all above mentioned steps, then open your blog and visit any your blog posts. The Adsense Ad unit placed below post title will look something like this:
Adsense below post title
The AdSense ad unit will appear on the left side between article title and article content. If you don’t like ad placement and want to show it at the center or the right side, then use the below code.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div align="center">
PLACE YOUR AD CODE HERE
</div>
</b:if>
Then your ad placement will look something like this:
adsense below post title in center
Ad below post title in Center
If you want to move your ad to the right side, simply change center from the above code to right. That's it.
If you’re still unhappy with the ad placement, you can try wrapping your content around the Google Adsense Ads (as shown in the image below):
Adsense-alignment
To do this, use below code:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style="float:left; margin:10px;">
PLACE YOUR AD CODE HERE
</div>
</b:if>
Replace left to right if you want to show ads on the right side wrapped with text.
Note: Once you’re done with placing your desired code, don’t forget to cross-check that all the codes are added between the conditional tags that will make ads appear only on the post pages (neither homepage nor labels/archives page). If you want to show ads below post title on every page of your blog then, just remove those conditional tags. (lines in blue color.)
If you are showing the ad on homepage and label pages also then take a look at your ad. It will be shown below all post’s titles means if you have set 5 posts to appear on your homepage then it will only appear below first three post’s titles. Last two will be shown as blank white space. On those, you can mind placing Adsterra referral program banner ads to make some extra money.
But, I will recommend you to show ad below first post title only as too many ads will make your website look like spam. For doing that, replace above conditional tags with below ones to show the single ad on homepage and labels page belowfirst top most post’s title.

<b:if cond='data:post.isFirstPost'>
PLACE YOUR AD CODE HERE
</b:if>It’s your turn
So, these were all the ways to put Google Adsense ads below the post title. As I mentioned above, you can also use some other ads below post title as well. Now, it’s your turn to check which format and ad size work best for increasing CTR of your blog.

KUDOS goes to bloggertipstricks.com
Please share your views with me on increasing Adsense CTR and revenue through comments. Happy Making Money!

Thursday, 23 February 2017

Mender, An open source remote software updater for embedded Linux devices

Mender, An open source remote software updater for embedded Linux devices

Image result for Mender

Mender is an open source project to make it easier to deploy over-the-air (OTA) software updates for connected Linux devices (Internet of Things). Mender is end-to-end, providing both the backend management server for campaign management for controlled rollouts of software updates and the client on the device that checks for available updates. Both backend and client are licensed under the Apache License, Version 2.0.
 It includes both a client and a management server, which are both licensed under Apache 2.0.
It enables the management of software updates to connected devices remotely, whether over-the-air or over any TCP/IP network.
It allows you to deploy an image-based update from the server-side component of Mender to your connected device or devices. The deployment is done securely using HTTPS and the partitioned setup makes sure your device will stay up and running should anything interrupt the update process.

Architecture
What does Mender do?
Thomas Ryd, CEO of Mender: our mission is to secure the world’s connected devices. Our team is focusing the project to be an accessible and inexpensive approach to securing their connected devices. Our goal is to build a comprehensive security solution that is not only inexpensive to use, but easy to implement and use. That will naturally drive Mender to be the de facto standard for securing connected Linux devices.
Eystein Stenberg, CTO of Mender: our first application is an over-the-air software updater for embedded Linux and our first production-ready version will focus on an atomic, dual file system approach to ensure robustness -- in case of a failed update due to power failure or poor network connectivity, the device will automatically roll back to the previous working state.
How it works
Image result for Mender.io
Mender is a client-server application, where the client is installed in embedded devices running Linux. The Mender client regularly checks with the Mender server over HTTPS to see if it has an image update available for deployment, and deploys it if there is. A dual A/B rootfs partition layout ensures robustness, so that the embedded device can recover even during incomplete or corrupted deployment installations.

Get started in minutes

We have created pre-made images with Yocto that include Mender and which can be run in QEMU. This makes it really easy to test out the Mender client and deploy your first over-the-air update.
Click below to go to our 'Getting started' guide and get set up with Mender in minutes.








How to Decorate Your Ubuntu Desktop Using “Conky” Tool


How to Decorate Your Ubuntu Desktop Using “Conky” Tool


Conky for Linux
Iformation on your desktop. It has access to all your computer processes including CPU usage, battery status, disk space, temperature, calendars, email notifications, networks, upload & download speeds, system messages, and weather.
Combining its system monitoring feature with a theming option, you can display pretty much anything in pretty much any way you can mathematically think of thanks to its ability to hold hundreds of “objects” as widgets on your screen using graph widgets, text, and progress bars with different colors and fonts.
Conky is a light-weight system monitor for X, which displays a variety of information on your desktop. ... That is when a Conky config tool such as Conky Manager comes in handy. ConkyManager is a GUI frontend for managing Conky configuration files.

Features in Conky

Apart from being able to display data as text, graphs and progress bars in varying colors and fonts, Conky has:
  • Access to more OS statistics than you may ever need e.g. user name, system uptime, Disk, Memory and CPU usage, network statistics, e.t.c.
  • An inbuilt support for IMAP and POP3.
  • An inbuilt support for all the popular music players including Audacious,Rhythmbox and MPD.
  • The ability to be extended using either its inbuilt support for Lua or custom scripts and programs.
  • An inbuilt Imlib2 and Cairo bindings support for drawing with Lua.
  • Support for two or more instances of Conky running at once using different config files, e.g.
    $ conky -c ~/.config/conky/conky1.conf
    $ conky -c ~/.config/conky/conky2.conf 

Conky-2

Using and Configuring Conky in Linux

Conky uses a .conkyrc file located in the /etc/conky/ folder. This file contains Conky‘s display settings which can be manipulated either manually with a text editor or theConky manager. Some settings include font color, screen position, update interval and they are all in the configuration section of your configuration file.
Conky manager makes it easier to add themes, widgets, and fonts, and to manipulate configuration settings since it provides an easy-to-use GUI. Look here to see the various configuration settings you can implement in Conky.
Conky Manager

Installing Themes in Linux Using Conky

Setting up new themes in Conky is a seamless process:
  1. Download the theme.
  2. Unzip the file if necessary and move the folder to /home/your_user_name/conky-manager/themes/
  3. Start the Conky manager and then enable the theme using Conky manager.
Most themes and widgets come containing installation readme files without information about dependent fonts and/or wallpapers so it is important you go through the files to know about any extra tweaks you might want to make.

Get GUI

If you don’t much care for working from the command line, there is a GUI tool, called Conky Manager, that you can install and use. Here’s how to install this handy app:
  • Open up a terminal window
  • Add the necessary repository with the command sudo add-apt-repository ppa:teejee2008/ppa
  • Update apt with the command sudo apt-get update
  • Install Conky Manager by issuing the command sudo apt-get install conky-manager
Run Conky Manager with the command conky-manager. When the app opens, you’ll see a simple-to-use window (Figure 4) that allows you to easily import theme packs, customize themes, and more. When you install the Conky Manager app, it will install several predefined themes that you can select from.
conky-4
Figure 4: The new background thanks to selecting a theme from Conky Manager.

conky_d.png

If you’ve installed a theme, prior to installing Conky Manager, you’ll need to move the~/.conkyrc file into the newly created ~/.conky folder. When you do this, Conky Manager will recognize the theme and allow you to load it and work with it.

conky_e.png

Conky-5
Figure 5: Our Qlocktwo theme loaded into Conky Manager.
Once you select a theme, from within Conky Manager, you can then click the edit button and that theme’s configuration file will open up in your default text editor, so you can configure the file to suit your needs.
Typing Conky themes in your search engine will return tons of themes you can choose from to customize your desktop screen. You can also see a gallery of various users’ theme implementations on DeviantArt.


  Use Oranchelo Icons Flat to Beautify Your Linux Desktop
You can Share pictures of your configuration settings in the comments section you have any experience with Conky system monitor.