Skip to content

Instantly share code, notes, and snippets.

View pjobson's full-sized avatar
:shipit:
p̰͍͖̄̀ͬ̒̎̅a̲͚̯̱̺͗̿̓̆͊̀͌ǘ̳̹͙͔̘̈ͭ̋̒ͭ̋lͫ̔ͯ̂ ͎͖͍̤ͣͧ̀ͨj̾o̹̗͍̲̽ͥ́̊͐b̪ͬͪͫ̂s̙̫͕̼̭͛̍̔on̽

Paul Jobson pjobson

:shipit:
p̰͍͖̄̀ͬ̒̎̅a̲͚̯̱̺͗̿̓̆͊̀͌ǘ̳̹͙͔̘̈ͭ̋̒ͭ̋lͫ̔ͯ̂ ͎͖͍̤ͣͧ̀ͨj̾o̹̗͍̲̽ͥ́̊͐b̪ͬͪͫ̂s̙̫͕̼̭͛̍̔on̽
View GitHub Profile
@pjobson
pjobson / bluetooth_cli.md
Last active July 22, 2024 20:20
Linux Bluetooth CLI with BluetoothCTL

Linux Bluetooth CLI with BluetoothCTL

I've had a lot of problems using the built in blueman application under Ubuntu/Mint distributions. I'm not exactly sure why, frequently devices will connect then instantly disconnect. I've parsed through various StackOverflow articles and other help pages, I could never get a working answer.

WARNING

If you're having bluetooth issues, do not uninstall the libbluetooth3 package. It

@pjobson
pjobson / steam_large_font.txt
Last active April 24, 2025 05:56
Run Steam with Larger Font in Linuz
Larget Font in Steam Linux - Good for using on a TV from a couch.
Direct Install:
Exec=sh -c 'GDK_SCALE=2 steam %U'
Flatpak Install:
sh -c 'GDK_SCALE=1.5 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam --file-forwarding com.valvesoftware.Steam @@u %U @@'
************* update your path here
alias yt-dlp="/home/pjobson/bin/yt-dlp --write-sub --write-auto-sub --sub-lang "en.*" --ffmpeg-location /opt/video/bin/ffmpeg -S vcodec:h264,res,acodec:m4a --remux-video mkv --merge-output-format mkv "
******************************************************************************************************* update your path here
# /etc/systemd/system/qbittorrent-nox.service
[Unit]
Description=qBittorrent Command Line Client
After=network.target
[Service]
Type=forking
User=qbt
Group=qbt
UMask=007
@pjobson
pjobson / _dell_thunderbolt_in_thinkstation_p330.md
Last active May 28, 2024 21:59
Dell 83T0C Thunderbolt Card in ThinkStation P330

Dell 83T0C Thunderbolt Card in Lenovo ThinkStation P330

The Lenovo ThinkStation P330 can be upgraded to Thunderbolt 3 using their riser card (p/n 4XH0Y77510).

The card requires DisplayPort in and a 5-pin connector. These cards originally retailed for around $200-$300, they can be had on eBay as of this writing for $100 from China.

I purchased a ThinkStation P330 and noticed the connections for the card,

@pjobson
pjobson / install_k9copy.txt
Created April 19, 2024 19:57
Linux Mint/Ubuntu Install K9Copy Reloaded
https://launchpad.net/~tomtomtom/+archive/ubuntu/k9copy
sudo add-apt-repository ppa:tomtomtom/k9copy
sudo apt update
sudo apt install k9copy
@pjobson
pjobson / mount_qcow2.md
Last active March 26, 2024 21:05 — forked from ILMostro/mount_qcow2.md
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@pjobson
pjobson / webapp_adblock.md
Created March 14, 2024 05:11
Linux Adblock YouTube WebApp

Linux Adblocked YouTube WebApp

I suspect this will work for any Mint/Debian/Ubuntu variant distribution.

WebApps

This requires a package called WebApps included with Linux Mint. You can download the source or deb file from their releases section, it is contained in the packages.tar.gz file.

@pjobson
pjobson / allow_admin_wan.txt
Created March 13, 2024 03:50
OpenWRT Allow Admin on WAN
Add to the end of: /etc/config/firewall
config rule
option name 'Allow-Admin-Wan'
list proto 'tcp'
option src 'wan'
option dest_port '22 80 443'
option target 'ACCEPT'
option enabled 'true'
@pjobson
pjobson / cheats_pcsx2_linux.md
Last active October 1, 2024 22:07
Enable Cheats PCSX2 Linux

Enable Cheats for PCSX2 Linux

This assumes:

  • You have the Linux AppImage and are successfully running games with it.
  • You have rudimentary commandline experience.

I'll be using Fallout: Brotherhood of Steel for this example, but the concepts should be the same for any game.

Enable Cheats