Skip to content

Instantly share code, notes, and snippets.

View juandl's full-sized avatar
🎯
Focusing

Juan David juandl

🎯
Focusing
View GitHub Profile
'use strict';
const b64toBlob = (b64Data, contentType='', sliceSize=512) => {
const byteCharacters = atob(b64Data);
const byteArrays = [];
for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {
const slice = byteCharacters.slice(offset, offset + sliceSize);
const byteNumbers = new Array(slice.length);
@gokulkrishh
gokulkrishh / media-query.css
Last active December 21, 2024 11:12
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */