Skip to content

Instantly share code, notes, and snippets.

Using Prism Launcher

Firstly of course, ensure that you have logged in with your Microsoft account to play Minecraft legally with Prism Launcher.

Creating a new instance (with or without mod loaders)

Creating a new instance is incredibly easy. A new instance is completely separate from other instances and data is not shared between instances. This means that you can have 2 billion mods in one instance which uses Fabric, and you could also have a different instance with only 3 mods using Forge. And they're separate and you dont have to go inside your mods folder every time you want to switch Minecraft versions!

1. Click "Add Instance"

Screenshot 2024-08-05 at 21 30 55

A new window will appear where you can change your instance. What I personally love about Prism Launcher is that it is an all-in-one solution. You can either just play Minecraft as if it were the real Minecraft Launcher, or you could even play using

@s3rius
s3rius / README.md
Last active January 30, 2025 00:32
Dynamic schedule source for taskiq.

Here's an example of dynamic scheduler for taskiq. It uses postgres to store all tasks.

We created custom schedule source that is capable of storing and retrieving scheduled tasks.

Start workers by running:

taskiq worker tkq:broker --fs-discover
@bartdorsey
bartdorsey / common-django-pitfalls.md
Last active October 19, 2024 04:05
Common Django Pitfalls

Common Django Pitfalls

This contains a collection of common errors people make when coding Django apps, and how to fix them.

Important Strategies for preventing pitfalls

  1. Always do one thing at a time and test it. Make a single change, test it for errors, before moving on to the next thing.
  2. When trying to fix an error, only change one thing at a time, If the error message does not change, undo that change and try something else.
  3. If you discover you haven't saved a file, and that's causing an error, save the file and try again and pay attention to any new errors. The original error isn't worth worrying about until you have saved everything
@Kludex
Kludex / main.py
Last active March 19, 2025 17:07
Run Gunicorn with Uvicorn workers in code
""" Snippet that demonstrates how to use Gunicorn with Uvicorn workers in code.
Feel free to run:
- `python main.py` - to use uvicorn.
- `ENV=prod python main.py` - to use gunicorn with uvicorn workers.
Reference: https://docs.gunicorn.org/en/stable/custom.html
"""
@KernelA
KernelA / .dockerignore
Created February 1, 2020 20:31
.dockerignore example for Python projects
# Git
.git
.gitignore
.gitattributes
# CI
.codeclimate.yml
.travis.yml
.taskcluster.yml
@meetkabeershah
meetkabeershah / default nginx configuration file
Last active January 11, 2025 12:19
The default nginx configuration file inside /etc/nginx/sites-available/default
# Author: Zameer Ansari
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 21, 2025 23:44
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@ericavonb
ericavonb / git-commit-style-guide.md
Last active April 5, 2025 19:10
Git Commit Style Guide

Git Commit Style Guide

Inspiration: Deis Commit Style Guide

I often quote Deis in sections below.

Motivation

It makes going back and reading commits easier. It also allows you to spend less time thinking about what your commit message should be.