Skip to content

Instantly share code, notes, and snippets.

Avatar

Luis Chacón luisgreen

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am luisgreen on github.
  • I am luis_green (https://keybase.io/luis_green) on keybase.
  • I have a public key ASBzFT4jZpUEpZ9xgXmOG9uv1f_z-K2f5sAEjBRbrnX-kAo

To claim this, I am signing this object:

View emby-cache.conf
# This establish the cache duration and path
proxy_cache_path /embythumbnails levels=1:2 keys_zone=embythumbnails:500m inactive=15d;
server {
listen 80 ;
server_name mydomain.com;
return 301 https://$host$request_uri;
}
@luisgreen
luisgreen / ADXL345-I2C.ino
Last active Apr 11, 2019
ADXL345 I2C Accelerometer Notes
View ADXL345-I2C.ino
#include <Wire.h>
#include <LiquidCrystal.h>
/**
ADXL345 ACCELEROMETER IIC
Usualmente, la dirección IIC de este dispositivo es 0x53
*/
#define DEVICE_ADDRESS 0x53
/**