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 / steam_large_font.txt
Created July 20, 2024 16:49
Run Steam with Larger Font in Linuz
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 / vmwk17key.txt
Created March 11, 2024 21:51 — forked from PurpleVibe32/vmwk17key.txt
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@pjobson
pjobson / cheats_pcsx2_linux.md
Last active March 9, 2024 04:39
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