Skip to content

Instantly share code, notes, and snippets.

View alechemy's full-sized avatar
🏄‍♂️

Alec Custer alechemy

🏄‍♂️
View GitHub Profile
@p-mng
p-mng / README.md
Last active March 13, 2026 06:08
Uninstall Rosetta 2 on macOS

Uninstall Rosetta 2 on macOS

1. Disable SIP (System Integrity Protection)

  1. Boot into recovery
  2. Open a terminal (Utilities > Terminal)
  3. Disable SIP using csrutil disable
  4. Reboot into macOS

2. Uninstall Rosetta

@KhaosT
KhaosT / HDMI on Apple Vision Pro.md
Last active March 15, 2026 04:38
Guide for using Apple Vision Pro as HDMI display

Displaying HDMI sources on Apple Vision Pro

While it's possible to stream most content to Apple Vision Pro directly over the internet, having the ability to use Apple Vision Pro as an HDMI display can still be useful.

Since Apple Vision Pro does not support connecting to an HDMI input directly or using an HDMI capture card, we have to be a little creative to make this work. NDI provides the ability to stream HDMI content over a local network with really low latency, and it works great with Apple Vision Pro.

This page shows the setup I’m using.

@nathanbuchar
nathanbuchar / nyt-crossword-supernote.md
Last active August 1, 2024 15:10
How to automatically upload the daily NYT crossword to a Ratta Supernote via Dropbox

Automatically upload the daily crossword to Supernote

The Problem

Note: For anyone landing on this page from Google looking to automatically upload the NYT crossword to your Supernote or similar e-ink tablet, I'm afraid this solution requires some knowledge of programming.

Update 1/12/22: This can be easily adapted to work for the Wall Street Journal crossword as well. Unlike the NYT crossword, the WSJ crossword does not require a paid membership. Scroll down to the bottom of this page for more info.

@dannberg
dannberg / obsidian-daily-note-template.txt
Last active March 9, 2026 10:04
Dann Berg's Daily Note Template for Obsidian. Uses Dataview & Templater plugins. Should be saved as a Markdown file in Obsidian. Read the full tour: https://dannb.org/blog/2022/obsidian-daily-note-template/
---
created: <% tp.file.creation_date() %>
---
tags:: [[+Daily Notes]]
# <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>
<< [[Timestamps/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM-MMMM", -1) %>/<% tp.date.now("YYYY-MM-DD-dddd", -1) %>|Yesterday]] | [[Timestamps/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM-MMMM", 1) %>/<% tp.date.now("YYYY-MM-DD-dddd", 1) %>|Tomorrow]] >>
---
@trungvose
trungvose / nx-structure-angular-nestjs.md
Last active October 12, 2025 20:05
Nx workspace structure for NestJS and Angular

Nx

https://nx.dev/

Nx is a suite of powerful, extensible dev tools to help you architect, test, and build at any scale — integrating seamlessly with modern technologies and libraries while providing a robust CLI, caching, dependency management, and more.

It has first-class support for many frontend and backend technologies, so its documentation comes in multiple flavours.

Principles

@v1ld
v1ld / Witcher 3 Ghost Mode Mod List 2020.md
Last active January 28, 2024 06:29
Witcher 3 Ghost Mode Mod List 2020.md

The Witcher 3 - Ghost Mode Mod List 2020

This list of mods is built around the excellent Ghost Mode overhaul mod. Here's WGhost81's own excellent list of mods to use with the mod: The Witcher 3: Ghost Mode Mod List. The Total Immersion Mod List is another excellent source of ideas for mods to use with Ghost Mode.

My original list of mods for Ghost Mode from 2017/18 is here: The Witcher 3 - Ghost Mode Mod List. That list does not change the look of the game in any way and is focused on gameplay tweaks. This list takes a different approach and will try for an updated and different look for this playthrough.

Executable Changes

These edit the witcher3.exe binary.

@quinnjr
quinnjr / README.md
Last active July 31, 2025 19:03
How to easily add environment variables to an Angular application

How to easily add environment variables to an Angular application

This guide assumes that you already have an angular application set up by ng create and are using Angular CLI for compilation.

Other guides that I've read rely upon re-writing your environments/environment.ts|environment.prod.ts files with each compilation. I find this to be completely unnecessary when angular's internal use of webpack can just be extended to include environment variables.

1. Add @angular-builders/custom-webpack to your dev-dependencies

@gfguthrie
gfguthrie / .zshrc
Created September 27, 2019 22:02
Lazy Load Homebrew NVM but still have default aliased Node in PATH
# normal brew nvm shell config lines minus the 2nd one
# lazy loading the bash completions does not save us meaningful shell startup time, so we won't do it
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/etc/bash_completion" ] && . "/usr/local/opt/nvm/etc/bash_completion" # This loads nvm bash_completion
# add our default nvm node (`nvm alias default 10.16.0`) to path without loading nvm
export PATH="$NVM_DIR/versions/node/v$(<$NVM_DIR/alias/default)/bin:$PATH"
# alias `nvm` to this one liner lazy load of the normal nvm script
alias nvm="unalias nvm; [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"; nvm $@"
@rupeshtiwari
rupeshtiwari / A Push Based Architecture With Rxjs.md
Last active September 28, 2024 19:23
Push Based Architecture With Rxjs!

Push Based Architecture With Rxjs

title: Push Based Architecture with RxJS tags: angular, rxjs, javascript, angularjs, tutorial, typescript, observables, rxjs observables, Push Based Architecture with RxJS, state management, behavior subject description: Make Reactive Applications

Push Based Architecture With Rxjs!

There are 2 types of architectures one is Pull Based the second one is Push Based. I will explain you how can we leverage RxJS BehaviorSubject to establish Push Based Architecture. In Design Patterns book we have Observer Design Pattern that is exactly what I mean by Push Based Architecture.

@itst
itst / Pinboard.scpt
Last active October 10, 2025 20:19
Import and regularly replicate your Pinboard bookmarks in DEVONthink.
(* Import and update your Pinboard bookmarks to DEVONthink
Based on work done by Christian Grunenberg on Mon Jan 23 2006,
Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010 and
Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished.
By Sascha A. Carlin <https://sascha.carlin.de/> on 2018-03-07 to set the creation date of new record, show progress bar, use Pinboard Auth Token, use modification date of folder to fetch only recent items
Copyright (c) 2018. All rights reserved. *)
use framework "Foundation"