Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
-- https://psutil.readthedocs.io/en/latest/#psutil.Process.memory_full_info | |
-- Linux: 0=rss, 1=vms, 2=shared, 3=text, 4=lib, 5=data, 6=dirty, 7=uss, 8=pss, 9=swap | |
CREATE OR REPLACE FUNCTION get_memory_info(pid INTEGER DEFAULT NULL, memtype INTEGER DEFAULT 0) | |
RETURNS BIGINT | |
AS | |
$$ | |
import psutil | |
p = psutil.Process(pid) | |
return p.memory_full_info()[memtype] | |
$$ |
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
SELECT | |
min(times) AS start_time, | |
max(times) AS stop_time, | |
max(times) - min(times) AS duration, | |
now() - min(times) AS delta_backup_time_from_start, | |
now() - max(times) AS delta_backup_time_from_finish, | |
pg_is_in_backup() | |
FROM | |
( SELECT | |
((regexp_matches(pg_read_file(waldir || filename), '[0-9]*-[0-9]*-[0-9]* [0-9]*:[0-9]*:[0-9]*', |
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
[include mainsail.cfg] | |
[mcu] | |
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_19001B000550415339373620-if00 | |
restart_method: command | |
#[mcu zboard] | |
#serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_56FF69067189545028462567-if00 | |
#restart_method: command |
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
# generated by SuperSlicer 2.4 on 2023-06-09 at 19:05:38 UTC | |
[print:First Layer Test] | |
allow_empty_layers = 0 | |
avoid_crossing_not_first_layer = 1 | |
avoid_crossing_perimeters = 0 | |
avoid_crossing_perimeters_max_detour = 0 | |
bottom_fill_pattern = monotonicgapfill | |
bottom_solid_layers = 3 | |
bottom_solid_min_thickness = 0 |
OlderNewer