Skip to content

Instantly share code, notes, and snippets.

View FerJSsilva's full-sized avatar

Fernando JS Silva FerJSsilva

View GitHub Profile
@FerJSsilva
FerJSsilva / README-Template.md
Created July 29, 2018 04:00 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@FerJSsilva
FerJSsilva / Clock.js
Created July 17, 2018 17:07
A simple React Clock using moment.js
import React, { Component } from 'react';
import moment from 'moment';
class Clock extends Component {
state = {
dateTime: moment.utc().format('ddd DD MMM HH:mm:ss'),
}
componentDidMount() {
this.timerId = setInterval(this.tick, 1000);