Skip to content

Instantly share code, notes, and snippets.

View NotGeri's full-sized avatar
Vibing to music

Geri NotGeri

Vibing to music
View GitHub Profile
@NotGeri
NotGeri / script.js
Last active April 2, 2025 01:00
A simple Tampermonkey script to be notified of Zendesk tickets. Make sure to update the @match block to work with your install.
// ==UserScript==
// @name Zendesk Ticket Notifier
// @namespace https://geridev.zendesk.com/
// @version 0.3
// @description Refresh Zendesk and notify if new tickets appear
// @match https://geridev.zendesk.com/agent/*
// @grant none
// ==/UserScript==
(function () {
@NotGeri
NotGeri / Dockerfile
Last active August 2, 2024 13:27
A simple Docker image file for Pterodactyl that also happens to have Git and Git LFS installed. You can use it from DockerHub: notgeri/pterodactyl-javagit-17
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-jammy
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT
RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container \
&& curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \
&& apt-get install git-lfs
@NotGeri
NotGeri / tickets.py
Last active January 26, 2024 18:09
Tickets over time
import pandas as pd
import plotly.express as px
from datetime import datetime
mode = 'regular' # weekly or regular
guild_id = '784283476131446805' # main: 720081782980083813, waitlist: 784283476131446805
ticket_types = None # ['general', 'minecraft', 'billing', 'open_a_ticket', 'open_billing_ticket', 'beta']
ignore_channel_ids = ['848182043526955028', '882047263134851182', '886783813970194463',
'888435310944469053', '892131281180184656', '922666086921555988',
'1040341685651112046', '1071829508119863348', '1071829509306863716',
@NotGeri
NotGeri / package.json
Created November 30, 2023 10:17
Convert Excel Shift Claims To Obsidian Fullcalendar Events
{
"type" : "module"
}
@NotGeri
NotGeri / Dockerfile
Created November 24, 2023 20:21
Pterodactyl OpenJDK 17 Docker Image
FROM --platform=$TARGETOS/$TARGETARCH openjdk:17-jdk-slim
RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
@NotGeri
NotGeri / DisplayNameFix.java
Last active November 10, 2023 21:40
Simple plugin to change the display name of players to the DiscordSRV one
package dev.geri.displaynamefix;
import github.scarsz.discordsrv.DiscordSRV;
import github.scarsz.discordsrv.dependencies.jda.api.entities.Member;
import github.scarsz.discordsrv.util.DiscordUtil;
import me.clip.placeholderapi.PlaceholderAPI;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
@NotGeri
NotGeri / terminator.ini
Created November 1, 2023 16:05
My terminator config so I don't forget..
[global_config]
title_at_bottom = True
title_transmit_bg_color = "#171421"
title_inactive_fg_color = "#ffffff"
title_inactive_bg_color = "#171421"
[keybindings]
new_tab = <Primary>t
cycle_next = <Primary>Tab
cycle_prev = <Primary><Shift>Tab
go_next = <Primary><Shift><Alt>KP_End
@NotGeri
NotGeri / quilt-pterodactyl-egg.json
Created September 15, 2023 13:55
I am tired of installing it manually with the Fabric egg
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-09-15T13:47:00+00:00",
"name": "Java - Quilt",
"author": "geri@bloom.host",
"description": "Quilt is fork of Fabric, a modular modding toolchain targeting Minecraft 1.14 and above, including snapshots.",