Skip to content

Instantly share code, notes, and snippets.

View nyxkrage's full-sized avatar
📝
Emacs as my OS

Carsten Kragelund Jørgensen nyxkrage

📝
Emacs as my OS
View GitHub Profile
@nyxkrage
nyxkrage / README.md
Last active August 18, 2023 12:44
Conventional Commit Helper

Install

Make sure charmbracelet/gum and fzf are installed

mkdir ~/.local/share/bin
curl "https://gist.githubusercontent.com/nyxkrage/c3e97636cfd3f2fc6f823d68c9465722/raw/7c8d1f3b90b69af12009b754cbec35dde63a95c0/convcommit.bash" -o ~/.local/share/bin/convcommit
chmod +x ~/.local/share/bin/convcommit
# cc for convetional commit
git config --global alias.cc "-c core.editor=\"$HOME/.local/share/bin/convcommit\" commit"
# Configure your own custom Rec Mono for Code font
# git clone https://github.com/arrowtype/recursive-code-config.git
# cd recursive-code-config
# python3 -m venv venv
# source venv/bin/activate
# pip install -r requirements.txt
# curl https://gist.github.com/nyxkrage/4b93ee0c8ce9c0cc76c0449d496fafae/raw/fa272d0543859e9303a1ccebc4ad770d167c6a26/RecMonoNyx -o config.yaml
# python3 scripts/instantiate-code-fonts.py
#
# /$$$$$$ /$$
class InGameConsole {
// The constructor is run when initiating the mods, everything in the game is not expected to be initialized
constructor(game_instance, game_config, api) {
// this.name is required
this.name = "InGame Console"
// this.id is required and should be unique to your mod
// for instance "yourname.modname"
this.id = "nyxkrage.igconsole"
// this.XXX can be used to save things for use in start or in your hooks
this.api = api

Arch Install

Notes about this "guide"

This is more-so notes for myself that would also be understandable for others.
It will NOT be an in-depth guide explaining my choices.
It will NOT tell you the function of every option for every command, as I assume you will look up any that you find interesting or confusing.
I WILL link to general info about the main parts being used, or if some info is harder to find.

This will guide you through the installation from after booting from the USB to booting Arch from your SSD/HDD.

Resulting installation

Public Source, No Redistribution License
Version 1, 2021
Copyright © <YEAR> <NAME OF COPYRIGHT HOLDER>. All rights reserved.
Developed by <NAME OF CREATOR>
<NAME OF PROJECT>
<LINK TO PROJECT>
All rights reserved.
@nyxkrage
nyxkrage / noItalicComments.json
Created January 24, 2021 16:04
disable italic comments
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line"
],
"settings": {

Arch Install

Notes about this "guide"

This is more-so notes for myself that would also be understandable for others.
It will NOT be an in-depth guide explaining my choices.
It will NOT tell you the function of every option for every command, as I assume you will look up any that you find interesting or confusing.
I WILL link to general info about the main parts being used, or if some info is harder to find.

This will guide you through the installation from after booting from the USB to booting Arch from your SSD/HDD.

Resulting installation