Skip to content

Instantly share code, notes, and snippets.

View hlrd93's full-sized avatar

Herwin Leonardo Rey Diaz hlrd93

View GitHub Profile
@hlrd93
hlrd93 / ES6en
Last active January 19, 2017 05:23
ES6en
#**ES6:** *First Episode.
###Introduction
Brendan Eich created a language called Mocha in 1995, when he worked on **Netscape**. Then, its name was changed to **LiveScript** in September of the same year. Nevertheless, this title was reformed too, for the reason that a commercialization emerged. **Netscape** was obtained by **Sun Microsystems**, owner of Java language.
Later in 1997 appeared the **ECMA (European Computer Manufacturers Association)**, a committee to standardize *JavaScript*. The standard is planned to avoid incompatibilities between browsers. Since then, *JavaScript* guidelines are run by *ECMAScript*.
At the beginning of 1999, the *ECMAScript* guideline third version is generated. It would remain usable for a few years more; next, some attempts were made to write the fourth version. However, it was only until 2011 that the fifth version *(ES5)* was approved and standardized.
@hlrd93
hlrd93 / React
Last active May 31, 2017 21:02
React
#**React:** *First episode*
###*Introduction*
React is a Javascript library focused on the development of user interfaces. This is the main work area, but with the whole ecosystem of applications and tools and components, with React we find an excellent partner to make all kinds of web applications, **SPA (Single Page Application)** or even mobile applications.
It is therefore a base on which you can build almost anything with Javascript and that facilitates much development, as it offers us many things already ready, in which we do not need to invest time to develop.
###*Configurar React*
*React* es una librería de ***JavaScript*** para crear interfaces de usuario, el primer paso es configurar el entorno.
@hlrd93
hlrd93 / ES6
Last active January 19, 2017 05:18
ES6
#**ES6:** *Primer Episodio*
###Introducción
Brendan Eich en 1995 crea un lenguaje llamado Mocha, cuando trabajaba en **Netscape**, luego en septiembre del mismo año cambia de nombre a **LiveScript**, hasta que cambiaron el nombre a **JavaScript** debido a una comercialización, ya que **Netscape** fue adquirido por **Sun Microsystems**, propietario del Lenguaje **Java**, muy popular para ese entonces.
Más tarde en 1997 se crea la ***ECMA (European Computer Manufacturers Association)***, comité para estandarizar *JavaScript*, dicho estándar está diseñado para evitar incompatibilidades entre navegadores y desde entonces las normas *JavaScript* están regidas por *ECMAScript*.
A inicio de 1999, se obtiene la tercera versión de la norma *ECMAScript*, que seguiría siendo válida unos años más, luego se le realizaron pequeños intentos para escribir la versión 4, pero fue hasta 2011 que la versión 5 (ES5) fue aprobada y estandarizada.
Posteriormente en 2013 el proyecto de la versión 6 fue detenido hasta diciembre
var quoteStatus = (function () {
var quotesStatus = "";
var db = {};
function getQuotes() {
//user id
var id = $("#uid").val();
@hlrd93
hlrd93 / quote.js
Last active October 6, 2016 17:20
quotes
// IIFE
var Rows = (function () {
var part_number = "";
var part_quantity = 0;
var i = 0;
var datosForm = [];
var data = [];
@hlrd93
hlrd93 / ruby_guide.rb
Created September 23, 2016 20:44
learning_inheritance
class Auto
attr_accessor :nValves, :wheels
attr_reader :model
attr_writer :model
#Methods are public by default
def self.motorValves
"It has #{ nValves } Valves";
end