Skip to content

Instantly share code, notes, and snippets.

View Phoenix616's full-sized avatar
🔥
👀

Max Lee Phoenix616

🔥
👀
View GitHub Profile
@Phoenix616
Phoenix616 / irc-client-star-gazers.md
Last active January 21, 2020 20:01
A comparison of the amount of stargazers that the GitHub repositories of popular IRC clients have.

This is a comparison of the amount of stargazers that the GitHub repositories of popular IRC clients have. It orders by a count that has people removed that starred another client's repo after staring it giving a more exact actual popularity count. The "moved to" section assumes that someone will not unstar another client's repo after staring his new client's repo giving us some indication which was used previously.

IRC client latest total difference moved to
lounge 3217 3432 215 weechat(46), irssi(42), shout(41), hexchat(27), Textual(25), 5 others
shout 2946
@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
@Phoenix616
Phoenix616 / UpdateJavaPath.bat
Last active April 19, 2018 19:09
Simple batch script to both create a version independent folder and to update the paths (system path requires admin rights). This needs to be run in the folder where the JDK (or JRE) is in.
set /p version="Enter the Java minor version: "
rm jdk1.8.0
mklink /J jdk1.8.0 jdk1.8.0_%version%
SETX JAVA_HOME "%~dp0jdk1.8.0_%version%"
SETX JAVA_HOME /m "%~dp0jdk1.8.0_%version%"
PAUSE
@Phoenix616
Phoenix616 / ShowHide-WinY-Shortcut.ahk
Last active May 20, 2018 15:03
Small AutoHotkey script to toggle the display of the icon on the desktop. (Default shortcut is Win+Y, tested on Windows 7)
#y::
ControlGet, HWND, Hwnd,, SysListView321, ahk_class Progman
If HWND =
ControlGet, HWND, Hwnd,, SysListView321, ahk_class WorkerW
If DllCall("IsWindowVisible", UInt, HWND)
WinHide, ahk_id %HWND%
Else
WinShow, ahk_id %HWND%
@Phoenix616
Phoenix616 / Network.ini
Last active June 1, 2020 10:48
Simple network monitor Rainmeter skin
[Rainmeter]
Update=500
DynamicWindowSize=1
[Metadata]
Name= Personal - Network
Author=Phoenix616
Version=1.0
License=CC-BY-NC-SA 3.0
@Phoenix616
Phoenix616 / ShowItem information.md
Last active October 13, 2021 13:08
Config and permissions for the ShowItem plugin: https://showitem.phoenix616.dev/
@Phoenix616
Phoenix616 / ReplaceInBlocks.java
Last active November 22, 2018 19:35
Simple text replacements for properties inside of blocks, requires WorldEdit. MIT License
/**
* 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:
*
@Phoenix616
Phoenix616 / ItemMatcher.java
Last active February 17, 2020 21:51
Utility class to match items with all their properties (no NBT support though, only Bukkit API settings)
/**
* Nietzsche Public License v0.6-m1
*
* Copyright 2020 Max Lee aka Phoenix616 (mail@moep.tv)
*
* Copyright, like God, is dead. Let its corpse serve only to guard against its
* resurrection. You may do anything with this work that copyright law would
* normally restrict so long as you retain the above notice(s), this license, and
* the following misquote and disclaimer of warranty with all redistributed
* copies, modified or verbatim. You may also replace this license with the Open
@Phoenix616
Phoenix616 / clone-all-org-github-repos.sh
Last active January 5, 2019 16:10 — forked from caniszczyk/clone-all-twitter-github-repos.sh
Clone all repos from a GitHub organization
curl -s https://api.github.com/orgs/$1/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["git_url"]} ]}'
@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== */
/**