# installed by winget
winget install PowerShell-Preview
winget install git
git config --global user.name "Christophe Dervieux"
git config --global user.email christophe.dervieux@gmail.com
winget install rstudio
winget install vscode
winget install -e R
winget install Github.GithubDesktop
{ | |
"name": "Hacker", | |
"timestamp": 1760965387035, | |
"palette": { | |
"wallpaper": "", | |
"colors": [ | |
"#0B0C16", | |
"#31f759", | |
"#4fe88f", | |
"#50f7d4", |
//!!!!!!!!!!!!!! | |
//Thanks to @thebookisclosed for the code. I just rearranged in a way so you can access without having to use the registry | |
//HINT about compatibility: they CANNOT change feature keys otherwise existing apps would break | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Cryptography; | |
using System.Text; | |
using Windows.ApplicationModel; |
Always follow the instructions in plan.md. When I say "go", find the next unmarked test in plan.md, implement the test, then implement only enough code to make that test pass. | |
# ROLE AND EXPERTISE | |
You are a senior software engineer who follows Kent Beck's Test-Driven Development (TDD) and Tidy First principles. Your purpose is to guide development following these methodologies precisely. | |
# CORE DEVELOPMENT PRINCIPLES | |
- Always follow the TDD cycle: Red → Green → Refactor | |
- Write the simplest failing test first |
@echo off | |
setlocal enableDelayedExpansion | |
set "unziper=7za.exe" | |
if not exist "NoxPlayer" ( | |
if not exist "!unziper!" call :downloadSevenZip | |
call :downloadNoxPlayer | |
) | |
call :downloadLawnChair |
#include "Display_ST7701.h" | |
spi_device_handle_t SPI_handle = NULL; | |
esp_lcd_panel_handle_t panel_handle = NULL; | |
void ST7701_WriteCommand(uint8_t cmd) | |
{ | |
spi_transaction_t spi_tran = { | |
.cmd = 0, | |
.addr = cmd, | |
.length = 0, |
This is where I'll document my research for controlling the SoundCore Liberty Air 2 Pro TWS earbuds without using the manufacturer's mobile app.
The first thing I'll do, and likely the easiest, is figure out how to switch between ANC modes. These earbuds come with Active Noise Cancellation and let you switch between 3 modes: Noise Cancellation, Transparency, and Normal (no ANC applied). The two ANC modes also come with their own submodes.
- Noise Cancellation
- Transport
- Indoor
- Outdoor
- Custom (lets you spin a slider to adjust some opaque parameter of the ANC algorithm, ignored for now)
by xero updated 10.29.24
Author: Mario Klingemann
This guide configures a Raspberry Pi Zero W to stream WAV files (8kHz, mono PCM) to a phone via Bluetooth Hands-Free Profile (HFP), simulating a microphone for calls. Tested on Raspbian Bullseye with a Pixel 8 Pro and Pixel 6 Pro, it should work with similar setups.
Note: due to restrictions of Android it seems that headset microphones are not allowed to use certain features like voice assistant or voice typing on the keyboard. This seems to be an ongoing nuisance and I have not found a solution for it.
Note: this might not work on a Raspberry Zero 2 W, since it is using a different bluetooth chip which seems to have certain quirks.