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 m.entity_id, COUNT(*) as count FROM states AS S | |
| INNER JOIN states_meta AS M ON M.metadata_id = s.metadata_id | |
| GROUP BY m.entity_id ORDER BY count DESC LIMIT 20; |
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
| #!/bin/sh | |
| killall JLinkGDBServerCL.exe | |
| killall socat | |
| # Start JLink GDB Server with specified parameters | |
| "/mnt/c/Program Files/SEGGER/JLink_V812a/JLinkGDBServerCL.exe" -singlerun -nogui -if swd -port 50000 -swoport 50001 -telnetport 50002 -device STM32H757ZI -nolocalhostonly -rtos GDBServer/RTOSPlugin_ChibiOS.so & | |
| sleep 1 |
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
| ; CONFIG FILE | |
| ; GitHub reporitory: https://github.com/mr-manuel/venus-os_dbus-mqtt-grid | |
| ; remove semicolon ; to enable desired setting | |
| [DEFAULT] | |
| ; Set logging level | |
| ; ERROR = shows errors only | |
| ; WARNING = shows ERROR and warnings | |
| ; INFO = shows WARNING and running functions | |
| ; DEBUG = shows INFO and data/values |
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://github.com/home-assistant/supervised-installer | |
| https://github.com/home-assistant/os-agent/tree/main#using-home-assistant-supervised-on-debian | |
| edit /etc/hassio.json | |
| { | |
| "supervisor": "ghcr.io/home-assistant/armv7-hassio-supervisor", | |
| "machine": "odroid-c2", | |
| "data": "/usr/share/hassio" | |
| } |
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
| kali - AWUS036AXML | |
| sudo hcxdumptool -m wlan0 | |
| sudo iwconfig wlan0 channel 6 | |
| wireshark decoder | |
| Within Wireshark, click on "Help->About->Folders->Personal Lua Plugins" and allow it to create a "plugins" folder as needed. |
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
| repo forall -c "git count-objects -vH | grep 'GiB' && pwd" | |
| repo forall -c "git count-objects -vH | grep 'MiB' && pwd" | |
| repo forall -c "git count-objects -v | grep size-pack | tr -d '\012\015' && pwd " | sort -nk2 | |
| repo forall -c "du .git -d 0 -L | tr -d '\012\015' && pwd " | sort -nk1 |
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
| version: '3.6' | |
| services: | |
| gitlab: | |
| image: gitlab/gitlab-ce:9.3.5-ce.0 | |
| container_name: gitlab | |
| restart: always | |
| hostname: 'gitlab' | |
| environment: | |
| GITLAB_OMNIBUS_CONFIG: | | |
| # Add any other gitlab.rb configuration here, each on its own line |
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://rtestardi.github.io/usbte/usbte.html | |
| Failed to execute 'claimInterface' on 'USBDevice': Unable to claim interface. | |
| chrome://device-log | |
| USBError[11:28:32] Interface 0 uses driver "usbser" instead of WinUSB. | |
| ref https://groups.google.com/a/chromium.org/g/webusb/c/qmbqfPNj97A |
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
| public static final String settingLoginPassword = "goodwe2010"; | |
| MONITOR_ADDRESS = Integer.parseInt((String)"C0", (int)16); | |
| MONITOR_SN = new byte[]{50, 49, 48, 48, 48, 82, 69, 78, 49, 53, 51, 48, 48, 48, 48, 49}; | |
| INVENTER_DEFAULTSN = Integer.parseInt((String)"7F", (int)16); | |
| INVENTERPACKAGE_HEAD = new byte[]{Integer.valueOf((String)"AA", (int)16).byteValue(), Integer.valueOf((String)"55", (int)16).byteValue()}; | |
| REGISTER_QUERY_CODE = new byte[]{Integer.valueOf((String)"00", (int)16).byteValue(), Integer.valueOf((String)"00", (int)16).byteValue()}; | |
| REGISTER_REQUEST_CODE = new byte[]{Integer.valueOf((String)"00", (int)16).byteValue(), Integer.valueOf((String)"80", (int)16).byteValue()}; |
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
| mines ubuntu 20.04 based, WSL2 | |
| in windows | |
| wsl --list -v | |
| * Ubuntu-20.04 Stopped 2 | |
| in wsl | |
| # the old update routine | |
| sudo apt-get update -y | |
| # add tools to build kernel, apologies if i missed anything as i already have a bunch of dev stuff setup | |
| sudo apt-get install -y autoconf bison build-essential flex libelf-dev libncurses-dev libssl-dev libtool libudev-dev |
NewerOlder