Skip to content

Instantly share code, notes, and snippets.

View iddar's full-sized avatar
🤹‍♂️
code juggling

Iddar Olivares iddar

🤹‍♂️
code juggling
View GitHub Profile
@iddar
iddar / index.html
Created November 19, 2015 19:09 — forked from anonymous/index.html
Relux Join // source http://jsbin.com/tahufucohu
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Relux Join</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.12.2/react.js"></script>
<script src="https://rawgit.com/spoike/refluxjs/master/dist/reflux.js"></script>
</head>
<body>
<div id="example"></div>
@iddar
iddar / setup-node-edison.sh
Last active January 2, 2016 20:41
Setup node 4 on Intel Edison
cd ~
wget https://nodejs.org/dist/latest-v4.x/node-v4.2.4-linux-x86.tar.gz
mkdir temp
tar xvf node-v*.tar.gz -C ./temp
rm -rf node-v*
cd temp
mv node-v* node
[
{
"routeId": "1012",
"stops": [
{
"stopId": "1618",
"odom": "0",
"stopName": "Lone Mountain @ Rancho (W)",
"lat": "-115.241129",
"long": "36.247885",
@iddar
iddar / git.sh
Last active January 6, 2016 22:31
git checktout -b taskid-123
git rebase dev
# git commit -am 'message'
git push origin taskid-123
# create pull request
git rebase head~# -i #if commits > 1
git checkout dev
git merger taskid-123
git push origin dev
@iddar
iddar / jsonParse.ino
Last active January 29, 2016 00:32
Crash Json parse
#include <ArduinoJson.h>
char json_string[512];
StaticJsonBuffer<512> jsonBuffer;
// "main":"Clear","description":"sky is clear"
// y tal vez temp":20,"pressure":1019,"humidity":19
// password of your WiFi network.
#define mySSID "513570"
#define myPSK "H21208269B2B"
// openweathermap Constants
#define HTTP_PORT 80
#define WEATHER_SERVER "api.openweathermap.org"
#define ID_CITY "4019233"
#define APP_ID "44db6a862fba0b067b1930da0d769e98"
- Recursos
https://facebook.github.io/react/docs/getting-started.html
https://github.com/reactjs/react-router/tree/0.13.x
http://webpack.github.io/docs/what-is-webpack.html
- Video podcast
https://egghead.io/
- Conferencias
https://www.youtube.com/watch?v=PAA9O4E1IM4&list=PLCC436JpVnK0Phxld2dD4tM4xPMxJCiRD
@iddar
iddar / cookies.js
Created September 27, 2017 07:19 — forked from CrocoDillon/cookies.js
Export your awesome module using AMD, CommonJS, Node.js or just as global.
/*
* Inspiration (well… copy pasting more or less) from:
* https://github.com/ScottHamper/Cookies/blob/0.3.1/src/cookies.js#L127-L140
*
* Thanks Scott!
*/
(function (global) {
'use strict';
var MyModule = function () {
@iddar
iddar / Dia 4.md
Last active October 19, 2017 21:16
  • Tarea dia 4
  • 1 Instalar GIT
  • 2 clone el repositorio de perezniño-backend
git clone https://github.com/Holowaychitos/pereznino-backend.git
  • 3 instalar las dependencias
npm i
@iddar
iddar / XIRR.js
Created December 20, 2017 18:27 — forked from ghalimi/XIRR.js
XIRR Function
// Copyright (c) 2012 Sutoiku, Inc. (MIT License)
// Some algorithms have been ported from Apache OpenOffice:
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file