Skip to content

Instantly share code, notes, and snippets.

Avatar
🔥
🤔

Max Lee Phoenix616

🔥
🤔
View GitHub Profile
@Phoenix616
Phoenix616 / ObjectIndex.java
Last active Feb 17, 2021
A class that can index objects based on some parameters. Used in https://github.com/RedstoneWorld/RedAction/tree/action-index/
View ObjectIndex.java
package de.themoep.utils;
/*
* Copyright 2021 Max Lee (max@themoep.de)
*
* 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
@Phoenix616
Phoenix616 / GithubReturnLightThemedHeader.user.css
Created Dec 8, 2020
Userstyle to return GitHub's light-themend header (in light mode)
View GithubReturnLightThemedHeader.user.css
/* ==UserStyle==
@name Github Return Light Themed Header
@namespace https://phoenix616.dev
@preprocessor less
@version 0.1.0
@author Phoenix616 aka Max Lee (https://phoenix616.dev)
@homepageURL https://gist.github.com/Phoenix616/3be078a482e50f5e9cc4cd8e0d7272b7/
@updateURL https://gist.github.com/Phoenix616/3be078a482e50f5e9cc4cd8e0d7272b7/raw/37c94748eaec6dec1d3f1bd10460d7159f4b1ea0/GithubReturnLightThemedHeader.user.css
==/UserStyle== */
View MendingNerf.java
package de.minebench.mbutils.bukkit.modules;
import com.Acrobot.ChestShop.Events.ItemInfoEvent;
import de.minebench.mbutils.bukkit.MbUtils;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.NamespacedKey;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
@Phoenix616
Phoenix616 / Anonvite.md
Last active Sep 27, 2020
Simple php scripts to redirect to anonymous Discord invite links from a server's widget settings.
View Anonvite.md

Anonvite

Simple php scripts to redirect to anonymous Discord invite links from a server's widget settings.

These will not show a specific user who invited as well as automatically connect to the text channel specified in the widget settings. (And if the widget/invite is disabled it will just not work)

Example

Usage

@Phoenix616
Phoenix616 / list.php
Last active Sep 13, 2020
Simple Directory List
View list.php
<!--
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 / DarkJavadocs.user.css
Last active Jan 25, 2021
Dark Java 9-15 Javadocs Userstyle
View DarkJavadocs.user.css
/* == UserStyle==
@name Dark Javadocs
@namespace https://phoenix616.dev
@description Dark Java 9-15 Javadocs Userstyle
@author Max Lee aka Phoenix616 (https://phoenix616.dev)
@version 0.1.8
@homepageURL https://gist.github.com/Phoenix616/cc725e0f417af2f987b92e711ad37a98/
@license CC0
@updateURL https://gist.github.com/Phoenix616/cc725e0f417af2f987b92e711ad37a98/raw/27f6db9b5f0dd05930e0b9b8c853d2e35bfe99d0/DarkJavadocs.user.css
==/UserStyle== */
@Phoenix616
Phoenix616 / jenkins-set-all-jobs-to-block-on-upstream.groovy
Created Feb 12, 2020
This is a small groovy script to be used in Jenkins' Groovy console to change all jobs to block when upstream jobs build. (Or any other property)
View jenkins-set-all-jobs-to-block-on-upstream.groovy
for(item in Jenkins.instance.items) {
println("job $item.name")
if (item.hasProperty("blockBuildWhenUpstreamBuilding")) {
item.blockBuildWhenUpstreamBuilding = true
println("set to $item.blockBuildWhenUpstreamBuilding")
}
}
View keybase.md

Keybase proof

I hereby claim:

  • I am Phoenix616 on github.
  • I am phoenix616 (https://keybase.io/phoenix616) on keybase.
  • I have a public key whose fingerprint is 7A2E 6B10 8BA3 486B AD2D A9FA CD3E 65A8 A356 C4D4

To claim this, I am signing this object:

@Phoenix616
Phoenix616 / Different-cursors-for-different-links.css
Created Aug 3, 2019
Different cursors for different links Stylus style
View Different-cursors-for-different-links.css
@Phoenix616
Phoenix616 / gw2 total control v1.1 (mod by the moep)_0.vdf
Created Feb 12, 2019
Based on CoryOp's v1 configuration. See https://s.moep.tv/gwsc for more info. Updated to use layers and to provide an emote menu.
View gw2 total control v1.1 (mod by the moep)_0.vdf
"controller_mappings"
{
"version" "3"
"revision" "226"
"title" "GW2 Total Control v1.1 (mod by The Moep)"
"description" "Based on CoryOp's v1 configuration. See s.moep.tv/gwsc for more info. Updated to use layers and to provide an emote menu."
"creator" "76561198022182680"
"controller_type" "controller_steamcontroller_gordon"
"Timestamp" "403439616"
"actions"