Skip to content

Instantly share code, notes, and snippets.

View alexishida's full-sized avatar
👨‍💻
Coding

Alex Ishida alexishida

👨‍💻
Coding
View GitHub Profile
@alexishida
alexishida / AlterandoPWM
Last active June 8, 2020 15:50
Sketch feito para aumentar a frequência dos pinos PWM do Arduino
/*
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
*
* ---------------------------------------------------------------------------- */
@alexishida
alexishida / index.html
Created September 22, 2016 03:46
jQuery’s JSONP API GitHub example
<!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://help.ubuntu.com/community/Boot-Repair
@alexishida
alexishida / wsrest.ino
Created October 12, 2016 02:12
WS REST using ENC28J60 and DHT11
#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 };
@alexishida
alexishida / game-developers-links.md
Last active May 12, 2017 21:54
Many game graphics for Game Developers
@alexishida
alexishida / instalando-sendmail.txt
Created March 28, 2017 06:46
Instalando sendmail Ubuntu
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
@alexishida
alexishida / rbenv-ruby-rails-install.sh
Last active September 7, 2024 02:23
Script to install rbenv, Ruby, nodejs and yarn
#!/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
@alexishida
alexishida / Docker mariadb+phpmyadmin
Last active April 5, 2022 13:29
Docker mariadb+phpmyadmin
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 \