Skip to content

Instantly share code, notes, and snippets.

Avatar

Kristen McWilliam Merrit

View GitHub Profile
@the-spyke
the-spyke / pipewire.md
Last active Sep 24, 2022
Enable PipeWire on Ubuntu 22.04
View pipewire.md

Enable PipeWire on Ubuntu 22.04

This guide is only for original Ubuntu out-of-the-box packages. If you have added a custom PPA like pipewire-debian, you might get into conflicts.

Ubuntu 22.04 has PipeWire partially installed and enabled as it's used by browsers (WebRTC) for recoding the screeen under Wayland. We can enable remaining parts and use PipeWire for audio and Bluetooth instead of PulseAudio.

Starting from WirePlumber version 0.4.8 automatic Bluetooth profile switching (e.g. switching from A2DP to HSP/HFP when an application needs microphone access) is supported. Jammy (22.04) repos provide exactly version 0.4.8. So, we're good.

Based on Debian Wiki, but simplified for Ubuntu 22.04.

@sxiii
sxiii / hardinfo-fedora.md
Last active Sep 11, 2022
Install HardInfo on Fedora/CentOS Linux
View hardinfo-fedora.md

For some reason, the Fedora team decided to stop packaging Hardinfo in the repositories, so you’ll need to build it from sources as shown..

sudo dnf install glib-devel gtk+-devel zlib-devel libsoup-devel json-glib-devel gtk2-devel cmake
cd Downloads
git clone https://github.com/lpereira/hardinfo.git
cd hardinfo
mkdir build
cd build
cmake ..
make
@hising
hising / wallpapers.json
Created Jan 16, 2020
chromecast wallpapers json
View wallpapers.json
[
{
"url": "https://lh6.googleusercontent.com/-A0tXm8gjfMU/U08VDMRGtuI/AAAAAAAAvrI/IQEscTGZyJY/s1920-w1920-h1080-c/IMG_0293%2Bhe.jpg",
"author": "Ziv Horesh"
},
{
"url": "https://lh6.googleusercontent.com/-3LiF-MBl6OE/UO5TXZ724aI/AAAAAAAAE50/JWLqdeEM9QY/s1920-w1920-h1080-c/Colorado%2BRiver%2BSunset.jpg",
"author": "Romain Guy"
},
{
View dark-theme.css
@import 'https://fonts.googleapis.com/css?family=Open+Sans';
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
line-height: 1.75em;
@kasperpeulen
kasperpeulen / README.md
Last active Sep 23, 2022
How to pretty-print JSON using Dart.
View README.md
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active Sep 26, 2022
how to delete a git tag locally and remote
View git-tag-delete-local-and-remote.sh
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName