Skip to content

Instantly share code, notes, and snippets.

View adil192's full-sized avatar

Adil Hanney adil192

View GitHub Profile
@adil192
adil192 / Setup Fedora COSMIC to use Plasma Breeze theme for QT apps.md
Last active August 19, 2026 01:01
Setup Fedora COSMIC to use Plasma Breeze theme for Qt apps

Important

Qt color scheme generation is now included in COSMIC.

The only thing you need to do now is to select Breeze (or Darkly) in qt5ct/qt6ct.


These are very rough instructions so I don't forget what worked...

  1. Install the breeze theme and config programs:
@adil192
adil192 / NP750QHA-KA4UK.md
Last active August 25, 2025 16:02
Samsung Galaxy Book5 360 on Fedora Linux (NP750QHA-KA4UK)

SAMSUNG Galaxy Book5 360 15.6" 2 in 1 Laptop, Copilot+ PC, NP750QHA-KA4UK

Specs:

  • CPU: Intel Core Ultra 5 226V
  • GPU: Integrated Intel Arc 130V
  • RAM: 16GB LPDDR5x
  • Storage: 512GB SSD
  • OS: Fedora 42
  • Kernel: Linux 6.15.10-200.fc42.x86_64
@adil192
adil192 / S5504VN.md
Last active August 22, 2025 12:23
ASUS Vivobook S 15 S5504VN on Fedora Linux

ASUS Vivobook S 15 S5504VN on Fedora Linux

Specs:

  • CPU: i5-13500H
  • iGPU: Intel Iris Xe
  • dGPU: Intel Arc A350M 4GB
  • Battery: 70Wh
  • BIOS: Latest (v301 from 2023)
  • OS: Fedora 42
  • Kernel: Linux 6.16.1-cachyos1.fc42.x86_64
@adil192
adil192 / split_file.dart
Last active January 25, 2024 04:19
TTS script for my UX course
import 'dart:io';
import 'dart:math';
typedef Section = ({String title, String content});
/// Runs a command like
/// `tts --text "hello" --model_name "tts_models/uk/mai/glow-tts" --vocoder_name "vocoder_models/uk/mai/multiband-melgan" --out_path hello.wav`
Future<void> tts(int i, Section section) async {
final escapedContent = section.content.trim().replaceAll('\n', ' ');
final escapedTitle = section.title.trim().replaceAll(RegExp(r'\W'), '_');
@adil192
adil192 / Authy on Linux without snap.md
Last active August 19, 2025 21:20
Authy on Linux without snap
@adil192
adil192 / Dell Inspiron 7415 2-in-1 2021 (Ryzen 5000) on Linux Pop!_OS 21.04.md
Last active March 18, 2024 02:29
Dell Inspiron 7415 2-in-1 2021 (Ryzen 5000) on Linux Pop!_OS 21.04

Dell Inspiron 7415 2-in-1 2021 (Ryzen 5000) on Linux Pop!_OS 21.04

My Specs

  • CPU: Ryzen 5 5500U
  • RAM: Corsair 32GB (2x16GB) 2666MHz, upgraded from 8GB (2x4GB) 3200MHz
  • Storage: Crucial P2 CT1000P2SSD8 1TB M.2 SSD (Amazon link, was on sale for £60), upgraded from 256GB
  • Optional features: With fingerprint, With backlit keyboard, With Dell PN350M stylus
@adil192
adil192 / r8s.xml
Created August 10, 2021 22:05
Galaxy S20 FE (4G Exynos) LineageOS 18.1 local_manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device trees -->
<project path="device/samsung/r8s"
name="adil192/android_device_samsung_r8s"
remote="github"
revision="lineage-18.1" />
<project path="device/samsung/exynos990-common"
@adil192
adil192 / gts7lwifi.xml
Last active August 11, 2021 23:56
Galaxy Tab S7 (WiFi) LineageOS 17.1 local_manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device trees -->
<project path="device/samsung/gts7lwifi"
name="adil192/android_device_samsung_gts7lwifi"
remote="github"
revision="lineage-17.1" />
<project path="device/samsung/sm8250-common"
@adil192
adil192 / galaxy-wearable-patch.md
Last active July 6, 2026 22:54
Galaxy Wearable patch for Samsung phones with custom ROMs

Galaxy Wearable patch for Samsung phones with custom ROMs

See https://github.com/adil192/SamsungAppsPatcher for the updated version of this guide. This gist is now unmaintained, but may work on other operating systems.

Requirements

(Same as the above link.)