Skip to content

Instantly share code, notes, and snippets.

View ThHareau's full-sized avatar

Thomas Hareau ThHareau

View GitHub Profile
@ThHareau
ThHareau / sound.sh
Last active March 1, 2024 16:59
Enable sound for Realtek ALC711-CG (used in Dell Latitude 9510, XPS 9700 and others)
sudo apt-get install zstd
mkdir /tmp/sound
cd /tmp/sound
# Step 1: update kernel
sudo apt install linux-oem-20.04
# Step 2: download sof 1.6.2
@ThHareau
ThHareau / gitlab-ansi-escape.user.js
Created April 21, 2020 14:19
Remove ANSI escape codes from Junit summary view in MR page
// ==UserScript==
// @name Gitlab ANSI escaper
// @version 1
// @grant none
// @include /https://[^\/]*gitlab[^\/]*\/.*merge_requests\/\d+/
// @icon https://about.gitlab.com/images/press/logo/png/gitlab-icon-rgb.png
// @description Remove ANSI escape codes from Junit summary view in MR page
// ==/UserScript==
const waitForElement = (id, callback) => {