Skip to content

Instantly share code, notes, and snippets.

View Sunflower's full-sized avatar

Edwin Zhou Sunflower

View GitHub Profile
@Sunflower
Sunflower / cloudSettings
Last active April 21, 2020 20:56
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-04-21T20:56:03.729Z","extensionVersion":"v3.4.3"}
addDataset(id: string, content: string): Promise<InsightResponse> {
return new Promise(function (fulfill, reject) {
let zip = new JSZip();
let courseStringsPromises: Promise<string>[] = [];
if (id === "" || id === null) {
reject({"code": 400, "body": {"error": "invalid id"}});
}
if (content === "" || content === null) {