Skip to content

Instantly share code, notes, and snippets.

abhishek abhishekdagarit

Block or report user

Report or block abhishekdagarit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
abhishekdagarit /
Last active Oct 25, 2016 — forked from malarkey/Contract Killer
The latest version of my ‘killer contract’ for web designers and developers


Between [company name]

And [customer name].


We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

abhishekdagarit / Moving footer the the bottom of page using bootstrap
Last active Oct 25, 2016
Flushing footer to bottom of the page, twitter bootstrap
View Moving footer the the bottom of page using bootstrap
abhishekdagarit / Disable mouse scroll wheel zoom on embedded Google Maps
Created Oct 25, 2016
Disable mouse scroll wheel zoom on embedded Google Maps
View Disable mouse scroll wheel zoom on embedded Google Maps
I work on a WordPress site where the authors usually embed Google Maps using iFrames in most posts.
Is there a way to disable the zoom via mouse scroll wheel on all of them using Javascript?
I was having the same problem: when scrolling the page then the pointer becomes over the map,
it starts to zoom in/out the map instead of continuing scrolling the page. :(
abhishekdagarit / fullscreen homepage video.html
Created Oct 26, 2016
To make a video appear in the background of a page and to make that take the entire screen size.
View fullscreen homepage video.html
<!-- Video background -->
<div class="row" id="bgvid">
<video controls width="100%" height="100%" autoplay="autoplay" loop="loop" muted="muted">
<source src="rain.mp4" type="video/mp4">
<!-- Video background ends-->
abhishekdagarit /
Created Nov 1, 2016 — forked from wh1tney/
How to deploy a static website to Heroku


This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions

abhishekdagarit / html file.css
Created Jun 4, 2017
Code for putting an image as banner in Bootstrap
View html file.css
background-image: url('images/mac.jpg');
min-height: 800px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
View Align an image to centre in bootstrap.html
use class “centre-block"
There is .center-block class in Twitter Bootstrap 3 (Since v3.0.1), so use:
<img src="..." alt="..." class="img-responsive center-block" />
View Working a

Working a tableau

The parts involved in a tableau are:

  1. Hierarchies
  2. Groupings
  3. Filters
  4. Drag Drop Feature.
  5. Cleaning the visualisation: Uncheck what you do not need.
  6. Dashboard
View Printing a dataset in

Printing a dataset

proc print data = d1;

Printing only one variable

You can’t perform that action at this time.