Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

View nicdgonzalez's full-sized avatar

Nic nicdgonzalez

View GitHub Profile

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

// _ _ _ _
// | | | | | | (_)
// | |__ | |_| |_ _ __ _ ___
// | '_ \| __| __| '_ \ | / __|
// | | | | |_| |_| |_) || \__ \
// |_| |_|\__|\__| .__(_) |___/
// | | _/ |
// |_| |__/
//
// An enum that represents all of the listed HTTP response status codes as
@nicdgonzalez
nicdgonzalez / install-complementary-shaders.py
Created August 10, 2024 03:37
A simple script that installs Complementary Unbound, a Minecraft shader.
#!/usr/bin/python
import datetime
import logging
import os
import pathlib
import re
import stat
import subprocess
import sys
@nicdgonzalez
nicdgonzalez / minecraft-auto-clicker.py
Last active August 24, 2024 01:56
A simple script to periodically swing at mobs while I am AFK at the XP farm.
#!/usr/bin/python
import logging
import subprocess
import sys
import time
try:
import keyboard
import mouse
@nicdgonzalez
nicdgonzalez / get-paper-server.sh
Last active July 6, 2024 06:00
Download PaperMC's server file. Defaults to the latest version.
#!/usr/bin/bash
if [ $1 == "--help" ] || [ $1 == "-h" ]; then
echo "USAGE: $(basename "$0") [minecraft_version] [paper_build]"
exit 0
fi
URL="https://api.papermc.io/v2/projects/paper"
if [ $# -lt 1 ]; then
@nicdgonzalez
nicdgonzalez / boot.asm
Last active January 6, 2024 19:23
"Hello, World!" in x86-64 Assembly for the BIOS environment. Written from scratch (no tutorials). I'm proud of it, but not proud enough for it to go in it's own repository; instead, it will live here in a Gist instead.
[BITS 16] ; 16-bit code
[ORG 0x7C00] ; BIOS loads the boot sector at 0x7C00
jmp start ; Jump to the `start` label
message db "Hello, World!", 0 ; The message to print
length equ ($ - message) ; The length of `message` (difference of the
; current address and the address of `message`)
start:
mov si, message ; Load the address of `message` into SI