This file contains hidden or 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
# !/bin/bash | |
# Rocket.Chat Matrix Federation Setup | |
# Author: Alan Sikora <[email protected]> | |
# https://github.com/alansikora | |
PWD=$(pwd) | |
[[ $1 = "-dev" ]] && DEV=true || DEV=false | |
# Set image versions | |
ROCKETCHAT_IMAGE_TAG="5.4.0" |
This file contains hidden or 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
var ThemeEnabler = { | |
isThemeOn: false, | |
controls: null, | |
onAppLoaded: async function() { | |
this.checkCookie() | |
do { |
This file contains hidden or 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
/** | |
* 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); |
This file contains hidden or 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
/** | |
* QuadEncoder.cpp - Library for reading moves from a quadrature rotary encoder | |
* Created by Pedro Rodrigues ([email protected]) 9, January of 2010 | |
* Released into the public domain. | |
*/ | |
#include "Arduino.h" | |
#include "QuadEncoder.h" | |
QuadEncoder::QuadEncoder(int pin1, int pin2) |