Skip to content

Instantly share code, notes, and snippets.

View 266-750Balloons's full-sized avatar

266-750Balloons

View GitHub Profile
@266-750Balloons
266-750Balloons / gist:08565c88d13cfd1689348781462e1a97
Created January 23, 2025 05:04
Terminal Application Build Log 1-22-2025
mkdir build
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32H750xx -DFLIGHT_COMPUTER -DA0002_REV2 -DTERMINAL -I. -I../../../lib -I../../../init/terminal -I../../../lib/util -I../../../init/terminal/config/Inc -I../../../mod/baro -I../../../mod/buzzer -I../../../mod/commands -I../../../mod/flash -I../../../mod/ignition -I../../../mod/imu -I../../../mod/led -I../../../mod/sensor -I../../../mod/usb -I../../../mod/lora -I../../../lib/Drivers/STM32H7xx_HAL_Driver/Inc -I../../../lib/Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../../../lib/Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../../../lib/Drivers/CMSIS/Include -I../../../lib/FATFS/Target -I../../../lib/FATFS/App -I../../../lib/Middlewares/Third_Party/FatFs/src -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/main.d" -Wa,-a,-ad,-alms=build/main.lst main.c -o build/main.o
arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32H750
@266-750Balloons
266-750Balloons / Chicago95Verbose.txt
Created November 28, 2023 05:20
Inkscape Issues with Chicago95 Plus
INFO :: go :: Starting Chicago Plus! with the folowing settings: cursors=True, icons=True, wallpaper=True, sounds=True, colors=True, fonts=True, screensaver=True
INFO :: check_software :: Checking for required installed software
INFO :: parse_icons :: Parsing Icons
INFO :: parse_icons :: my_computer | ('xmas97 my computer.ico', '0')
INFO :: parse_icons :: my_documents | False
INFO :: parse_icons :: network_neighborhood | ('xmas97 network neighborhood.ico', '0')
INFO :: parse_icons :: recycle_bin_full | ('xmas97 recycle full.ico', '0')
INFO :: parse_icons :: recycle_bin_empty | ('xmas97 recycle empty.ico', '0')
INFO :: parse_cursors :: Parsing Control Panel\Cursors
INFO :: parse_cursors :: arrow | {'type': 'cur', 'filename': 'xmas97 arrow.cur', 'path': '/home/dexcube/Downloads/xmas97/Xmas97 arrow.cur'}
@266-750Balloons
266-750Balloons / unbind_vfio.sh
Created August 1, 2022 07:33
my unbind_vfio.sh
#!/bin/bash
## Load the config file
source "/etc/libvirt/hooks/kvm.conf"
## Unbind gpu from vfio and bind to amd
virsh nodedev-reattach $VIRSH_GPU_VIDEO
virsh nodedev-reattach $VIRSH_GPU_AUDIO
## Unload vfio
@266-750Balloons
266-750Balloons / bind_vfio.sh
Created August 1, 2022 07:32
my bind_vfio.sh
#!/bin/bash
## Load the config file
source "/etc/libvirt/hooks/kvm.conf"
## Load vfio
sudo modprobe vfio
sudo modprobe vfio_iommu_type1
sudo modprobe vfio_pci
@266-750Balloons
266-750Balloons / troubled-config.xml
Created August 1, 2022 07:13
KVM VM GPU Passthrough config with Issues (redacted username)
<domain type="kvm">
<name>Windows10</name>
<uuid>d8211d0e-3204-4219-a33d-e379c32a8234</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit="KiB">16777216</memory>
<currentMemory unit="KiB">16777216</currentMemory>