Skip to content

Instantly share code, notes, and snippets.

View zax71's full-sized avatar

Zax71 zax71

  • Endercube
  • Earth?
View GitHub Profile
alias neofetch='fastfetch'
alias ls='eza --icons=always --width=100'
alias ll='eza -l -a --icons=always'
alias cat='batcat'
alias vim='nvim'
alias tree='ls --tree --git-ignore'
# Pwetty colors
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
@zax71
zax71 / music.rs
Created April 9, 2024 21:31
All the Rust that I’ve done
use std::path::Path;
use regex::Regex;
use std::fs;
pub fn list(music_files: &mut Vec<String>) {
// Get the OS music directory
let music_directory = dirs::audio_dir().unwrap();
let music_path: &Path = music_directory.as_path();
// Get the paths top the files in that music dir
@zax71
zax71 / EventListener.java
Last active January 12, 2024 17:31
Basic Minestom Event Listener
public class MinigameStart implements EventListener<MinigameStartEvent> {
@Override
public @NotNull Class<MinigameStartEvent> eventType() {
return MinigameStartEvent.class;
}
@Override
public @NotNull Result run(@NotNull MinigameStartEvent event) {
return Result.SUCCESS;
@zax71
zax71 / Issues with free hosts.md
Last active December 4, 2021 14:07
The issues with free hosting services

The issues with free hosting services

Over my time i have used almost all the free hosts that exist. and they all had many issues that couldn't be resolved. including:

  • limited number of plugins
  • Outdated plugins
  • Turns off after some time
  • Low specs that can't run anything past 1.12

But i can't pay for a host