- Spawn Base
9, 34
- Spawn Village
118, 85
- Mountain with some Iron on top
598, -204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a higher order function that takes in an express handler function callback | |
// and returns a new one that does a try catch on your handler so you don't have | |
// to put a try catch in every route. | |
function asyncErrorHandler(callback) { | |
return async function (req, res, next) { | |
try { | |
return callback(req, res, next) | |
} catch (error) { | |
next(error) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const http = require('http'); | |
const options = { | |
hostname: "programming-quotes-api.herokuapp.com", | |
path: "/quotes/random", | |
method: 'GET' | |
} | |
const req = http.request(options, (res) => { |
There are tons of mod sites on the internet, a lot of them link to sites that are questionable. Be careful what you download and run on your computer. My suggesting is to stick to official sites for mods or places like Curseforge.
I use multimc to launch minecraft. It's possible to use the official launcher with all the mods below, but I vastly prefer the utility this launcher give you.
This contains a collection of common errors people make when coding Django apps, and how to fix them.
- 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.
- 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.
- 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
Git worktrees are a special feature of git that lets you checkout branches/commits into a folder.
You can check each branch out into a separate folder. This means no more stashing/un-stashing or committing just to work on several branches at once.
Seed | Variant | Description |
---|---|---|
13032936 | Bedrock | lots of biomes all around, with a savannah village close by |
-4643289498761436768 | Bedrock | Jungle with Portal and Cave near Spawn |