This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Nossas Bibliotecas | |
#include "Thread.h" | |
#include "ThreadController.h" | |
#include "LinkedList.h" | |
#include "Gaussian.h" | |
#include "GaussianAverage.h" | |
// Bibliotecas externas | |
#include "TimerOne.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* GeddyJs belongsToMany helper module | |
* Ivan Seidel Gomes (ivanseidel@gmail.com) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Robo{ | |
Vetor position; | |
Vetor direction; | |
Robo(double x, double y){ | |
position = new Vetor(x, y); | |
direction = fromTheta(Math.PI/4); | |
} | |
public void mover(double passos){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface QuandoPrecisaExecutar{ | |
public void executar(Robo eeew); | |
} | |
class Robo{ | |
Vetor position; | |
Vetor direction; | |
Robo(double x, double y){ | |
position = new Vetor(x, y); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface QuandoPrecisaExecutar{ | |
public void executar(Robo eeew); | |
} | |
// http://bit.ly/1FSZBkP | |
class Robo{ | |
Vetor position; | |
Vetor direction; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright 2014 Ivan Seidel | |
Light controll for animations and transitions | |
When animating 'fromElement' to 'toElement', with options: | |
$.transition(toElement, fromElement, options); | |
$.transition(toElement, options); | |
$.transition(toElement); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var five = require('johnny-five'); | |
var request = require('request'); | |
var url = 'https://script.google.com/macros/s/YOUR-APP-ID-HERE/exec'; | |
var board = new five.Board(); | |
board.on("ready", function() { | |
var sensor = new five.Pin("A0"); | |
// Faz leitura unica e loga o valor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Vivo Routers use as default, a 4 digit Hexadecimal password (like 'A8DB', '123F'...) | |
This is a simple script to try lots of them, and find out the right one. | |
Developed by ivanseidel, github.com/ivanseidel | |
*/ | |
var request = require('request'); | |
var async = require('async'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Ivan Seidel, Feb/2017 | |
// | |
// This is a efficiency comparision on state manipulation of arrays | |
// using ~push~ and ~spread~ operator. | |
// | |
// Reason why I did this: | |
// while getting in sync with current JS/Nodejs tools around the web, | |
// I got myself digging into Redux's example codes and good practices. | |
// One of those, was to always use pure functions. Always re-create |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const async = require('async') | |
const chalk = require('chalk') | |
const TAG = chalk.green('[PM2]') | |
require('draftlog').into(console) | |
/* | |
* Statuses is an array of each server status. | |
*/ |
OlderNewer