This file contains 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
#include <FuzzyRule.h> | |
#include <FuzzyComposition.h> | |
#include <Fuzzy.h> | |
#include <FuzzyRuleConsequent.h> | |
#include <FuzzyOutput.h> | |
#include <FuzzyInput.h> | |
#include <FuzzyIO.h> | |
#include <FuzzySet.h> | |
#include <FuzzyRuleAntecedent.h> |
This file contains 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
# rand generate 6 numbers in range of 1 to 60, and print ordered | |
(1..60).sort_by{ rand }[1..6].sort |
This file contains 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
/*! | |
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome | |
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) | |
*/ | |
@import "font-awesome/scss/variables"; | |
/* FONT PATH VARIABLE | |
* -------------------------- */ | |
$fa-font-path: "font-awesome/fonts/"; | |
/* -------------------------- */ |
This file contains 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
# redirect www to @ | |
server { | |
server_name www.zerokol.com; | |
rewrite ^(.*) http://zerokol.com$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name zerokol.com; | |
server_tokens off; |
This file contains 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
/* | |
* AJ Alves ([email protected]) | |
*/ | |
const int REED_SWITCH_PIN = 3; // Reed Switch Pin | |
void setup() { | |
Serial.begin(9600); // Init serial 9600 | |
pinMode(REED_SWITCH_PIN, INPUT); // Set pin as INPUT | |
} |
This file contains 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
/* | |
* AJ Alves ([email protected]) | |
*/ | |
#include <SPI.h> | |
#include "nRF24L01.h" | |
#include "RF24.h" | |
// Instantiate RF24 class with CE and CSN values | |
RF24 radio(9, 10); |
This file contains 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
/* | |
* AJ Alves ([email protected]) | |
*/ | |
#include <SPI.h> | |
#include "nRF24L01.h" | |
#include "RF24.h" | |
// Instantiate RF24 class with CE and CSN values | |
RF24 radio(9, 10); |
This file contains 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
/* | |
* AJ Alves ([email protected]) | |
*/ | |
#include <SPI.h> | |
#include "nRF24L01.h" | |
#include "RF24.h" | |
// Instantiate RF24 class with CE and CSN values | |
RF24 radio(2, 15); |
This file contains 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
/* | |
Definição da classe Pessoa: Pessoa.h | |
*/ | |
#ifndef PESSOA_H | |
#define PESSOA_H | |
#include "string" | |
using std::string; | |
class Pessoa |
This file contains 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
/* | |
Implementação da classe Pessoa: Pessoa.cpp | |
*/ | |
#include "Pessoa.h" | |
Pessoa::Pessoa(){}; | |
void Pessoa::setNome(string nome) | |
{ |
OlderNewer