Skip to content

Instantly share code, notes, and snippets.

View ammuench's full-sized avatar

Alex Muench ammuench

View GitHub Profile

Minecraft on Apple Silicon

In this gist, you can find the steps to run Minecraft 1.16.4 natively on Apple Silicon (AS), without needing Rosetta 2 translation of the dependencies (mainly LWJGL and related libraries).

While it's possible to use a launcher like MultiMC to have a prettier way to run the game on AS, it requires installing even more dependencies (like QT) which take time and are difficult to distribute. Therefore, I've put together a command line-based launcher tool using a couple shell & Python scripts.

To get up and running quickly, follow the steps below. Otherwise, for more detail, watch my YouTube video.

Download my package

@alvarotf
alvarotf / async-api-call-helper.service.ts
Created December 22, 2018 21:07
Angular Universal: Using ZoneMacroTaskWrapper to make renderModuleFactory wait for async api calls.
import { Injectable } from '@angular/core';
import { Observable, Observer, Subscription } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class AsyncApiCallHelperService {
@0x263b
0x263b / nginx_letsencrypt.md
Last active November 13, 2018 18:45
Nginx + Let's Encrypt

First, set up your cert directory

$ mkdir /var/www/dehydrated
$ cd /var/www/dehydrated

Download dehydrated, and make it runnable.