Skip to content

Instantly share code, notes, and snippets.

@abhishekdagarit
abhishekdagarit / Contract.md
Last active October 25, 2016 21:34 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

#Contract

Between [company name]

And [customer name].

Summary:

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
abhishekdagarit / Moving footer the the bottom of page using bootstrap
Last active October 25, 2016 21:38
Flushing footer to bottom of the page, twitter bootstrap
@abhishekdagarit
abhishekdagarit / fullscreen homepage video.html
Created October 26, 2016 00:46
To make a video appear in the background of a page and to make that take the entire screen size.
<!-- 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">
Rainfall
</video>
</div>
<!-- Video background ends-->
@abhishekdagarit
abhishekdagarit / deploy-static-site-heroku.md
Created November 1, 2016 19:26 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku

Gist

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
abhishekdagarit / Sum of variables.md
Last active September 21, 2017 15:33
Sum of variables

Sum of single variable

Simply write sum followed by the variable name.

proc print data=test;
sum salary;
run;
@abhishekdagarit
abhishekdagarit / Sort function in SAS.md
Last active September 22, 2017 12:48
Sort function in SAS

Sort function in SAS

By

Basic sort function. Uses by.

proc sort data=work.test;
by Salary;
@abhishekdagarit
abhishekdagarit / Special cases.md
Last active September 22, 2017 15:50
Special cases

Special cases

Maximum number of decimal places

proc print data=work.temp maxdec=2;
run;

labels in SAS

@abhishekdagarit
abhishekdagarit / Printing a dataset in SAS.md
Last active September 22, 2017 16:00
Printing in SAS

Printing a dataset

proc print data = d1;
run;

Printing only one variable

@abhishekdagarit
abhishekdagarit / Global statements in SAS.md
Last active September 23, 2017 08:33
Global statements in SAS

Global statements in SAS

List of global statements in SAS

  1. title
  2. options
  3. footnote

Properties of global statements in SAS

@abhishekdagarit
abhishekdagarit / Frequency in SAS.md
Last active September 23, 2017 08:36
Frequency in SAS

Frequency in SAS

Used using the proc freq statement

complete frequency table

proc freq data=work.test;
run;