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 / BallTracking.js
Created July 29, 2019 04:30
Ball tracking example with Node JS and OpenCV
// Ball tracking example with Node JS and OpenCV
// Before running this script please check de opencv4nodejs installation steps
// Dependencies: https://www.npmjs.com/package/opencv4nodejs
// Inspired by: https://www.pyimagesearch.com/2014/07/21/detecting-circles-images-using-opencv-hough-circles/
// Author Iddar Olivares <https://github.com/iddar> July 2019
const cv = require('opencv4nodejs');
const delay = 1
const devicePort = 0;
@iddar
iddar / git-deployment.md
Created August 17, 2018 06:40 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

@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
@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 / 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 () {
- 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
// 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"
@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
@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
[
{
"routeId": "1012",
"stops": [
{
"stopId": "1618",
"odom": "0",
"stopName": "Lone Mountain @ Rancho (W)",
"lat": "-115.241129",
"long": "36.247885",