Skip to content

Instantly share code, notes, and snippets.

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

Chris ipatch

:octocat:
🦾
View GitHub Profile
@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
@ipatch
ipatch / microsoft-surface-pro-4-repair-notes.md
Last active October 11, 2023 17:02
Microsoft Surface Pro 4 repair Notes

A place for collecting, gathering, and organizing notes for repairing & fixing microsoft surface pro 4 tablet/pc.

busted tablet #1

when testing the Schottky Diode with my meter i got 0.2V with the red probe on the left side of the diode and when the red probe was placed on the right side of the diode i got OL

i was able to remove the ITE chip this afternoon using hot air and board preheater. i had my hot air on the lowest setting with temp at 395 and the board preheater at 300

both surface tablets i have use the same logic board, ie. the X910540-007