Skip to content

Instantly share code, notes, and snippets.

Avatar

Neeraj Jadhav neeraj87

  • Pune
View GitHub Profile
View style.css
body {
font-family: 'Lato';
}
@neeraj87
neeraj87 / JIRA_API.txt
Created May 28, 2018
JIRA API call to create ticket.txt
View JIRA_API.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 Apr 23, 2017
Node app.js starter template
View app.js
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 Mar 15, 2017
Keeping footer of a site to the bottom of the page
View index.html
<!DOCTYPE html>
<html>
<style>
html,
body {
margin:0;
padding:0;
height:100%;
}
#container {