| #!/usr/bin/env python | |
| import json | |
| import subprocess | |
| import os | |
| import sys | |
| def resolve_depset_to_paths(artifacts, path_fragments, depset): | |
| all_inputs = [] | |
| for artifact_id in depset["directArtifactIds"]: |
After the 1948278201th time of having to apply this patch manually after a CSGO update I decided it's time for a script. In essense this script will:
- Detect the distribution
- Install the respective
libtcmallocvia the disto's package manager. - Search the lib paths to find the location of
libtcmalloc_minimal.so.4 - Copy it into the
GAMEROOT/bin/linux64path.
This is a rought draft document describing the build of VyOS on microk8s for use as a home WAN firewall/router. I also use an Ubiquiti UAP Pro Access Point to broadcast my home wifi networks.
Here is a visual of the silent fanless intel i7 kubernetes node, access point, and power-over-ethernet adapter.
This is a slightly over estimated annual power cost estimate for powering the whole setup.
| --- a/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc | |
| +++ b/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc | |
| @@ -257,7 +257,7 @@ | |
| return false; | |
| } | |
| -#if BUILDFLAG(IS_LINUX) | |
| +#if 0 | |
| if (format.IsLegacyMultiplanar()) { | |
| // ExternalVkImageBacking doesn't work properly with external sampler |
This is about running 8BitDo's Firmware Update tool for Windows in Wine. It can be used for updating newer 8BitDo devices that may not be supported by fwupd on Linux. This tool uses .NET Framework, so it will need Wine Mono to be installed (dotnet48 wintericks verb was tested to work as well).
This tool needs Segoe UI Symbol font, on Arch this font is provided by ttf-ms-win10-auto package. For other distributions there is install script.
You will have to let Wine access device's HID interface for updating the firmware. Most importantly it should be a boot HID interface (exposed when device is in bootloader mode, often referred to as "manual update mode" or "advanced mode"). It is also worth adding the Product IDs for HID interfaces that are exposed under different conditions (for example, Ultimate Bluetooth Controller's receiver exposes a HID interface when controller is not connected),
| # # This is an esphome configuration file. | |
| # # It is tested on debian-12 and [nanoESP32-C6](https://github.com/wuxx/nanoESP32-C6/blob/master/README_en.md). | |
| # # This configuration should work on any Linux distribution and any ESP32-C6 board though. | |
| # | |
| # # Create and activate python venv, install esphome: | |
| # test -d ./venv || python3 -m venv venv | |
| # source ./venv/bin/activate | |
| # pip install esphome --upgrade | |
| # | |
| # # Connect ESP32-C6 to USB, press and hold "Boot" button, press and release "Reset", release "Boot". |