Skip to content

Instantly share code, notes, and snippets.

View fabianrubio's full-sized avatar
🏠
Working from home

Fabian Rubio fabianrubio

🏠
Working from home
  • Traxion
  • Mexico City
  • 23:07 (UTC -06:00)
View GitHub Profile
@roshanlabh
roshanlabh / react-phone-book.js
Created January 24, 2021 13:10
Coderbyte - React Phone Book [solution]
import React, { useState } from "react";
import ReactDOM from "react-dom";
const style = {
table: {
borderCollapse: "collapse",
},
tableCell: {
border: "1px solid gray",
margin: 0,
@SoyDiego
SoyDiego / testingReactEnzyme.md
Last active August 27, 2020 05:05
Unit Testing - Configuraciones Iniciales Enzyme - Cheatsheet Testing React

Configuraciones Iniciales Enzyme - Unit Testing

  • Instalamos Enzyme:
npm i --save-dev enzyme enzyme-adapter-react-16
  • Instalamos Enzyme-To-JSON:
npm install --save-dev enzyme-to-json
@cgonzalezdai
cgonzalezdai / como-subir-un-proyecto-local-a-github.md
Last active October 10, 2025 09:49
Como subir un proyecto local a github

Como subir un proyecto local a github.

desde la web de github

Creamos un nuevo repositorio en https://github.com. Le damos nombre, descripción, seleccionamos si va a ser un proyecto publico o privado si es el caso, y dejamos el check de crear README sin marcar. Le damos a crear repositorio y con esto ya tenemos el repositorio donde alojaremos nuestro proyecto.

desde la terminal del equipo donde esta el proyecto que queremos subir a github

Nos vamos a la carpeta del proyecto y ejecutamos estos comandos.

git init

git add .