Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/*
Maintainer: Allan de Queiroz
---
## Installation
1. Replace by habId(line 27) and habToken(line 28) with your ones, you can find them [Here](https://habitica.com/user/settings/api)
2. Go to [https://script.google.com/](https://script.google.com/)
1. Create a new project, give some nice name to it and the script as well, I liked the one from the inspirational script HabiticaReminders.
# rm /usr/share/X11/xorg.conf.d/50-mtrack.conf
# Install mtrack driver 0.5.0++
# Save this file to /usr/share/X11/xorg.conf.d/50-mtrack.conf
# This config is specialized for MacBook Air 2012 (5,2)
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
MatchDevicePath "/dev/input/event*"
Driver "mtrack"
# The faster you move, the more distance pointer will travel, using "polynomial" profile
QCon 2019
from fedora
RUN dnf install python-pip -y
RUN dnf -y install dnf-plugins-core
RUN dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
RUN dnf config-manager --set-disabled docker-ce-test
RUN dnf config-manager --set-disabled docker-ce-edge
RUN dnf install docker-ce -y
RUN pip install docker-compose
let stompClient = null;
function setConnected(connected) {
$("#connect").prop("disabled", connected);
$("#disconnect").prop("disabled", !connected);
if (connected) {
$("#conversation").show();
}
else {
$("#conversation").hide();