Skip to content

Instantly share code, notes, and snippets.

View tanishqvyas's full-sized avatar
💫
Nitwit Blubber Oddment Tweak

Tanishq Vyas tanishqvyas

💫
Nitwit Blubber Oddment Tweak
View GitHub Profile
@tanishqvyas
tanishqvyas / gitcommands.md
Last active March 27, 2021 08:19
A list of useful day-to-day used git commands

Git Installation

In order to install git visit git-scm and follow the necessary steps to complete the installation as mentioned on the website.

Git initial setup

We will assume a few information about a hypothetical person so as to proceed with the setup.

Assumoptions :

  1. Github username : sampleuser
@tanishqvyas
tanishqvyas / google-to-bing-maps.js
Created April 21, 2020 08:34 — forked from coolaj86/google-to-bing-maps.js
convert coords from google maps to bing maps
// Believe it or not, Microsoft has this documented:
// http://msdn.microsoft.com/en-us/library/bb259689.aspx
function toBing(x, y, zoom) {
var x2 = pad(String(x.toString(2)), zoom + 1)
, y2 = pad(String(y.toString(2)), zoom + 1)
, quadkey = ''
;
function pad(n, p) {