Skip to content

Instantly share code, notes, and snippets.

View skyline-123's full-sized avatar
🎯
Focusing

skyline-123

🎯
Focusing
View GitHub Profile
@skyline-123
skyline-123 / cloudSettings
Created June 26, 2018 02:48
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-06-26T02:48:26.644Z","extensionVersion":"v2.9.2"}
@skyline-123
skyline-123 / ImageTools.es6
Created July 25, 2017 09:37 — forked from dcollien/ImageTools.es6
Resize Images in the Browser
let hasBlobConstructor = typeof(Blob) !== 'undefined' && (function () {
try {
return Boolean(new Blob());
} catch (e) {
return false;
}
}());
let hasArrayBufferViewSupport = hasBlobConstructor && typeof(Uint8Array) !== 'undefined' && (function () {
try {