Skip to content

Instantly share code, notes, and snippets.

View kamack38's full-sized avatar
⌨️
Coding

Kamack38 kamack38

⌨️
Coding
View GitHub Profile
@stonar96
stonar96 / Anti-Xray.md
Last active September 11, 2025 07:13
Recommended Paper Anti-Xray settings by stonar96

❗ This has been moved to the official PaperMC docs ❗

Link: https://docs.papermc.io/paper/anti-xray

Help: https://discord.gg/papermc






Recommended Paper Anti-Xray settings by stonar96

General

Anti-Xray can be configured per world in the paper.yml configuration file. To understand how per world configuration works please read this first. Note that after changing any settings for Anti-Xray you have to restart your server. Executing the /reload command (you should never do this) won't apply the settings to worlds that are already loaded.

#!/bin/sh
# mihion.dk automatical Minecraft plugin update v.1.0.3.
# a shell script used to download several specific plugins, extract the archived files, move them to a specific directory.
# remove unwanted files, delete the old plugins in several server coppy the new pluginst to the respective directories.
# clean all the downloaded files and run serverl server updates scripts wich stopse the servere and update the minecraft server.
#Dir variebles
DIR1=/home/zen/pluginsupdate/
DIR2=/home/zen/pluginsupdate/files/
@kevinoid
kevinoid / .bashrc
Created July 31, 2019 16:31
GnuPG pinentry script for terminal or graphical interface based on $PINENTRY_USER_DATA.
# ~/.bashrc: executed by bash(1) for non-login shells.
# If file exists (likely) copy fragment below into existing script:
# If stdin is a terminal
if [ -t 0 ]; then
# Set GPG_TTY so gpg-agent knows where to prompt. See gpg-agent(1)
export GPG_TTY="$(tty)"
# Set PINENTRY_USER_DATA so pinentry-auto knows to present a text UI.
export PINENTRY_USER_DATA=USE_TTY=1
@f3l3gy
f3l3gy / download-latest-release.ps1
Last active June 23, 2025 17:55 — forked from MarkTiedemann/download-latest-release.ps1
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "dotnet/codeformatter"
$file = "CodeFormatter.zip"
$releases = "https://api.github.com/repos/$repo/releases"
Write-Host Determining latest release
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$tag = (Invoke-WebRequest -Uri $releases -UseBasicParsing | ConvertFrom-Json)[0].tag_name
@qdequele
qdequele / gpg_resign.sh
Created February 24, 2018 10:33
Resign all my old commits with GPG key
#!/bin/sh
cd $1
git filter-branch --commit-filter '
if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ]
then
git commit-tree -S "$@";
fi
@umidjons
umidjons / youtube-dl-download-audio-only-on-best-quality.md
Last active September 9, 2025 12:59
Download Audio from YouTube with youtube-dl

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@matthewjberger
matthewjberger / instructions.md
Last active October 10, 2025 17:43
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active October 14, 2025 16:24
Hyperlinks in Terminal Emulators
@MarkTiedemann
MarkTiedemann / download-latest-release.ps1
Last active July 1, 2025 17:06
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "dotnet/codeformatter"
$file = "CodeFormatter.zip"
$releases = "https://api.github.com/repos/$repo/releases"
Write-Host Determining latest release
$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name
@blueset
blueset / Netease_LRC.py
Last active November 7, 2024 16:15
Netease LRC Downloader
import requests
import argparse
import os
import re
import json
import mutagen
import base64
from mutagen import easyid3
import sys
from Crypto.Cipher import AES