Skip to content

Instantly share code, notes, and snippets.

View indygwyn's full-sized avatar

Thomas W. Holt Jr. indygwyn

  • Indianapolis, IN US
View GitHub Profile
This file has been truncated, but you can view the full file.
[15:21:09] [main/INFO]: ModLauncher running: args [--username, indygwyn, --version, forge-43.1.25, --gameDir, /Users/twh/Twitch/Minecraft/Instances/All the Mods 8 - ATM8 - 1.19.2, --assetsDir, /Users/twh/Twitch/Minecraft/Install/assets, --assetIndex, 1.19, --uuid, 6d2c563e1d2247f89d31ce48fc49a49b, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, QThEMjQwMjI1RjJCNEVCODhERUY1MjA1NEZERkQ4MkY=, --xuid, 2533274810344824, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 43.1.25, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853]
[15:21:09] [main/INFO]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Mac OS X arch x86_64 version 12.6
[15:21:10] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/Users/twh/Twitch/Minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2391!/ Service=ModLauncher Env=CLIENT
[15:21:11] [main/INFO]: Found mod
---- Minecraft Crash Report ----
// Ouch. That hurt :(
Time: 2022-09-24 15:22:55
Description: Mod loading error has occurred
java.lang.Exception: Mod Loading has failed
at net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.19.2-43.1.25-universal.jar%23400!/:?] {re:classloading}
at net.minecraftforge.client.loading.ClientModLoader.completeModLoading(ClientModLoader.java:167) ~[forge-1.19.2-43.1.25-universal.jar%23400!/:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:585) ~[client-1.19.2-20220805.130853-srg.jar%23395!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:ae2.mixins.json:PickColorMixin,pl:mix

Unofficial Bash Strict Mode

Sometimes a programming language has a "strict mode" to restrict unsafe constructs. E.g., Perl has use strict, Javascript has "use strict", and Visual Basic has Option Strict. But what about bash? Well, bash doesn't have a strict mode as such, but it does have an unofficial strict mode:

set -euo pipefail

set -e

Accounts I follow on YouTube

Got it from running below script:

let markdown = Array.from(document.querySelectorAll("ytd-channel-renderer"))
  .map((item) => ({
    title: item.querySelector("#text-container").textContent.trim(),
    url: item.querySelector("#main-link").href,
 }))
@indygwyn
indygwyn / 256color.rb
Created June 8, 2022 12:38 — forked from ttscoff/256color.rb
256-color hex intepretation for terminal colorization
#!/usr/bin/env ruby
# frozen_string_literal: true
# 256-color hex interpretation for terminal colorization
#
# Usage
# "text".color256(foreground, background)
#
# print "Colorize this".color256('#f7921e', '#666')
@indygwyn
indygwyn / bash_strict_mode.md
Created April 13, 2022 01:19 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation
@indygwyn
indygwyn / single-node-es.md
Created March 2, 2022 14:54 — forked from angristan/single-node-es.md
Elasticsearch settings for single-node cluster (1 shard, 0 replica)

Elasticsearch settings for single-node cluster

1 shard, 0 replica.

For future indices

Update default template:

curl -X PUT http://localhost:9200/_template/default -H 'Content-Type: application/json' -d '{"index_patterns": ["*"],"order": -1,"settings": {"number_of_shards": "1","number_of_replicas": "0"}}' 
@indygwyn
indygwyn / es-recovery.sh
Created December 11, 2021 23:40 — forked from jolestar/es-recovery.sh
elasticsearch recovery speed up
curl -s -XGET 'localhost:9200/_cat/recovery?v'
curl -XPUT localhost:9200/_cluster/settings -d '{
"persistent" : {
"cluster.routing.allocation.node_concurrent_recoveries" : "10",
"indices.recovery.max_bytes_per_sec": "250mb",
"indices.recovery.concurrent_streams": 10
}
}'
curl -s -XGET 'localhost:9200/_cat/recovery?v'
@indygwyn
indygwyn / semantic-commit-messages.md
Created September 27, 2021 22:00 — forked from joshbuchea/semantic-commit-messages.md
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

@indygwyn
indygwyn / PVE-HP-ssacli-smart-storage-admin.md
Created June 28, 2021 12:25 — forked from mrpeardotnet/PVE-HP-ssacli-smart-storage-admin.md
HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

Why use HP Smart Storage Admin CLI?

You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.

CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.

ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.

Installation