Skip to content

Instantly share code, notes, and snippets.

View vlbosch's full-sized avatar

Vincent Bosch vlbosch

  • Poortvliet, Nederland
View GitHub Profile
@vlbosch
vlbosch / disabling-photoanalysisd.md
Created January 29, 2025 19:41 — forked from huksley/disabling-photoanalysisd.md
Disabling photoanalysisd

For what it's worth (and with all the usual disclaimers about potentially making your mac unstable by disabling system services), here's some commands that will manipulate this service and services like it. Note the $UID in the command, that's just a bash shell variable that will resolve to some number. That's your numeric UID. You just run these commands from a Terminal command line. No special privileges needed.

If you want to disable it entirely, the first command stops it from respawning, and the second kills the one that is currently running:

launchctl disable gui/$UID/com.apple.photoanalysisd
launchctl kill -TERM gui/$UID/com.apple.photoanalysisd

(If you kill it without disabling it will die, but a new one will respawn and pick up where the old one left off)

@vlbosch
vlbosch / MORE.py
Created December 3, 2024 08:19 — forked from N8python/MORE.py
faster every day
from mlx_lm import load
import mlx.core as mx
from mlx.utils import tree_flatten, tree_map, tree_unflatten
import numpy as np
# Copyright © 2023-2024 Apple Inc.
import contextlib
import copy
import glob
import importlib
@vlbosch
vlbosch / code.md
Created July 4, 2024 09:31 — forked from GamerGirlandCo/code.md
Jetbrains IntelliJ IDEA 2019.2.4 Activation code

Please make fork of this, as this can be removed by Github.com sooner or later.

CATF44LT7C-eyJsaWNlbnNlSWQiOiJDQVRGNDRMVDdDIiwibGljZW5zZWVOYW1lIjoiVmxhZGlzbGF2IEtvdmFsZW5rbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJGb3IgZWR1Y2F0aW9uYWwgdXNlIG9ubHkiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiQUMiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJDTCIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJTMCIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiUkQiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJQQyIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJEQiIsI

@vlbosch
vlbosch / voron_24_printed_parts.md
Created April 5, 2023 16:28 — forked from thalbr/voron_24_printed_parts.md
Printed parts list for the LDO Voron 2.4r2 kit organized in assembly order

Voron 2.4r2 Printed Parts List (LDO Kit) -- DO NOT USE YET, BEING REVISED RIGHT NOW

List of parts to print for Voron 2.4 organized by the Assembly Manuals (version 2022-07-04) and the LDO Build Notes order of assembly, allowing for just-in-time printing of parts while building the printer. Configuration is standard Voron 2.4 + the additional parts from the LDO kit (Stealthburner + Clockwork 1, DIN rail mounts) with choices for E3D, Dragon or Mosquito hot ends on a 250mm, 300mm or 350mm frame.

Names of the sections (such as Gantry/X_Axis/XY Joints) match the name of the STL directory that contains the prints. Note that Voron Design uses filenames starting with [a]_ at the start of a filename to indicate parts that can be printed in an accent color. [c]_ should be printed transpa

@vlbosch
vlbosch / keybase.md
Last active August 16, 2016 16:41
keybase.md

Keybase proof

I hereby claim:

  • I am vlbosch on github.
  • I am vincentbosch (https://keybase.io/vincentbosch) on keybase.
  • I have a public key whose fingerprint is BD47 E5FF ED35 224E CD95 A272 CA76 29F8 EAD1 56C8

To claim this, I am signing this object: