๐
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
--- | |
BasedOnStyle: Google | |
# We keep 2-space indentation, 80-column limit, attached braces, etc. | |
IndentWidth: 2 | |
TabWidth: 2 | |
UseTab: Never | |
ColumnLimit: 80 | |
BreakBeforeBraces: Attach |
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
#![no_std] | |
#![no_main] | |
use core::{fmt::Write as _, str::from_utf8}; | |
use embedded_hal_nb::serial::{Read, Write}; | |
use esp_backtrace as _; | |
use esp_hal::{ | |
clock::ClockControl, | |
gpio, | |
peripherals::Peripherals, |
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
@pytest.fixture | |
def my_pretty_fixture(): | |
def inner(url_part, param): | |
url = f"{url_part}/azaza/{param}" | |
response = requests.post(url) | |
return response.json() | |
return inner | |
def test_puk(my_pretty_fixture): |
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
CREATE EXTENSION ltree; | |
CREATE TABLE test( | |
id serial primary key, | |
path ltree | |
); | |
INSERT INTO test (path) VALUES | |
('1'), | |
('1.1'), | |
('1.1.1'), |