Skip to content

Instantly share code, notes, and snippets.

View coolbho3k's full-sized avatar
:shipit:

Emi Huang coolbho3k

:shipit:
View GitHub Profile
{
"keys": [
{
"alg": "RS256",
"e": "AQAB",
"key_ops": [
"verify"
],
"kty": "RSA",
"n": "ukkSKXDm28RryMRtD7vOSpJ9CeFsvjmRm5chk9xkXU4DRKmY-gbmDW5paH8s6H_bFw5CWHVOIsPYJfQ3NiC_2oT7V2JIWYR7MTcLSQzu7fk0pN7n17dvEmGt1nGqQu3Fl9seRCHCFy3fzwwjouHJhtfzwIKR7toCN5WGDegZqxwJtx4ZLnik547iBQnDTyLflfblhqId-_Pz1_pvUUEvQqB-0G5ai6q42ZMHbFg0FZud3tDVvwZarEukjcFDcTvPr-JT4xD3on3V5_uFzn1JMXmPCUAIX0Pm78291_SzFsXZZsy6QUS0LSm3K_-vlVeY0oPIghyP0LDXNTps6YwA9dGVnQ1u7p2ztjLiL4Fh5cJ9wYbv9EFSUBFyww3_E07jtU6ufod93UGdbqhSQLZ6fmk_-NrjPoCRhy5xME2PUpT4MW2otiLeRoqfZT4UnhzKY38Er-LR01oD89VskfjZmXGThMGiGWrP-26lf7Y-S04yYUhVCeAs_DFthObAjITF",
#!/bin/bash
# Written almost entirely by ChatGPT O_O
# Variables
BEARER_TOKEN="your_bearer_token"
SOUNDBAR_DEVICE_ID="your_soundbar_device_id"
PREFERRED_SOUND_MODES=("adaptive sound+" "adaptive sound" "surround" "standard")
VERBOSE=0
SILENT=0
@coolbho3k
coolbho3k / force_samsung_soundbar_mode.sh
Last active February 12, 2024 18:08
Script to continuously force Samsung soundbar sound mode
#!/bin/bash
# This works around a STUPID issue on Samsung TVs/soundbars which will always
# set the sound mode to Game and never switch it back when game mode is
# enabled once.
#
# This script just sets the sound mode to whatever you want every 2 seconds.
#
# 1. First connect your soundbar to your SmartThings account
# 2. Find your soundbar's device ID here: https://my.smartthings.com/advanced/devices
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20211217 (64-bit version)
* Copyright (c) 2000 - 2021 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Mon Jul 25 13:26:19 2022
*
* Original Table Header: