Get all user tables & size
SELECT database, table, storage_policy, round(total_bytes / 1024 / 1024) as MiB
FROM system.tables
WHERE storage_policy IS NOT NULL AND lower(database) NOT IN ('system', 'information_schema');
chip "nvme-pci-*" | |
label temp2 "flash" | |
label temp3 "cpu" | |
# ASRock B350 Fatal1ty Gaming ITX/ac | |
# 2019, contributed by Erdem U. Altinyurt | |
# Modified by Flaviu Tamas | |
# | |
# dmi: board_name: B350 Fatal1ty Gaming ITX/ac |
SELECT database, table, storage_policy, round(total_bytes / 1024 / 1024) as MiB
FROM system.tables
WHERE storage_policy IS NOT NULL AND lower(database) NOT IN ('system', 'information_schema');
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
"""Script to draw bounding boxes and text from a Tesseract box file. | |
The script takes an image TIFF_FILE, draws the text and bounding boxes | |
of the corresponding BOX_FILE and saves the resulting OUT_FILE. | |
Tesseract box file columns: | |
<symbol> <left> <bottom> <right> <top> <page> |
CREATE USER iam_admin; | |
GRANT rds_iam TO iam_admin; | |
grant rds_superuser to iam_admin; | |
CREATE USER iam_readonly; | |
GRANT rds_iam TO iam_readonly; | |
GRANT pg_read_all_data to iam_readonly; | |
REVOKE CREATE ON SCHEMA public FROM iam_readonly; |
These instructions have moved to https://github.com/emporia-vue-local/esphome
import sys | |
import datetime | |
""" | |
Dumps the data from a bluetooth-connected PC-60FW fingertip oximeter to a CSV | |
on stdout. | |
# Getting started | |
Make sure you have CMake, gcc, and python 3.7+ installed. |
Jul 23, 2018
by Mikael Rosbacke
$ comby -ripgrep '-g*.py' -match-only ':[~_?]settings:[~[()]*].get:[~_?([iI]nt|[fF]loat|[bB]oolean)?](:[_])' '' | |
OctoPrint-TheSpaghettiDetective-master/octoprint_thespaghettidetective/plugin_apis.py:48:_settings.get(["auth_token"]) | |
OctoPrint-TheSpaghettiDetective-master/octoprint_thespaghettidetective/plugin_apis.py:49:_settings.get(["sentry_opt"]) | |
OctoPrint-TheSpaghettiDetective-master/octoprint_thespaghettidetective/plugin_apis.py:58:_settings.get(["sentry_opt"]) | |
OctoPrint-TheSpaghettiDetective-master/octoprint_thespaghettidetective/janus.py:53:_settings.get(["auth_token"]) | |
OctoPrint-TheSpaghettiDetective-master/octoprint_thespaghettidetective/janus.py:56:_settings.get(["disable_video_streaming"]) | |
Octoprint-Filament-Revolutions-master/octoprint_filamentrevolutions/__init__.py:40:_settings.get(["runout_pin"]) | |
Octoprint-Filament-Revolutions-master/octoprint_filamentrevolutions/__init__.py:44:_settings.get(["jam_pin"]) | |
Octoprint-Filament-Revolutions-master/octoprint_filamentrevolutions/__init__.py:48:_settings. |
Sep 27 14:34:07 tight-seat kernel: Fixing recursive fault but reboot is needed! | |
Sep 27 14:34:07 tight-seat kernel: CR2: 00007f98264ad0a0 CR3: 00000007f340a000 CR4: 00000000003406e0 | |
Sep 27 14:34:07 tight-seat kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 | |
Sep 27 14:34:07 tight-seat kernel: FS: 00007f9825772400(0000) GS:ffffa0947efc0000(0000) knlGS:0000000000000000 | |
Sep 27 14:34:07 tight-seat kernel: R13: 0000000000000024 R14: 00000000ffffffff R15: ffffa0947b807640 | |
Sep 27 14:34:07 tight-seat kernel: R10: 0000000000000018 R11: 0000000000000018 R12: 651927072fe29674 | |
Sep 27 14:34:07 tight-seat kernel: RBP: 0000000000000dc0 R08: ffffa0947b807640 R09: ffffa08eaed0cd3c | |
Sep 27 14:34:07 tight-seat kernel: RDX: 0000000054211e0f RSI: 0000000054211e0f RDI: 00000000000310a0 | |
Sep 27 14:34:07 tight-seat kernel: RAX: 651927072fe29694 RBX: 0000000000000000 RCX: 00000000000310a0 | |
Sep 27 14:34:07 tight-seat kernel: RSP: 0018:ffffb4fe0c4bbbb8 EFLAGS: 00010202 |
// generates a websocket for a sockjs endpoint, as defined in | |
// https://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html | |
// | |
// This websocket works just like a regular websocket, and is compatible with | |
// stompjs. | |
// | |
// `onmessage` and `send()` are modified to transparently handle converting to and | |
// from sockjs messages | |
// | |
// (c) 2020, Flaviu Tamas |