Skip to content

Instantly share code, notes, and snippets.

View larrybahr's full-sized avatar
👼
God is so good to me!

Larry Bahr larrybahr

👼
God is so good to me!
View GitHub Profile
@larrybahr
larrybahr / Install PopOs 24.04 on Framework 16 AMD Ryzen AI 300.md
Last active January 3, 2026 20:22
Install PopOs 24.04 on Framework 16 AMD Ryzen™ AI 300

I purchased the Framework 16 DIY edition laptop with AMD Ryzen™ AI 9 HX 370 CPU and 2nd Gen Radeon™ RX 7700S graphics card. Even though OS installs are normally easy I had a long battle getting PopOS to install. Here are the steps I tool to fix them.

This document summarizes the issues I ran into, the exact error messages, and the fixes that ultimately worked, along with why those fixes were needed.

Issue 1: Bootable USB Not Recognized and Installer Asks for a URL

I was getting the error unable to find a live medium containing a live file system. There were multiple issues to fix this one

Root Cause

@larrybahr
larrybahr / TypeScript-Cheet-Sheet.md
Created November 6, 2021 15:25
TypeScript Cheet Sheet
@larrybahr
larrybahr / Upgrade Windows 10 Home to Windows 10 Pro.md
Last active December 8, 2025 13:51
Upgrade Windows 10 Home to Windows 10 Pro.

I got a Windows 10 key and tried to do the normal upgrade, but got a "0xc004f050" error. I then tried to fix it by useing the generic pro key but then got a "0x803fa067" error. These are the steps the finally got everything working. I did the this on 2 PC so I think it is solid.

  1. buy a valid Windows 10 Pro key (any key will work)
    1. I got mine on Ebay for $4. It said 1 minute delivery, but it took about 1 hour to get it.
  2. Make sure Windows is up to date.
  3. Change product keys (remember these steps you will use them a lot)
    1. Select the Start button
    2. Then select Settings > Update & Security
  4. Then select Activation
@larrybahr
larrybahr / Bootstrap 4 Loading Modal.js
Created September 20, 2018 01:27
Bootstrap 4 Loading Modal
/**
* @description Creates a modal that can be displayed while things are loading
*/
(function ()
{
"use strict";
var loadingModal = {};
var queue = {};
var currentQueueIndex = 0;
@larrybahr
larrybahr / Bootstrap 4 Popup.js
Last active September 20, 2018 01:29
Replaces the native JavaScript alert, confirm, and prompt, with BootStrap alternatives!
/**
* @description Inspired by https://www.bootply.com/PoVEEtvPZt. Used to display a pop up with bootstrap elements
* @param {object} options - Options
* @param {string} [options.type="alert"] - alert, prompt, confirm
* @param {string} [options.modalSize="modal-sm"] - modal-sm, modal-lg
* @param {string} [options.okButtonText="PerformanceObserverCallback"]
* @param {string} [options.cancelButtonText="Cancel"]
* @param {string} [options.yesButtonText="Yes"]
* @param {string} [options.noButtonText="No"] - empty string to hide the No button
* @param {string} [options.headerText="Attention"]
sudo apt install linux-headers-$(uname -r) build-essential dkms gcc make perl
sudo reboot
// Insert Guest Additions CD BEFORE running next command
sudo mkdir -p /media/cdrom
sudo mount /dev/cdrom /media/cdrom
sudo /media/cdrom/VBoxLinuxAdditions.run
sudo reboot
sudo adduser $(whoami) vboxsf