Skip to content

Instantly share code, notes, and snippets.

View vinayprajapati's full-sized avatar

Vinay Prajapati vinayprajapati

View GitHub Profile
<style type="text/css">
.recent-comment { margin-bottom:10px; padding-left: 24px; }
.recent-comment-admin { background-color: #F4F4F4; }
.recent-comment-ico { margin-left:-20px;margin-top:4px;float:left;margin-right:3px;}
.recent-comment-header {}
.recent-comment-body { padding-right: 4px; font-size: 95%;}
.recent-comment-footer { font-size: 85%; }
</style>
<script type="text/javascript">
//
<style type="text/css">
.recent-comment{margin-bottom:10px;padding-left:24px}.recent-comment-admin{background-color:#F4F4F4}.recent-comment-ico{margin-left:-20px;margin-top:4px;float:left;margin-right:3px}.recent-comment-header{}.recent-comment-body{padding-right:4px; font-size:95%}.recent-comment-footer{font-size:85%}
</style>
<script type="text/javascript">
//
// Recent Comments blogger gadget by MS-potilas and Tech Prevue, using feed avatars
// with Minor changes in year 2013 month 02 date 16
//
// CONFIG:
var numRecentComments = 5;
<script type='text/javascript'>
// Shorten Blogger post URLs using urltinyfy javascript API, by MS-potilas 2012
// Updated new shortener by Vinay Prajapati, Tech Prevue Labs 2013
//<![CDATA[
function loadscript(filename) {
var scr=document.createElement('script');
scr.setAttribute("type","text/javascript");
scr.setAttribute("src",filename);
document.getElementsByTagName("head")[0].appendChild(scr);
}
@vinayprajapati
vinayprajapati / Ads in mid of Blogger posts
Created June 24, 2013 18:12
Ads in mid of Blogger posts automatically
<!-- Ads in mid of post: automatically -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div expr:id='"atmid" + data:post.id'/>
<div style="clear:both; margin:10px 0;text-align:center">
<!-- Paste Ad code here: Appear at mid of the post -->
</div>
<div expr:id='"attop" + data:post.id'>
<div style="clear:both; margin:10px 0;text-align:center">
<!-- Paste Ad code here: Appear at top of the post -->
</div>
@vinayprajapati
vinayprajapati / Ads in mid of Blogger posts
Created June 24, 2013 18:14
Ads in mid of Blogger posts automatically on certain labels
<!-- Ads in mid of post: automatically -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div expr:id='"atmid" + data:post.id'/>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.name == &quot;Label-Name&quot;'>
<div style="clear:both; margin:10px 0;text-align:center">
<!-- Paste Ad code here: Appear at mid of the post -->
</div>
</b:if>
</b:loop>
@vinayprajapati
vinayprajapati / Ads in mid of Blogger posts manual placement
Last active December 18, 2015 22:08
Ads in mid of Blogger posts manual placement. Just paste <!-- ads --> anywhere in Blogger post and ad will appear there.
<!-- Ads in mid of post: Manual Placement -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div expr:id='"atmid" + data:post.id'/>
<div style="clear:both; margin:10px 0;text-align:center">
<!-- Paste Ad code here: Appear at mid of the post -->
</div>
<div expr:id='"attop" + data:post.id'>
<div style="clear:both; margin:10px 0;text-align:center">
<!-- Paste Ad code here: Appear at top of the post -->
</div>
@vinayprajapati
vinayprajapati / Ads in mid of Blogger posts manual placement
Created June 24, 2013 18:19
Ads in mid of Blogger posts manual placement. Just paste <!-- ads --> anywhere in Blogger post and ad will appear there.
<!-- Ads in mid of post: Manual Placement -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div expr:id='"atmid" + data:post.id'/>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.name == &quot;Label-Name&quot;'>
<div style="clear:both; margin:10px 0;text-align:center">
<!-- Paste Ad code here: Appear at mid of the post -->
</div>
</b:if>
</b:loop>
@vinayprajapati
vinayprajapati / Hide Facebook Social Plugin Footer
Last active December 18, 2015 22:09
Facebook Like Box Without Facebook Social Plugin Footer Notice. To work this widget for you must change the value "fb-page-id" with real facebook page id.
@vinayprajapati
vinayprajapati / Google+ Add to Circles Popup Widget
Created June 24, 2013 18:33
Google+ Add to Circles/ Followers Popup Widget with Lightbox Effect - WHITE
<!-- DO NOT REMOVE OR MODIFY THIS CODE BEYOND PERMISSIONS. RESPECT DESIGNER, RESPECT DMCA.
Google+ Add to Circles/ Followers Popup Widget with Lightbox Effect - WHITE
Source Url: http://www.techprevue.com/2013/06/google-add-to-circles-followers-popup.html
This widget is distributed under cc license - BY-NC-ND INT. No-derivatives Allowed.
jQuery Colorbox Credit: http://www.jacklmoore.com/colorbox/
Please keep intact this copyright notice if you are using or distributing this widget on your website/site/blog. -->
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>
<script src="http://techprevue.googlecode.com/files/jquery.colorbox.min.js"></script>
<link rel="stylesheet" href="http://techprevue.googlecode.com/files/colorbox-white1.css" type="text/css" />
<script type="text/javascript">
@vinayprajapati
vinayprajapati / Google+ Add to Circles Popup Widget
Created June 24, 2013 18:35
Google+ Add to Circles/ Followers Popup Widget with Lightbox Effect - BLACK
<!-- DO NOT REMOVE OR MODIFY THIS CODE BEYOND PERMISSIONS. RESPECT DESIGNER, RESPECT DMCA.
Google+ Add to Circles/ Followers Popup Widget with Lightbox Effect - WHITE
Source Url: http://www.techprevue.com/2013/06/google-add-to-circles-followers-popup.html
This widget is distributed under cc license - BY-NC-ND INT. No-derivatives Allowed.
jQuery Colorbox Credit: http://www.jacklmoore.com/colorbox/
Please keep intact this copyright notice if you are using or distributing this widget on your website/site/blog. -->
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script>
<script src="http://techprevue.googlecode.com/files/jquery.colorbox.min.js"></script>
<link rel="stylesheet" href="http://techprevue.googlecode.com/files/colorbox-white1.css" type="text/css" />
<script type="text/javascript">