I hereby claim:
- I am dplarina on github.
- I am dplarina (https://keybase.io/dplarina) on keybase.
- I have a public key ASC76mYD1PRXgIhL-4Fg22V55AXnphX1qzuGpNgFWts8cgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function isAnimatedGif(src, cb) { | |
var request = new XMLHttpRequest(); | |
request.open('GET', src, true); | |
request.responseType = 'arraybuffer'; | |
request.addEventListener('load', function () { | |
var arr = new Uint8Array(request.response), | |
i, len, length = arr.length, frames = 0; | |
// make sure it's a gif (GIF8) | |
if (arr[0] !== 0x47 || arr[1] !== 0x49 || |
REM clean vs cache | |
DEL /S /Q "%LOCALAPPDATA%\Temp\VWDWebCache" | |
DEL /S /Q "%LOCALAPPDATA%\Microsoft\WebsiteCache" | |
DEL /S /Q "%LOCALAPPDATA%\Microsoft\Microsoft\VisualStudio\14.0\ComponentModelCache" | |
DEL /S /Q "%LOCALAPPDATA%\Microsoft\Microsoft\VisualStudio\15.0\ComponentModelCache" | |
DEL /S /Q "%LOCALAPPDATA%\Microsoft\Microsoft\VisualStudio\15.0_2e8d5045\ComponentModelCache" | |
REM clean ReSharper cache | |
DEL /S /Q "%LOCALAPPDATA%\JetBrains\Transient\*" |