# These commands should be run on your local machine, e.g. laptop
# If you already have an AWS instance handy, skip to `Install dependencies` step
juju bootstrap \
--bootstrap-constraints "cores=2 mem=4G" \
--config mongo-memory-profile=low \
--model-default logging-config="<root>=DEBUG" \
aws/us-east-1 \
uk8saws
This file contains 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
v1: | |
provides: | |
type: object | |
properties: | |
access-key: | |
type: string | |
namespace: | |
type: ['string', 'null'] | |
port: | |
type: number |
This file contains 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
# Proposed syntax for pyproject.toml that would be understood by | |
# charmtools. A few different syntaxes for defining dictionaries | |
# are shown to demonstrate TOML syntax. | |
# The hook that allows our tooling to get called | |
[build-system] | |
requires = ["charmtools", "wheel"] | |
build-backend = "charmtools:pip" | |
# Define both the default official layer source, and a custom, internal one |
This file contains 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
"""Defines and runs a reactive state machine.""" | |
from typing import Dict, List | |
class State: | |
"""Represents a discrete state that a state machine can be in. | |
Every state machine should define exactly one initial state with `initial=True`. | |
Every state machine can transition to an auto-generated Failed state (from any |
-
Add self to
input
group:sudo usermod -a -G input $USER
-
Edit
/etc/libinput-gestures.conf
:gesture swipe up _internal --col=2 ws_down gesture swipe down _internal --col=2 ws_up
gesture swipe left _internal --row=2 ws_down
https://github.com/Freeyourgadget/Gadgetbridge/wiki/Pebble-Firmware-updates
Copy it to your working directory
virtualenv venv -p $(which python2.7)
source venv/bin/activate
pip install libpebble2 git+https://github.com/pebble/pebble-tool.git sourcemap
I hereby claim:
- I am knkski on github.
- I am kennethkoski (https://keybase.io/kennethkoski) on keybase.
- I have a public key whose fingerprint is 16A5 539B 6175 476C E8DC C008 C238 5CD8 999B D2DE
To claim this, I am signing this object: