Skip to content

Instantly share code, notes, and snippets.

@LewisGaul
LewisGaul / zig-blog-posts.md
Last active May 27, 2024 01:09
Collection of blog posts about the Zig programming language
@ScottoMotto
ScottoMotto / org.dimdev.rift.json
Last active January 20, 2020 14:09
JSON file for installing Rift Modloader in Minecraft 1.13.2 in MultiMC. Download Rift here: https://github.com/Chocohead/Rift
{
"+tweakers": [
"org.dimdev.riftloader.launch.RiftLoaderClientTweaker"
],
"formatVersion": 1,
"+libraries": [
{
"name": "com.github.Chocohead:Rift:jitpack-SNAPSHOT",
"url": "https://www.jitpack.io/"
},
@matthewzring
matthewzring / markdown-text-101.md
Last active June 21, 2024 14:21
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@ozh
ozh / new empty git branch.md
Last active May 29, 2024 00:00
Create a new empty branch in Git
$ git checkout --orphan NEWBRANCH
$ git rm -rf .

--orphan creates a new branch, but it starts without any commit. After running the above command you are on a new branch "NEWBRANCH", and the first commit you create from this state will start a new history without any ancestry.

You can then start adding files and commit them and they will live in their own branch. If you take a look at the log, you will see that it is isolated from the original log.