Skip to content

Instantly share code, notes, and snippets.

@Matt54
Matt54 / ShadowSpotLightsView.swift
Last active September 30, 2024 23:37
RealityView with SpotLights beaming their light through a circle grid
import RealityKit
import SwiftUI
struct ShadowSpotLightsView: View {
var body: some View {
GeometryReader3D { proxy in
RealityView { content in
let size = content.convert(proxy.frame(in: .local), from: .local, to: .scene)
let entity = try! getRootEntity(boundingBox: size)
content.add(entity)
@KhaosT
KhaosT / Cloud Gaming on Apple Vision Pro.md
Last active November 15, 2025 18:27
Guide for clouding gaming on Apple Vision Pro

Cloud Gaming on Apple Vision Pro

GeForce Now

Cloud Gaming is a great way to enjoy graphically demanding games on Apple Vision Pro.

Since Safari on visionOS does not support PWA mode, here is how you can access cloud gaming services on Apple Vision Pro.

What’s needed

@veekaybee
veekaybee / normcore-llm.md
Last active March 24, 2026 05:39
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@tzmartin
tzmartin / usdz-to-glb.md
Last active August 4, 2025 05:35
Convert USDZ to GLB via Python

Convert USDZ to GLB (python)

Install

pip install aspose-3d

Run

@yzdbg
yzdbg / auto-dr.md
Last active December 27, 2025 05:32

Automating Daily Reports, because fuck it, really...

Each day at our company, developers are required to document their activities, painstakingly jotting down their daily work and future plans. A monotonous chore that I just really dislike.

So now, there's a scribe for that :

auto-dr-

Code

@nucliweb
nucliweb / Install-OpenCV-Mac-M1.md
Last active September 25, 2025 11:12
OpenCV C++ Mac M1 Installation Steps
@IanKeen
IanKeen / View+Relative.swift
Last active January 16, 2023 13:03
SwiftUI relative frame
extension View {
func relative(width: CGFloat? = nil, height: CGFloat? = nil, alignment: Alignment = .center) -> some View {
Color.clear
.frame(maxWidth: width.map { _ in .infinity }, maxHeight: height.map { _ in .infinity })
.overlay(GeometryReader { proxy in
ZStack {
self.frame(
width: width.map { proxy.size.width * $0 },
height: height.map { proxy.size.height * $0 }
)
@FONQRI
FONQRI / Unreal_GIS.md
Last active August 14, 2025 21:29
Unreal Engine GIS useful links
@harold-b
harold-b / IntelGfxUbuntu20.04MacBookPro10-1.md
Last active February 15, 2026 03:36
Enable Intel Graphics on Ubuntu 20.04 on MacBook Pro Mid 2012 Retina (10,1)

How to get Intel graphics working on MacBook Pro mid 2012 (10,1) Ubuntu 20.04:

Ubuntu was intalled with the default nvidia drivers that it brought (I believe 3.90)

Clone https://github.com/0xbb/apple_set_os.efi

For details, see the README.md

Build it:

@magnusws
magnusws / SegmentedControlNavBar.swift
Last active June 28, 2023 12:32
Navigation bar with a segmented control in SwiftUI
//
// SegmentedControlNavBar.swift
//
// Navigation bar with a segmented control in SwiftUI.
//
// Created by Magnus W. Solbakken on 18/05/2020.
// Copyright © 2020 Magnus W. Solbakken.
//
import SwiftUI