Skip to content

Instantly share code, notes, and snippets.

View ggazzo's full-sized avatar
:octocat:
:)

Guilherme Gazzo ggazzo

:octocat:
:)
View GitHub Profile
@ggazzo
ggazzo / rocket_theme_dark.js
Created October 17, 2019 13:45 — forked from edvinassabaliauskas/rocket_theme_dark.js
Dark theme enabler for Rocket.Chat. Theme taken from https://github.com/0x0049/Rocket.Chat.Dark
var ThemeEnabler = {
isThemeOn: false,
controls: null,
onAppLoaded: async function() {
this.checkCookie()
do {
@ggazzo
ggazzo / dabblet.css
Created December 5, 2013 01:46 — forked from narqo/dabblet.css
/**
* Table row with border-radius and box-shadow playgroud
*/
html{
min-height:100%;
}
body{
background-image:-o-linear-gradient(top, #fff, #dcdcdc);
background-image:-moz-linear-gradient(top, #fff, #dcdcdc);
background-image:-webkit-linear-gradient(top, #fff, #dcdcdc);
/**
* QuadEncoder.cpp - Library for reading moves from a quadrature rotary encoder
* Created by Pedro Rodrigues (medecau@gmail.com) 9, January of 2010
* Released into the public domain.
*/
#include "Arduino.h"
#include "QuadEncoder.h"
QuadEncoder::QuadEncoder(int pin1, int pin2)