Skip to content

Instantly share code, notes, and snippets.

Hola soy Miguel, emprendedor y loco de la automatización.
Pretendo resolver un problema de esta sociedad que es la incapacidad de dedicar tiempo a comprar la ropa adecuada a tu estilo.
Para ello, propongo una plataforma donde configures tu estilo y forma de vestir, donde, con la ayuda de un estilista (videoconf), definas tu sistema de diseño:
La configuracion la dividimos en tres tipos de reglas:
- Reglas por prendas (componentes y patrones) Los nombres de prendas que quieres que compongan tu sistema de diseño, tanto a nivel atomico como agrupaciones de estos
Ej componente: CamisetaX:
The objetive as simple as writing a function that recives an integer `n` and return an array from `1` to `n` where:
- Multiples of 3 have been replaced with `Fizz`
- Multiples of 5 have been replaced with `Buzz`
- Multiples of both have been replaced with `FizzBuzz`
fizzBuzzToN(0) // => []
fizzBuzzToN(5) // => [1,2,'Fizz', 4, 'Buzz']
fizzBuzzToN(15) // => [1,2,'Fizz', 4, 'Buzz', 'Fizz', 7, 8, 'Fizz', 'Buzz', 11, 'Fizz', 13, 14, 'FizzBuzz']
@kanedaki
kanedaki / from-an-ubuntu-droplet.md
Created September 6, 2016 08:18 — forked from werelax/from-an-ubuntu-droplet.md
Privision a node server

The first steps

Change the root password (to get a good password: http://passwordsgenerator.net/) and create a non root user:

useradd -m -s /bin/bash not_root
passwd not_root
apt-get update; apt-get install -y nginx sudo
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="main.js" type="text/javascript"></script>
</head>
<body>
<form>
<input type="number" name="userId">
<input type="text" name="name">