Author: Rohan Barar
Date: 10/09/2024
Installing Nody Greeter on Fedora Linux 40
Author: Rohan Barar
Date: 29/03/2024
I accidentally bricked my TP-Link WiFi range extender whilst attempting to install OpenWrt, leaving it inaccessible via TFTP or a wired serial connection. With no other recovery options available, I ultimately purchased a replacement.
To help others in the same situation, I used a CH341A USB Programmer to dump the SPI flash chip (W25Q64JV) from the new range extender prior to powering it on for the first time. This way, anyone facing a similar issue can re-flash their device instead of having to purchase a replacement.
- Device Model:
TP-Link AC2600 (RE650 v2.0) - Firmware Version:
1.0.4 Build 20210907 Rel. 71667(6585) - SPI Dump SHA256:
f1ac8c5c880ade366a89f494aa874906c7e160d9e51e8030c6865bf388db1588
I hereby claim:
- I am kernelghost on github.
- I am kernelghost (https://keybase.io/kernelghost) on keybase.
- I have a public key ASBq2JToBzjIusQ8CX7m36XgUiDJGMfEwnHq0bq8JWkmJgo
To claim this, I am signing this object:
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
| #!/usr/bin/env bash | |
| #-------------------------------------------------------------------------------------------------------- | |
| # Name: RemoveAppleDoubleFiles.sh | |
| # Purpose: Recursively remove Apple Double Files (ADFs) and '.DS_Store' files from a specified directory. | |
| # Compatability: GNU/Linux & macOS | |
| # Usage: ./RemoveAppleDoubleFiles.sh [/path/to/dir] | |
| # Notes: | |
| # - ADFs have file names beginning with '._'. | |
| # - ADFs begin with the 'magic' sequence '0x00051607'. |
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
| #!/usr/bin/env bash | |
| ################################################################################ | |
| # Name: rockbox_converter.sh | |
| # Authors: Rohan Barar | |
| # Revision: 19/11/2025 (DD/MM/YYYY) | |
| # Purpose: Recursively traverse a given input directory to convert all supported | |
| # audio files to 'Rockbox' compatible MP3 files, with a focus on | |
| # ensuring both track metadata (e.g. Title, Artist, Album, etc.) as | |
| # well as embedded album/cover are displayed correctly by Rockbox. | |
| # Usage: ./rockbox_converter.sh <input_dir> <output_dir> |
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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Enforce C locale globally to ensure 'sort' and 'join' behavior is identical | |
| export LC_ALL=C | |
| # Define the delimiter | |
| readonly DELIM=$'\x1F' # ASCII Unit Separator | |
| # Create a temporary directory |