Skip to content

Instantly share code, notes, and snippets.

View ferreiro's full-sized avatar
👨‍🎤
Dancing in the rain

Jorge Ferreiro ferreiro

👨‍🎤
Dancing in the rain
View GitHub Profile

¡Un montón de cosas! De entrada, como ingeniero informático y apasionado por programar, estar en un evento como codemotion es genial para conectar con un montón de gente super interesante haciendo cosas muy chulas. Además, siempre me ha interesado la organización de eventos y me molaría aprender de gente como vosotros. Como experiencia, en mi facultad organicé y di un workshop de diseño web patrocinado por github (vinieron 50 personas, un hito en mi facultad :P) y también estuve organizando durante un año aprox un evento de emprendedores de madrid (iniciador.com/madrid), congregabamos en torno a 80-100 personas. Pero claro, nada de la magnitud de codemotion! Así que tengo ganas de aprender cómo lo hacéis.

Además, por nombrar algunas cosas más:

  • Ayudar a que los ponentes se sientan felices y no les falte de nada durante su paso por Codemotion.
  • Hacer networking con mis compañeros (voluntarios) y también con los asistentes y ponentes del evento.
  • Agilizar los procesos para que todos los asistentes sepan co
@ferreiro
ferreiro / passport.js
Last active November 9, 2016 19:43
Configuration
'use strict'
const passport = require('passport')
const configuration = require('../config')
const tokens = configuration.tokens
// User models
const UserDB = require('../api/v1/database/user')
// Passport strategies modules

Answers to the questions from Lesson 2: Rendering UI with React

1) What is a component? How do components relate to props?

A component is a reactJS object that knows how to render itself and combines a bunch of small elements together with the goal of grouping and encapsulating functionality.

Props are one of the ways to pass data to a component. More in detail, props are the properties available to use for the component.

2) How do we know whether something should be a component in React?

$ cd web-app && yarn start
[0] [nodemon] 1.18.9
[0] [nodemon] to restart at any time, enter `rs`
[0] [nodemon] watching: *.*
[0] [nodemon] starting `babel-node ./bin/www`
$ react-scripts start
[1]
[1] There might be a problem with the project dependency tree.
[1] It is likely not a bug in Create React App, but something you need to fix locally.
[1]
@ferreiro
ferreiro / favorite-tech-hackathons.md
Last active October 23, 2019 21:53
Some of the hackathons I like or I have attended.

Favorite tech hackathons

  • Devpost is the home for hackathons, and it contains a great list of hackathons.
  • MLH: Major League Hacking, contains the 2020 Hackathon Season.

United States

  • PennApps (UPenn, University of Pennsylvania).
  • HackMIT (The Massachusetts Institute of Technology).
  • Cal Hacks (UC Berkeley).
  • Hack The North (University of Waterloo).
"colorPickers":{
"primaryColor": {
"label":"Primary Background Color",
"value":"#000"
},
"secondaryColor": {
"label":"Secondary Background Color",
"value":"red"
},
import React from 'react';
import get from 'lodash/get';
import isEmpty from 'lodash/isEmpty';
import queryString from 'query-string';
import shajs from 'sha.js';
import { LandingComingSoon } from '../LandingComingSoon';
const ACCESS_TOKEN = process.env.GATSBY_ACCESS_TOKEN;
const TOKEN_KEY = 'token';
import React from 'react';
// import ReactGA from 'react-ga';
import { FaTwitter, FaFacebookF, FaLinkedinIn } from 'react-icons/fa';
import {
FacebookShareButton,
TwitterShareButton,
LinkedinShareButton,
} from 'react-share';
import { css } from '@emotion/core';
const admin = require("firebase-admin");
const bodyParser = require("body-parser");
const cors = require("cors");
const express = require("express");
const stripeSdk = require("stripe");
const { body } = require("express-validator");
const get = require("lodash/get");
const merge = require("lodash/merge");
const { isEmpty } = require("lodash");