Skip to content

Instantly share code, notes, and snippets.

@smooker
smooker / do.sh
Created December 14, 2020 22:26
evga bios 4 passthrough
#!/bin/bash
dd if=EVGA.RTX3070.8192.200916.rom of=EVGA.RTX3070.8192.200916.rom.stripped bs=1 skip=37376
@smooker
smooker / FindOpenCasCade.cmake
Created November 16, 2020 09:10
FindOpenCasCade.cmake currections
smooker@shd2 ~/src/FreeCAD/cMake $ cat FindOpenCasCade.cmake
# Try to find OCE / OCC
# Once done this will define
#
# OCC_FOUND - system has OCC - OpenCASCADE
# OCC_INCLUDE_DIR - where the OCC include directory can be found
# OCC_LIBRARY_DIR - where the OCC library directory can be found
# OCC_LIBRARIES - Link this to use OCC
# OCC_OCAF_LIBRARIES - Link this to use OCC OCAF framework