######################################################################
https://medium.com/@ageitgey/machine-learning-is-fun-80ea3ec3c471
https://medium.com/@ageitgey/machine-learning-is-fun-part-2-a26a10b68df3
/* | |
Sketch feito para aumentar a frequência dos pinos PWM do Arduino Mega 2560 (serve para o Uno só tem que alterar os timers) | |
Autor: Alex Ishida | |
E-mail: alexishida@gmail.com | |
Twitters: @alexishida | |
Data: 19/08/2014 | |
Versão: 1.0.0 | |
Documentação utilizada: |
/* ------------------------------------------------------------------------------ | |
* | |
* # Gulp file | |
* | |
* | |
* Autor: Alex Ishida | |
* Versão: 1.0 | |
* | |
* ---------------------------------------------------------------------------- */ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Teste JSONP - API do GITHUB</title> | |
<link rel="shortcut icon" href="/favicon.ico" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
<script src='https://code.jquery.com/jquery-3.1.0.min.js'></script> |
######################################################################
https://medium.com/@ageitgey/machine-learning-is-fun-80ea3ec3c471
https://medium.com/@ageitgey/machine-learning-is-fun-part-2-a26a10b68df3
https://help.ubuntu.com/community/Boot-Repair |
#include <EtherCard.h> | |
#include <DHT.h> | |
#define DHTPIN A1 // pino que estamos conectado | |
#define DHTTYPE DHT11 // DHT 11 | |
DHT dht(DHTPIN, DHTTYPE); | |
// Ethernet interface ip address | |
static byte myip[] = { 192, 168, 0, 115 }; |
######################################################################
sudo apt-get install sendmail | |
sudo sendmailconfig | |
sudo pico /etc/hosts | |
127.0.0.1 197b43000208 localhost localhost.localdomain | |
::1 197b43000208 localhost ip6-localhost ip6-loopback | |
fe00::0 ip6-localnet | |
ff00::0 ip6-mcastprefix |
#!/bin/bash | |
#--------------------------------------------------------------------------------------- | |
# Script to install rbenv, Ruby, nodejs and yarn | |
# Source: https://gist.github.com/alexishida/655fb139c759393ae5fe47dacd163f99 | |
# | |
# Author: Alex Ishida <alexishida@gmail.com> | |
# Version: 1.6.4 - 23/08/2024 | |
#--------------------------------------------------------------------------------------- | |
# | |
# HOW TO INSTALL A SCRIPT |
docker run -d \ | |
--name=mariadb \ | |
--restart=always \ | |
-v /etc/localtime:/etc/localtime:ro \ | |
-e MYSQL_ROOT_PASSWORD=root \ | |
-v /storage/mariadb:/var/lib/mysql \ | |
-p 3306:3306 \ | |
mariadb:latest | |
docker run -d \ |