Skip to content

Instantly share code, notes, and snippets.

View brunommpreto's full-sized avatar
🏃‍♂️

Bruno Preto brunommpreto

🏃‍♂️
View GitHub Profile
#!/bin/bash
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
exec "$@"
@sagi
sagi / sof-audio-setup-carbonx1.sh
Created January 8, 2020 22:37 — forked from hamidzr/sof-audio-setup-carbonx1.sh
Lenovo Carbon X1 Gen 7 - Audio and microphone fix - Arch Linux and kernel 5.3+ required. Updates will be made as they become necessary / available.
#!/bin/bash
## Description
# Lenovo Carbon X1 Gen 7 - Audio and microphone fix - kernel 5.3+ required.
# The script has only been tested for Arch and OpenSuse,
# Original thread: https://forums.lenovo.com/t5/Ubuntu/Guide-X1-Carbon-7th-Generation-Ubuntu-compatability/td-p/4489823
# Prereq: Install Linux 5.3 or newer
# NOTE: run this script as root and at your own risk.
@jayluxferro
jayluxferro / List_of_Hacking_Websites_and_Forums.md
Last active June 14, 2024 19:38
List of Hacking Websites and Forums