Skip to content

Instantly share code, notes, and snippets.

View tsabunkar's full-sized avatar
💻
Building systems that last

Sabunkar Tejas Shailesh tsabunkar

💻
Building systems that last
View GitHub Profile
FUN WITH JAVASCRIPT :)
===========PROBLEM-1======================
var foo = function foo() {
console.log(foo === foo);
};
foo();
Ans -
True <-
False
int[] Array = {30, 20, 10, 40, 60, 50};
for(int k = 0; k < Array.length; k++) {
int holder = Array[k];
int j = k;
while(j > 0 && holder < Array[j - 1]) {
Array[j] = Array[j-1];
j = j - 1;
Array[j] = holder;
}
}

OpenAPI Specification

Version 3.0.2

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 RFC2119 RFC8174 when, and only when, they appear in all capitals, as shown here.

This document is licensed under The Apache License, Version 2.0.

Introduction

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SO Tags</title>
</head>
@tsabunkar
tsabunkar / Angular-cli.md
Created June 19, 2018 13:10 — forked from cortesben/Angular-cli.md
Bash commands and Angular CLI commands

#Angular-cli oh shit!

https://cli.angular.io/reference.pdf

Commands Description
ng help returns all commands with flags they can take as a param
ng new [project-name] create a brand new angular project with live server BANG!
ng init grabs name from folder that already exist
@tsabunkar
tsabunkar / googleapi_sigin_webapplication.html
Created June 15, 2018 11:38
GoogleAPI Sigin - Its only for webapplication (frontend) which has been generated using OAuth client ID.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="google-signin-client_id" content="306552833988-0pnfe2jga10fb1orkpa8gu08pm3bl14p.apps.googleusercontent.com">
<title>Home Page</title>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
@tsabunkar
tsabunkar / chat_nodejs_style.css
Last active June 10, 2018 14:37
StyleSheet for chat application(which is written in nodejs)
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 300;
font-size: .95rem;
}
ul, li {