Skip to content

Instantly share code, notes, and snippets.

View annabranco's full-sized avatar
🦄
Dreaming...

Anna Branco annabranco

🦄
Dreaming...
View GitHub Profile
@annabranco
annabranco / javascript
Last active March 28, 2024 16:07
Generate RollTable from text list (Foundry VTT Macro)
const generateRandomId = () => {
const chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
let id = '';
for (let i = 0; i < 16; ++i) {
id += chars[Math.floor(Math.random() * chars.length)];
}
return id;
};
@annabranco
annabranco / postcssSorting.config
Created November 11, 2018 14:42
Configurations for PostCSS Sorting plugin
"postcssSorting.config": {
"order": [
"custom-properties",
"dollar-variables",
{
"type" : "at-rule",
"name" : "include",
},
{
"type" : "at-rule",
@annabranco
annabranco / AngularTourOfHeroes.md
Created September 15, 2018 17:29 — forked from mrcodedev/AngularTourOfHeroes.md
The Tour of Heroes tutorial covers the fundamentals of Angular.

Angular: Tutorial Tour of Heroes

Angular es un framework JavaScript, gratuito y Open Source, creado por Google y destinado a facilitar la creación de aplicaciones web modernas de tipo SPA (Single Page Application).

Su primera versión, AngularJS, se convirtió en muy poco tiempo en el estándar de facto para el desarrollo de aplicaciones web avanzadas.

[
{
"name": "Nymphadora Tonks",
"species": "human (metamorphmagus)",
"gender": "female",
"house": "Hufflepuff",
"dateOfBirth": "",
"yearOfBirth": 1973,
"ancestry": "half-blood",
"eyeColour": "variable (dark)",