Skip to content

Instantly share code, notes, and snippets.

View tjunussov's full-sized avatar

Tim TJey Jun tjunussov

View GitHub Profile
sudo lshw -C display
nvidia-smi
watch nvidia-smi
nvidia-smi pmon -i 0
#the-nvidia-container-toolkit
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-the-nvidia-container-toolkit
@tjunussov
tjunussov / gist:5b53057826fd5d4c90b121ba6d225cbd
Last active November 26, 2023 13:05
ESP-Home caperplus_q2_uart_sensor
substitutions:
device_name: esphome_caperplus
pretty_name: "Water Quality"
# ip_address: 192.168.99.56
esphome:
name: $device_name
platform: ESP8266
board: d1_mini
https://peeveeone.com/?p=100
https://github.com/xtruong91/cc2530f256
https://habr.com/ru/post/581568/
https://dsr-iot.com/downloads
# a
- vuex-persist save vuex state of modules in localStorage/cookie/indexdb ( https://github.com/championswimmer/vuex-persist )
- axios-mock-adapter
- https://github.com/maoberlehner/vuex-map-fields
- https://davestewart.github.io/vuex-pathify
- https://github.com/davestewart/axios-actions
- https://www.vue-tailwind.com/
@tjunussov
tjunussov / schema.sql
Created March 2, 2021 12:05 — forked from hays-hutton/schema.sql
A Simplified Schema Example for PostgREST
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE TABLE IF NOT EXISTS
users (
email TEXT PRIMARY KEY CHECK ( email ~* '^.+@.+\..+$' ),
pass TEXT NOT NULL CHECK (length(pass) < 256),
role NAME NOT NULL CHECK (length(role) < 256)
);
CREATE TABLE IF NOT EXISTS
@tjunussov
tjunussov / Quasar Initial Loading
Created November 11, 2020 06:30
Rotating circle before page loaded
<style>@keyframes lds-circle { 0%, 100% {animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);} 0% {transform: rotateY(0deg);} 50% {transform: rotateY(1800deg); animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1); } 100% {transform: rotateY(3600deg);}} </style>
<body class="bg-grey-2" ontouchstart="">
<div id="q-app"><div style="display: inline-block; transform: translateZ(1px); position: fixed; top: 50%; left: 50%; margin-left: -32px; margin-right: -32px;"><div style="display: inline-block; width: 32px; height: 32px; margin: 8px; border-radius: 50%; background: #054bb5;animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;"></div></div></div>
</body>
Beok TDS23WIFI-AC
https://community.home-assistant.io/t/beta-for-hysen-thermostats-powered-by-broadlink/56267/82
https://github.com/JueFri/hello-world/wiki/Beok-TDS21WIFI-WP-Thermoregulator
https://github.com/uspass/hysenheating/tree/master/config/custom_components/hysenheating
https://github.com/mairas/hysen
https://github.com/ralphm2004/broadlink-thermostat/blob/master/broadlink/__init__.py
https://github.com/ajaxorg/ace
https://github.com/chairuosen/vue2-ace-editor
https://jgraph.github.io/mxgraph/
https://github.com/yvettemuki/typeflow-editor
#logs: autoclears logs after some time
#websocket: doesnt have explicit listeners outs ( connected, disconnected, close )
#system: doesnt have global listener before reload, restart events to clean up connections
#modbus lib: doesnt have vector function Request and it splits one request to multiple function calls
#node: join node
#node jsonata: requeires payload property
#system: no restart/reload whole nodejs server ( to reinitialize libs )
#system: process list with status/state of whole processes, uptime, errors etc.
#system: all settings in one tab