Skip to content

Instantly share code, notes, and snippets.

View neeraj87's full-sized avatar
🏠
Working from home

Neeraj Jadhav neeraj87

🏠
Working from home
  • Pune
View GitHub Profile
body {
font-family: 'Lato';
}
@neeraj87
neeraj87 / JIRA_API.txt
Created May 28, 2018 14:23
JIRA API call to create ticket.txt
1. create basic authentication header : https://developer.atlassian.com/server/jira/platform/basic-authentication/
by base 64 encoded string of username:password (your jira username and password)
2. Add authorization header to the request:
Authorization: Basic ZnJlZDpmcmVk
3. Content-Type: application/json
@neeraj87
neeraj87 / app.js
Created April 23, 2017 04:29
Node app.js starter template
var express = require('express'); //create a new express app
var exphbs = require('express-handlebars');
var router = express.Router(); //use express 4.0 router to define routes
var bodyParser = require('body-parser'); //pull information from html post
var cookieParser = require('cookie-parser');
var http = require('http');
var path = require('path');
var winston = require('winston');
var app = express();
@neeraj87
neeraj87 / index.html
Last active March 15, 2017 08:30
Keeping footer of a site to the bottom of the page
<!DOCTYPE html>
<html>
<style>
html,
body {
margin:0;
padding:0;
height:100%;
}
#container {