Skip to content

Instantly share code, notes, and snippets.

View SharpCoder's full-sized avatar
🛰️
inventing

Josh Cole SharpCoder

🛰️
inventing
View GitHub Profile
Instructions for installing rEFInd to dual boot a computer with FreeBSD and windows (and possibly other OSes as well).
Note! I use $esp-dev for all commands. Substitude this for the device with your ESP (for example ada0p1)
Download rEFInd from here: http://sourceforge.net/projects/refind/files/0.11.4/refind-bin-0.11.4.zip/download
This gives you a zip-file with everything you need for rEFInd.
Find out which partition is the ESP. This is easiest done by running `gpart list` and look for partitions with `type: efi`.
In a multi-disk setup there might be more than one of those.
I have always installed rEFInd to the one with the Windows bootloader.
@SharpCoder
SharpCoder / _Gear Generator README.md
Last active December 5, 2024 15:15
Gear generation code with openSCAD

gears.scad

In order to use this code, you will need to copy gears.scad to your Libraries folder. https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries

And then you can run Untitled.scad as any other normal scad project file.

If you don't want to mess around with the library, just combine the two code files together into one.

Library Functions