Skip to content

Instantly share code, notes, and snippets.

View ShapeGroup's full-sized avatar
💫
It always seems impossible until it’s done. (Mandela)

Shape group ShapeGroup

💫
It always seems impossible until it’s done. (Mandela)
View GitHub Profile
@ShapeGroup
ShapeGroup / js-kit-image-url-to-base-sixty-four.js
Created June 19, 2021 20:49
js-kit-image-url-to-base-sixty-four
//// JS KIT - read a in b64 an image url
//// MIT LICENCE
//// Credit: alberto marà
// how to use:
// imageurltob64('jpg', paths.uploads + "staff/" + gud.picture, img64data => {
// yourimage.src = img64data;
// });
//// JS KIT - WAIT A TIME
//// MIT LICENCE
//// Credit: alberto marà
// how to use:
// wait(3000);
@ShapeGroup
ShapeGroup / js-kit-pathfinder.js
Last active September 26, 2021 10:08
js-kit-pathfinder
//// JS KIT - PATHS FINDER
//// MIT LICENCE
//// Credit: alberto marà
// how to use:
// <img src="'+this.resouces+'images/imagename.svg" />;
//// JS KIT - B64
//// MIT LICENCE
//// Credit: alberto marà
// how to use:
// var mydata = b64.encode('myjsobjectorstring');
// var mydata = b64.decode('myjsobjectorstring');
@ShapeGroup
ShapeGroup / js-kit-cooks.js
Last active June 19, 2021 20:13
js-kit-cookies-manager
//// JS KIT - COOKIE MANAGER
//// MIT LICENCE
//// Credit: alberto marà
// how to use:
// var getacookie = cookies.read('mycookiename');
// cookies.write('session', mycookiestringorobject, 10000);
// cookies.remove('mycookiename');
@ShapeGroup
ShapeGroup / js-kit-base-sixty-four-extended.js
Last active June 19, 2021 20:32
js-kit-base-64-extended
//// JS KIT - BASE 64 EXTENDED MANAGER
//// MIT LICENCE
//// Credit: alberto marà
// how to use:
// var mydata = b64.encode('myjsobjectorstring');
// var mydata = b64.decode('myjsobjectorstring');
@ShapeGroup
ShapeGroup / js-samples-collection
Last active June 22, 2021 08:30
collection of js code & techniques
,---._
.-- -.' \
| | :
: ; |
: | .--.--.
| : :/ / '