Skip to content

Instantly share code, notes, and snippets.

View luisrodev's full-sized avatar
🤘
Lets go!

Luis Rubio luisrodev

🤘
Lets go!
View GitHub Profile
@luisrodev
luisrodev / cpus.js
Created December 28, 2019 01:40
Nodejs get total of cores in CPU.
const os = require('os')
const cpuCount = os.cpus().length;
console.log(cpuCount)

MicroTienda challenge

Crear una tienda pequeña de productos.

API

Utilizaras una API publica de productos falsos.

Unicamente utilizaras el endpoint products

{
"username": "luisrodev",
"name": {
"name": "Luis",
"surname": "Rubio",
"completeName": "Luis Rubio",
},
"avatar": "https://avatars.githubusercontent.com/u/19828952?v=4",
"networks": {
"github": "https://github.com/luisrodev",
// Ejemplo:
{
"brand": "Chevrolet",
"model": "Tornado",
"year": 2018,
"km": 85000,
"version": null,
"engine": "4 Cilindros",
"transmision": "Estandar",
"internalColor": "Negro",
@luisrodev
luisrodev / keybindings.json
Last active May 23, 2023 01:53
My vscode config file
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+q",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen"
},
@luisrodev
luisrodev / .env
Last active April 18, 2024 04:32
Send mail with sendGrid
SEND_GRID_API_KEY=<YOUR KEY HERE>
@luisrodev
luisrodev / colors.js
Created April 22, 2024 01:16
Tailwindcss color palette
const colors = {
slate: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',