# 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
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
| Windows 8.1 Build 9600 RTM Permanent Activation Via Phone | |
| Download - http://www.mediafire.com/download/7707c2tmgsdw0sv | |
| Continue to install like normal and when asked for a serial enter one of the following (DO NOT ENTER YOUR OWN) | |
| For Windows 8.1 Core: 334NH-RXG76-64THK-C7CKG-D3VPT | |
| For Windows 8.1 Professional: XHQ8N-C3MCJ-RQXB6-WCHYG-C9WKB | |
| Step 6: When you reach the desktop you will notice you are not activated this is fine! Right click the start button and choose "Command Prompt (admin)" | |
| Step 7: Enter slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (Replace the Green X's with your RETAIL Windows 8 key) |
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 gspread_dataframe as gd | |
| import gspread as gs | |
| gc = gs.service_account(filename="credentials.json") | |
| def export_to_sheets(sheet_name,df,mode='r'): | |
| ws = gc.open("Hashnode").worksheet(sheet_name) | |
| if(mode=='w'): | |
| ws.clear() | |
| gd.set_with_dataframe(worksheet=ws,dataframe=df,include_index=False,include_column_header=True,resize=True) | |
| return True |
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
| { | |
| "name": "Hacker", | |
| "timestamp": 1760965387035, | |
| "palette": { | |
| "wallpaper": "", | |
| "colors": [ | |
| "#0B0C16", | |
| "#31f759", | |
| "#4fe88f", | |
| "#50f7d4", |
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
| //!!!!!!!!!!!!!! | |
| //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; |
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
| 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 |
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
| @echo off | |
| setlocal enableDelayedExpansion | |
| set "unziper=7za.exe" | |
| if not exist "NoxPlayer" ( | |
| if not exist "!unziper!" call :downloadSevenZip | |
| call :downloadNoxPlayer | |
| ) | |
| call :downloadLawnChair |
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
| #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)
NewerOlder