Skip to content

Instantly share code, notes, and snippets.

View janmyszkier's full-sized avatar

Jan Myszkier janmyszkier

View GitHub Profile
@jbuncle
jbuncle / build-patched-kernel.sh
Last active September 23, 2021 12:20
Compile and install Linux Kernel with patch for Lenovo Legion 5 15ARH05 Touchpad
#! /bin/bash
#
# Lenovo Legion 5 Patch Utility
#
# This script aims to simplify the application of various patches required for Lenovo Legion 5 15ARH05.
# For convenience you can run this script with `bash <(curl https://gist.githubusercontent.com/jbuncle/7dacde983b3c33b3b816b10e2fd2308a/raw/build-patched-kernel.sh)`
#
# References:
# - Original bug and related patch: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190
# - Touchpad patch file: https://www.spinics.net/lists/linux-input/msg69458.html
@dmilith
dmilith / gist:3e928403aaa5fccbe7b8c7e370d5f1c5
Created May 26, 2019 17:25
hack Skype 8.x sounds (including replace files, remove files for notification to shutup, and so on) for Mac OSX
0. Shutdown Skype
1. Install Nodejs, open Terminal
2. Run: `npm install -g asar`
3. Run: `npx asar extract /Applications/Skype.app/Contents/Resources/app.asar /Applications/Skype.app/Contents/Resources/app`
4. Run: `rm -f /Applications/Skype.app/Contents/Resources/app.asar`
That's it, now you can open Skype internal files directly by doing:
`open /Applications/Skype.app/Contents/Resources/app`