Skip to content

Instantly share code, notes, and snippets.

View questionlp's full-sized avatar
🐍
Wait Wait Statsing

Linh Pham questionlp

🐍
Wait Wait Statsing
View GitHub Profile
@questionlp
questionlp / Installing Requirements for Building CPython and Ruby on Fedora.md
Last active July 14, 2025 18:36
Installing Requirements for Building CPython and Ruby on Fedora

Installing Requirements for Building CPython on Fedora

Tested with Fedora 39 through 42.

First we install some common development tools like gcc and make, Fedora provides a group of packages for that call Development Tools

Fedora 39 and 40

sudo dnf groupinstall "Development Tools" 
@questionlp
questionlp / Install Fedora Packages.md
Last active January 7, 2025 21:54
Install Fedora Packages

Install Fedora Packages

Base Workstation Software

sudo dnf install htop btop tmux vim fastfetch git gh zsh avahi-tools

Additional Fonts

@questionlp
questionlp / debian-firefox-kde-wayland.md
Created December 27, 2023 03:28
Debian 12, Firefox Stable and KDE Wayland.md
@questionlp
questionlp / hiding-youtube-shorts-subscription-page.md
Last active October 1, 2024 14:50
Hiding YouTube Shorts in the Subscription Page

Hiding YouTube Shorts in the Subscription Page

To hide YouTube shorts from appearing in when viewing your YouTube subscriptions, you can define a custom stylesheet for Safari and Firefox.

Safari

Create a CSS file with the following:

@questionlp
questionlp / truenas-scale-node_exporter.service
Created October 12, 2023 00:19
node_exporter Service File for TrueNAS SCALE
[Unit]
Description=Node Exporter
After=network-online.target
[Service]
User=node_exporter
Group=node_exporter
Type=simple
ExecStart=/usr/bin/node_exporter \
--collector.filesystem.fs-types-exclude="^(sys|proc|auto|squash|ns|rpc_pipe|tmp|n)(fs|fs4)$" \
@questionlp
questionlp / gist:7392321b9f33f652d9c346dec5f660cb
Created October 2, 2023 02:03
yt-dlp: Template to include upload date in file name
-o %(upload_date)s - %(title)s [%(id)s].%(ext)s
@questionlp
questionlp / update-esxi-offline-bundle-depot-file.md
Last active June 19, 2023 01:02
Updating ESXi from Offline Bundle/Depot File

Install offline bundle

esxcli software vib update --depot /vmfs/volumes/ depot.zip

List profiles in offline bundle

esxcli software sources profile list -d depot.zip
@questionlp
questionlp / fixing-pfsense-package-repo-cert-errors.md
Created May 27, 2023 00:53
Fixing pfSense Package Repo Certificate Errors

Switch the version in System / Update / System Update from the new version to the current version

Under Diagnostics / Command Prompt, run the following command:

pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade

Back under System / Update / System Update, switch to the new version.

@questionlp
questionlp / audacity-dalek-voice-effect.md
Created May 24, 2023 13:50
Making an audio clip of someone sounding like a Dalek

Making an audio clip of someone sounding like a Dalek

The steps below were based on the information provided in a blog post at Richard Loxley Ltd

Pre-requisites

@questionlp
questionlp / convert-bincue-chd-m3u.md
Last active December 29, 2023 02:49
Converting .bin+.cue to .chd and create .m3u files

Compressed

for i in *.cue; do chdman createcd -i "$i" -o "${i%.*}.chd"; done

Uncompressed