Skip to content

Instantly share code, notes, and snippets.

@jneo8
jneo8 / snapd-interfaces.md
Created October 31, 2023 03:27 — forked from dclane-code/snapd-interfaces.md
snapd interface creation

Writing snapd interfaces

Goal of this is to create an interface that allows a snap to read (for example) /root/dclane.txt

Checkout snapd

$ git clone https://github.com/snapcore/snapd.git
$ git checkout 2.59.5       # best to be on a released version than HEAD
@jneo8
jneo8 / falcon_lifecycle.py
Last active April 1, 2018 14:33
falcon framework lifecycle
init_req()
init_resp()
get_middleware()
try:
try:
request_middleware()
except:
handle_exception()