Skip to content

Instantly share code, notes, and snippets.

View Phoenix616's full-sized avatar
🔥
👀

Max Lee Phoenix616

🔥
👀
View GitHub Profile
@Phoenix616
Phoenix616 / RevertGithubChanges.user.css
Last active April 23, 2024 14:03
A style to revert the latest change to GitHub's dashboard/homepage/startpage/notifications. Screenshots (but outdated css): https://userstyles.org/styles/160093/
/* ==UserStyle==
@name Revert Github Changes
@namespace https://phoenix616.dev
@author Phoenix616 aka Max Lee (https://phoenix616.dev)
@version 1.2.28
@homepageURL https://gist.github.com/Phoenix616/d3d890b03892b799bf42a1d72c31fcd3/
@updateURL https://gist.github.com/Phoenix616/d3d890b03892b799bf42a1d72c31fcd3/raw/RevertGithubChanges.user.css
==/UserStyle== */
/**
@Phoenix616
Phoenix616 / ForceResourcepacks information.md
Last active February 7, 2024 21:02
Bukkit/Spigot and Velocity/Bungee default configs for the ForceResourcepacks plugin: https://frp.phoenix616.dev
@Phoenix616
Phoenix616 / IconRpMapping.java
Last active December 4, 2023 18:00
IconRpMapping - Display Minecraft item stacks in chat with WolfieMario's Text Icon Resource pack. For more info see README.md.
package de.themoep.utils;
/*
* IconRpMapping utils for mapping of Bukkit materials to WolfieMario's
* Custom Text Icons Resourcepack (https://s.moep.tv/iconrp)
* Copyright (C) 2018 Max Lee aka Phoenix616 (mail@moep.tv)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@Phoenix616
Phoenix616 / Different-cursors-for-different-links.user.css
Last active October 10, 2023 20:57
Different cursors for different links Stylus style
@Phoenix616
Phoenix616 / DarkJavadocs.user.css
Last active May 15, 2023 15:45
Dark Java 9-18 Javadocs Userstyle
/* == UserStyle==
@name Dark Javadocs
@namespace https://phoenix616.dev
@description Dark Java 9-18 Javadocs Userstyle
@author Max Lee aka Phoenix616 (https://phoenix616.dev)
@version 0.1.13
@homepageURL https://gist.github.com/Phoenix616/cc725e0f417af2f987b92e711ad37a98/
@license CC0
@updateURL https://gist.github.com/Phoenix616/cc725e0f417af2f987b92e711ad37a98/raw/27f6db9b5f0dd05930e0b9b8c853d2e35bfe99d0/DarkJavadocs.user.css
==/UserStyle== */
@Phoenix616
Phoenix616 / list.php
Last active June 13, 2022 20:03
Simple Directory List
<!--
Simple Directory List
Copyright (C) 2020 Max Lee aka Phoenix616 (max@themoep.de)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@Phoenix616
Phoenix616 / github-compare-stars-date.py
Last active June 13, 2022 20:03
A python script to compare repositories by the amount of stars while removing people who stared on of the other repos before. See an example with IRC clients here: https://gist.github.com/Phoenix616/4a9a75d425b7913c6580c01265e465b6
# Copyright (c) 2018 Phoenix616 (Max Lee)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
echo "File: unique (total - duplicate)"
for file in "$@"; do
for compare in "$@"; do
if [ "$file" == "$compare" ]; then
continue;
fi;
cat $compare >> /tmp/get_unique_line_count-others.txt
done;
lines=$(cat $file | wc -l)
duplicate=$(comm -12 <( sort $file ) <( sort /tmp/get_unique_line_count-others.txt ) | wc -l)
@Phoenix616
Phoenix616 / ShowItem information.md
Last active October 13, 2021 13:08
Config and permissions for the ShowItem plugin: https://showitem.phoenix616.dev/
/**
* Copyright (C) 2016 Max Lee (https://github.com/Phoenix616/)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of