Skip to content

Instantly share code, notes, and snippets.

View ZeroDragon's full-sized avatar
🌮
Tacos de canasta

Zero Dragon ZeroDragon

🌮
Tacos de canasta
View GitHub Profile
@ZeroDragon
ZeroDragon / How to clone a git repo to an existing folder (not empty).md
Last active April 21, 2024 02:41
How to clone a git repo to an existing folder (not empty)
  1. First get to the existing directory
    $ cd my/folder/

  2. Now start a new git repository
    $ git init

  3. Identify if the current elements on the directory are needed or not and add them to the .gitignore file. When ready...
    $ vim .gitignore

  4. When ready create the first commit on the server

@ZeroDragon
ZeroDragon / README.md
Last active November 11, 2023 18:39
Este es un grid system para CSS

Stylus Minimal Grid System

Un sistema de columnas para CSS, basado en 12 columnas, líquido, MVP.
Puede ser usado como semilla para extenderlo a diferentes resoluciones o páginas responsivas.

Por default el gap entre columnas es de 10px, pero se puede cambiar con la variable gap en la línea 2

## Update 2016-09-30 Agrego una versión modificada responsiva. Incluye la misma base a 12 columnas, reduje el gap a 8px Hice el grid a 5 saltos responsivos:

flowchart TD
1(I do something stupid) --> 2(She gets mad)
3(She does something stupid) --> 4(I get mad)
4 --> 5(She gets mad)
2 --> 6(I apologise)
5 --> 6

Costos:

  • Morro, va a ir por la comida: parrillada $5,200 total
  • Banda: $2000

Falta conseguir:

  • Cheve
  • Botana
  • Desechables (platos, vasos, cubiertos)
  • Refresco
@ZeroDragon
ZeroDragon / rando.js
Created June 1, 2022 02:16
True Random Generator
/**
* This small gist is based on https://github.com/nastyox/Rando.js
* The idea of this gist is to have a compatible node and browser script that can replace Math.random()
* using crypto libraries built-in in node and browser and without the extra baggage for automatic object
* array o string behaviours
* it fallbacks to Math.random()
**/
const rando = () => {
try {

Lugar:

  • Terraza que propuso Antwan
    • Checar lo del costo y detalles
    • Checar dinero para soltarlo de tesorería
    • $3000 (50% para apartar)
  • Checar la terraza del año pasado (precio) (encargado: Profe)

Parches:

  • Mandar a hacer 60 parches $3,600 (presupuesto Qro)
  • Cotizar con el proveedor del profe

Fecha de ArmañoFest:

  • El 20 de agosto es el festejo del aniversario

Dineros a la fecha de la junta (5 de Mayo):

  • Total recaudado al momento: $11,858.00
  • Total de faltantes: $5,892.00

Encargos a los prepus:

  • Propuestas de comida
  • Propuestas de lugar para antes del domingo 15 de mayo
name: '&eEscrituras Lote 1'
lore:
- Sirve para reclamar el Lote 1
material: PAPER
headDBID: ''
glow: true
glowDrop: false
disableStack: false
keepItemOnDeath: false
give-first-join: false
@ZeroDragon
ZeroDragon / readme.md
Last active February 17, 2022 18:36
Get latest changes since last release

First we need to clone "Bare" the repository to be able to read the commits

git clone --bare url/to.git

IMPORTANT, you need to add this to your config otherwise, git fetch wont work

git config remote.origin.fetch 'refs/heads/*:refs/heads/*'
/give @s bow{Unbreakable:1,display:{Name:'[{"text":"Windrunner","italic":false}]'},Enchantments:[{id:vanishing_curse,lvl:1},{id:flame,lvl:5},{id:infinity,lvl:1},{id:power,lvl:5}]}
/give @s diamond_pickaxe{Unbreakable:1,display:{Name:'[{"text":"Cavemaker","italic":false}]'},Enchantments:[{id:vanishing_curse,lvl:1},{id:efficiency,lvl:5},{id:fortune,lvl:5},{id:sharpness,lvl:5},{id:silk_touch,lvl:1}]}
/give @s diamond_helmet{Unbreakable:1,Enchantments:[{id:aqua_affinity,lvl:1},{id:blast_protection,lvl:5},{id:vanishing_curse,lvl:1},{id:fire_protection,lvl:5},{id:projectile_protection,lvl:5},{id:protection,lvl:5},{id:respiration,lvl:5},{id:thorns,lvl:5}]}
/give @s diamond_chestplate{Unbreakable:1,Enchantments:[{id:blast_protection,lvl:5},{id:vanishing_curse,lvl:1},{id:fire_protection,lvl:5},{id:projectile_protection,lvl:5},{id:protection,lvl:5},{id:thorns,lvl:5}]}
/give @s diamond_boots{Unbreakable:1,Enchantments:[{id:blast_protection,lvl:5},{id:vanishing_curse,lvl:1},{id:feather_falling,lvl:5},{id:fire_protect