This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongoose = require('mongoose'); | |
const Schema = mongoose.Schema; | |
const UserModel = new Schema({ | |
name: { | |
type: String | |
}, | |
avatar: { | |
type: String | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react'; | |
const foods = [ | |
{ | |
name: 'Pabellon', | |
type: 'lunch' | |
}, | |
{ | |
name: 'Empadanda', | |
type: 'breakfast' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const quotes = [ | |
{ | |
"chelsea_fc": [ | |
"If they made a film of my life, I think they should get George Clooney to play me. He's a fantastic actor and my wife thinks he would be ideal.", | |
"It will be the strongest Champions League ever. Every shark will be there." | |
] | |
}, | |
{ | |
"madrid": [ | |
"I know Madrid is a special club. Madrid is politics. Madrid is not about football, Madrid is not about sport, is about many things around.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: --- YOUR TITLE | |
creator: Francisco Gonzalez \<[email protected]\> | |
author: | |
- YOUR AUTHOR \<[email protected]\> | |
papersize: a4 | |
toc: true | |
toc-title: Content | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
usage() { | |
cat <<EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "2b6988fc-d29b-42e7-9788-9a0e5245f6cd", | |
"name": "jsonplaceholder", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Posts", | |
"request": { |