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
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { |
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
| import socket | |
| from time import sleep | |
| DRONE_IP = '172.50.10.1' | |
| DRONE_BOND_PORT = 4646 | |
| RESET_CMD=b'{"CMD":0,"PARAM":-1}\n' | |
| BOND_CMD=b'{"CMD":89,"PARAM":1}\n' | |
| EXPECTED_SERVER_RESPONSE = '{ "CMD": 89, "PARAM": -1, "RESULT": 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
| version: "3.7" | |
| x-vars: | |
| - &TZ | |
| TZ=Australia/Melbourne | |
| - &DnsRestart | |
| restart: always | |
| extra_hosts: | |
| - "tv.home:192.168.0.99" |
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/bash | |
| # === For rooted LG TVs with WebOsBrew installed only === | |
| # | |
| # On LG WebOStv, RetroArch only have access to a few jailed folders so to run games on a usb drive, | |
| # we need to 'merge' the USB mounting point with one of those jailed folders using OverlayFS. | |
| # The scripts on folder '/var/lib/webosbrew/init.d/' will run after every tv boot. | |
| # Remove the $STARTUP_FOLDER/$SCRIPT_TO_RUN_AFTER_BOOT and reboot to revert the change. | |
| # | |
| # Tested on 7.3.0-03.30.72 | |
| # |
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
| // A simple zig module to generate compile_commands.json, used by clangd LSP server | |
| // https://github.com/the-argus/zig-compile-commands | |
| const zcc = @import("compile_commands"); | |
| const std = @import("std"); | |
| pub fn build(b: *std.Build) !void { | |
| const optimize = b.standardOptimizeOption(.{}); | |
| const target = b.standardTargetOptions(.{}); | |
| var clangd = try std.ArrayList(*std.Build.Step.Compile).initCapacity(b.allocator, 5); |
OlderNewer