Skip to content

Instantly share code, notes, and snippets.

View Dids's full-sized avatar
🏠
Working from home

Pauli Jokela Dids

🏠
Working from home
View GitHub Profile
@adelyser
adelyser / CB1 Armbian Bookworm 3D Acceleration Optimization.md
Last active April 22, 2024 09:06
CB1 3d Acceleration running Armbian Bookworm

This is a quick guide for optimizing the 3D acceleration for the Bigtreetech CB1 running Armbian Bookworm. Armbian already has the proper drivers installed, so disregard my previous guide.

**NOTE: The best perorming UI with panfrost is Gnome Wayland##

To optimize the drivers, only a few things are needed:

  1. Install the boot overlays to enable the cpu and gpu governors.
  2. Set the governors in the OS.
  3. Optional: Run the benchmark (glmark2 or kmscube)

Install boot overlays

@brian105
brian105 / HackintoshSonomaStatus.md
Last active December 24, 2023 12:01
State of macOS 14 Sonoma on x86 Hardware

This is a repost of the stickied post of the same name from r/hackintosh, made by the same author.

NOTE: macOS Sonoma requires at least OpenCore 0.8.3, but you really should be on the latest version.

Compatible Hardware

macOS Sonoma dropped a few Intel Mac models, but still supports most that released in the last 5 years.

@adelyser
adelyser / btt_pad7_panfrost.md
Last active April 24, 2024 17:32
BTT PAD7 Panfrost drivers

Enabling panfrost GPU acceleration on the Bigtreetech PAD7

REQUIREMENT: You must have compiled the Panfrost drivers into the kernel!

The Panfrost drivers for the PAD7 requires a newer version of the mesa binaries. You have 2 options:

  1. Bullseye You have to download the sources for mesa and glmark2 and build them locally. This will take awhile|
  2. Bookworm The alternative is to update to Bookworm (still compatible with the 5.16.17 kernel), and install the libraries using apt. This will also take awhile to update to Bookworm|

Bullseye

@likamrat
likamrat / WinGet_WinSrv.ps1
Created February 13, 2023 00:41
Installing Winget om Windows Server 2019/2022
Write-Information "This script needs be run on Windows Server 2019 or 2022"
If ($PSVersionTable.PSVersion.Major -ge 7){ Write-Error "This script needs be run by version of PowerShell prior to 7.0" }
# Define environment variables
$downloadDir = "C:\WinGet"
$gitRepo = "microsoft/winget-cli"
$msiFilenamePattern = "*.msixbundle"
$licenseFilenamePattern = "*.xml"
$releasesUri = "https://api.github.com/repos/$gitRepo/releases/latest"
@Dids
Dids / README.md
Last active February 7, 2024 04:39
Fix YouTube on Safari in a quick and easy manner, all with official and legit tools and steps!

SafariTube - Fix YouTube on Safari

What is this?

SafariTube is a simple userscript for Tampermonkey, which simply makes YouTube think it's running on Chrome, enabling a much better user experience, from features such as hover previews to improved video playback and an overall improved YouTube experience.

How do I use it?

  1. Install Tampermonkey from the (Mac) App Store
  2. Configure Tampermonkey to your liking (optional, but recommend checking general update settings in particular)
@ChipCE
ChipCE / readme.md
Last active October 14, 2024 16:52
Klipper bed mesh on print area only macro install guide

READ THIS FIRST

Adaptive bed mesh is merged into klipper master branch. You can use this feature without this custom macro. Official klipper adaptive bed mesh

Klipper mesh on print area only install guide

What this macro do

  • This macro will dynamically changing the bed mesh area based on the size of the parts will be printed. The fw will only probe on the area that the part will be printed (plus mesh_area_offset value)
@Dids
Dids / pinecil_flashing_firmware_guide.md
Last active December 20, 2023 13:17
Pinecil Flashing & Firmware Guide

Pinecil Flashing & Firmware Guide

This shows the bare minimum on how to flash your Pinecil with custom/new firmware, as well as changing things like the boot logo.

NOTE: This guide should work on both Linux and macOS as is, however it has only been tested on macOS Big Sur 11.6, so some steps might differ slightly on Linux, at least at the time of writing this.

Flashing & Requirements

The following dependencies are necessary for the entirety of the guide, however here we are only showing how to install them on macOS.

@Dids
Dids / raw_img_gpt_efi.md
Last active January 11, 2024 12:25
Working with raw disk images with GPT + EFI partition in linux

What is the purpose of this guide?

I originally wanted to create bootable disks for UEFI (i)PXE booting, meaning I could directly boot premade disk images over the network, no matter what they may contain.

While this guide serves my purpose well, it's also generic enough to be extended to almost any use case. For example, you might use it as temporary or even portable storage, mountable across different operating systems, or you might use it as a disk image for a virtual machine.

DISCLAIMER: Be very careful with the commands listed below, as you could potentially not only cause data loss, but even prevent your operating system from booting, no matter how unlikely either of those may be. Pay attention to the commands, comments and differences between the guide and your local environment.


@GeorgeElsham
GeorgeElsham / GeometryReaderModifier.swift
Last active January 28, 2024 13:51
Get geometry of view without breaking the layout
/*
MIT License
Copyright (c) [2023] [George Elsham]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active October 30, 2024 13:02
Files for PlayStation BIOS Files NA-EU-JP