Skip to content

Instantly share code, notes, and snippets.

View garrettbear's full-sized avatar
🏗️
building

Garrett Bear garrettbear

🏗️
building
View GitHub Profile
@garrettbear
garrettbear / cloudSettings
Last active April 30, 2019 22:15
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-04-30T22:06:41.069Z","extensionVersion":"v3.2.9"}
@garrettbear
garrettbear / cloudSettings
Last active February 26, 2019 01:05
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-02-26T01:04:55.744Z","extensionVersion":"v3.2.5"}
(function (context, trackingId, options) {
const history = context.history;
const doc = document;
const nav = navigator || {};
const storage = localStorage;
const encode = encodeURIComponent;
const pushState = history.pushState;
const typeException = 'exception';
const generateId = () => Math.random().toString(36);
const getId = () => {