Skip to content

Instantly share code, notes, and snippets.

View ivandevp's full-sized avatar
💻
<Editor onWriteCode={doMagic} />

Ivan Medina ivandevp

💻
<Editor onWriteCode={doMagic} />
View GitHub Profile
@ivandevp
ivandevp / function-statement-expression.js
Created February 28, 2017 18:03
Function Statement vs. Function Expression
// Function Statement
// -------- ----------
// function saludo (nombre) {
// return "Hola " + nombre + "! :)";
// }
// console.log(saludo("Ivan"));
// Function Expression
// -------- ----------
@ivandevp
ivandevp / variables.js
Created February 21, 2017 17:00
Variables y Tipos de Datos JS
/*
* Reglas de nomenclatura de archivos:
*
* 1. No espacios en los nombres (ej: hola mundo -> malo!)
* 2. Mezcla de mayúsculas en los nombres (ej: HolaMundo -> malo!)
*/
var variableString = "Hola q' tal?";
// var variableNumber = 3;
// var variableNumber = 3.8976;
@ivandevp
ivandevp / lyft-api-request.js
Last active August 13, 2017 23:18
AJAX request to get authentication using Lyft API
var clientId = '<your_client_id_here>';
var clientSecret = '<your_client_secret_here>';
$.ajax({
url: 'https://api.lyft.com/oauth/token',
type: 'POST',
data: {
grant_type: 'client_credentials',
scope: 'public'
},
@ivandevp
ivandevp / learning_resources.md
Created August 21, 2016 02:02 — forked from nathansmith/web-design-development-learning-resources.md
Resources for learning web design & front-end development
@ivandevp
ivandevp / frontendDevlopmentBookmarks.md
Created August 21, 2016 01:50 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.