Skip to content

Instantly share code, notes, and snippets.

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

Chris ipatch

:octocat:
🦾
View GitHub Profile
@ipatch
ipatch / video attachments
Last active February 21, 2022 19:26
video attachments issues with mp4 playback in firefox
see attachments below.
From 524c4321dd5b155bf19727de40a89935c0723739 Mon Sep 17 00:00:00 2001
From: chris <[email protected]>
Date: Sat, 1 Jan 2022 16:43:16 -0600
Subject: [PATCH] exp with patch from upstream pyside project
---
sources/shiboken2/tests/samplebinding/typesystem_sample.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sources/shiboken2/tests/samplebinding/typesystem_sample.xml b/sources/shiboken2/tests/samplebinding/typesystem_sample.xml
@ipatch
ipatch / backport of PR #4960
Last active December 4, 2021 18:34
patch file for homebrew freecad installation
diff -ruN FreeCAD-0.19.2/src/Mod/Cam/App/CMakeLists.txt FreeCAD-0.19.2.pr4960/src/Mod/Cam/App/CMakeLists.txt
--- FreeCAD-0.19.2/src/Mod/Cam/App/CMakeLists.txt 2021-04-15 04:17:08.000000000 -0500
+++ FreeCAD-0.19.2.pr4960/src/Mod/Cam/App/CMakeLists.txt 2021-12-04 12:25:58.000000000 -0600
@@ -14,7 +14,7 @@
${OCC_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${PYTHON_INCLUDE_PATH}
- ${XERCESC_INCLUDE_DIR}
+ ${XercesC_INCLUDE_DIR}
${UMFPACK_INCLUDE_DIR}
@ipatch
ipatch / na.txt
Created November 11, 2021 18:24
occ opencascade related forum links, and questions
see attachments.
@ipatch
ipatch / # gdk-pixbuf - 2021-11-02_18-10-25.txt
Created November 2, 2021 23:17
gdk-pixbuf on macOS 10.15.7 - Homebrew build logs
Homebrew build logs for gdk-pixbuf on macOS 10.15.7
Build date: 2021-11-02 18:10:25
@ipatch
ipatch / # gdk-pixbuf - 2021-11-02_18-10-25.txt
Created November 2, 2021 23:14
gdk-pixbuf on macOS 10.15.7 - Homebrew build logs
Homebrew build logs for gdk-pixbuf on macOS 10.15.7
Build date: 2021-11-02 18:10:25
@ipatch
ipatch / freecad.build.issues.macos.bigsur.md
Last active August 9, 2021 18:41
freecad build issues macos big sur

freecad build issue on macos big sur (building FreeCAD.app apple app bundle)

issues with finding/linking proper gcc libraries, as of august 9, 2021 brew provides gcc at version 11, and also a gcc@10 formula, however to bump the make install process along i manually created smylinks to aid the install process.

Cellar/gcc/11.2.0/lib/gcc/11/libquadmath.a
Cellar/gcc/11.2.0/lib/gcc/11/libquadmath.0.dylib
@ipatch
ipatch / output.of.running.freecad.test.suite.txt
Last active August 30, 2021 16:31
output of running freecad tests
Loading Assembly4 WorkBench
testLoadMesh (MeshTestsApp.LoadMeshInThreadsCases) ... ok
testSphereMesh (MeshTestsApp.LoadMeshInThreadsCases) ... ok
testIntersection (MeshTestsApp.MeshGeoTestCases) ... ok
testIntersection2 (MeshTestsApp.MeshGeoTestCases) ... ok
testSplitFacetOnOneEdge (MeshTestsApp.MeshSplitTestCases) ... ok
testSplitFacetOnTwoEdges_01 (MeshTestsApp.MeshSplitTestCases) ... ok
testSplitFacetOnTwoEdges_02 (MeshTestsApp.MeshSplitTestCases) ... FreeCAD 0.20, Libs: 0.20R25356 (Git)
(c) Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
@ipatch
ipatch / brew.fish
Created July 29, 2021 17:38
fish function syntax error
function brew --description "catch common misspelling & add some goodies"
if test -f /usr/local/bin/brew
# REF: https://stackoverflow.com/a/60607145/708807
# thank you @faho
switch "$argv[1]"
case tap.ls
echo "the $argv[2] tap provides the following formula";
echo "================================="
# echo "$argv[2]" # DEBUG
if type -q jq
@ipatch
ipatch / random.quick.links.txt
Created July 21, 2021 20:18
random pictures links for quickly linking too