Skip to content

Instantly share code, notes, and snippets.

View ipatch's full-sized avatar
:octocat:
🦾

Chris ipatch

:octocat:
🦾
View GitHub Profile
======================================================================
ERROR: test46 (CAMTests.TestPathOpUtil.TestPathOpUtil.test46)
Check offsetting multiple inside edges.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/code/git/github/forks/freecad-git/installs/issue.tshooting.qt6.py313/Mod/CAM/CAMTests/TestPathOpUtil.py", line 796, in test46
wire = PathOpUtil.offsetWire(Part.Wire(lEdges), obj.Shape, 2, True)
File "/opt/code/git/github/forks/freecad-git/installs/issue.tshooting.qt6.py313/Mod/CAM/Path/Op/Util.py", line 349, in offsetWire
debugWire("outside", Part.Wire(outside))
~~~~~~~~~^^^^^^^^^
@ipatch
ipatch / CMakeLists.txt
Last active November 1, 2024 20:39
hello world gl
cmake_minimum_required(VERSION 3.10)
# Set the project name
project(HelloWorldOpenGL)
# Include CMAKE_PREFIX_PATH for custom search paths
list(APPEND CMAKE_PREFIX_PATH $ENV{CMAKE_PREFIX_PATH})
if(APPLE)
# Set paths for Homebrew's mesa-glu
@ipatch
ipatch / brew.install.llvm.errors.md
Created February 9, 2024 16:33
asahi linux brew install llvm
╰─λ brew install llvm -v
Warning: Your CPU architecture (arm64) is not supported. We only support
x86_64 CPU architectures. You will be unable to use binary packages (bottles).
It is expected behaviour that some formulae will fail to build in this unsupported configuration.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
@ipatch
ipatch / asahi-diagnose-20240130-133559.txt
Created January 30, 2024 19:51
asahi linux no wifi
# Asahi Linux System Diagnostic Dump
Collected at: Tue Jan 30 01:35:59 PM CST 2024 (2024-01-30T13:35:59-06:00)
Username: capin
Hostname: m1mac
## Device information
Model: Apple Mac mini (M1, 2020)
Compatible: apple,j274 apple,t8103 apple,arm-platform
@ipatch
ipatch / gist:d2d59f9ff5b73933f5465d862b294363
Last active December 28, 2023 23:44
homebrew freecd readme making a patch file for homebrew
see attachment
@ipatch
ipatch / dremel
Last active February 11, 2023 18:02
dremel 400 xpr replacement armature
dremel pics, see comments.
@ipatch
ipatch / log.txt
Created December 21, 2022 23:00
ruby macos homebrew stack level toop deep error
```
vmmojave:~ chris$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G9323
vmmojave:~ chris$ pwd
/Users/chris
vmmojave:~ chris$ env
TERM=tmux-256color
SHELL=/bin/bash
@ipatch
ipatch / 10-nvidia.conf
Created December 10, 2022 22:06
copy pasta from gentoo wiki
# NOTE: ipatch, original URL below
# https://wiki.gentoo.org/wiki/NVIDIA/Optimus/xorg.conf
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
@ipatch
ipatch / # netcdf - 2022-02-26_20-43-11.txt
Created February 27, 2022 02:44
netcdf on macOS 10.15.7 - Homebrew build logs
Homebrew build logs for netcdf on macOS 10.15.7
Build date: 2022-02-26 20:43:11