Skip to content

Instantly share code, notes, and snippets.

@Kage0x3B
Kage0x3B / BootstrapIconList.txt
Last active Apr 10, 2022
List of all bootstrap icon names and useful typescript type - https://icons.getbootstrap.com/
View BootstrapIconList.txt
123,activity,alarm,alarm-fill,align-bottom,align-center,align-end,align-middle,align-start,align-top,alt,app,app-indicator,apple,archive,archive-fill,arrow-90deg-down,arrow-90deg-left,arrow-90deg-right,arrow-90deg-up,arrow-bar-down,arrow-bar-left,arrow-bar-right,arrow-bar-up,arrow-clockwise,arrow-counterclockwise,arrow-down,arrow-down-circle,arrow-down-circle-fill,arrow-down-left-circle,arrow-down-left-circle-fill,arrow-down-left-square,arrow-down-left-square-fill,arrow-down-right-circle,arrow-down-right-circle-fill,arrow-down-right-square,arrow-down-right-square-fill,arrow-down-square,arrow-down-square-fill,arrow-down-left,arrow-down-right,arrow-down-short,arrow-down-up,arrow-left,arrow-left-circle,arrow-left-circle-fill,arrow-left-square,arrow-left-square-fill,arrow-left-right,arrow-left-short,arrow-repeat,arrow-return-left,arrow-return-right,arrow-right,arrow-right-circle,arrow-right-circle-fill,arrow-right-square,arrow-right-square-fill,arrow-right-short,arrow-through-heart,arrow-through-heart-fill,arrow-
@Kage0x3B
Kage0x3B / downloadPanoptoVideo.js
Created Jul 27, 2021
Script to extract a mp4 video url from Panopto and download it. Can be used in the console or probably as a bookmarklet.
View downloadPanoptoVideo.js
(function () {
function downloadURI(uri, name) {
const link = document.createElement("a");
link.setAttribute("download", name);
link.setAttribute("href", uri);
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}
View xss-test.js
eval(atob(`cj0oKT0+e2MgPSBgI2A7Zm9yKGk9MDtpPDY7aSsrKXtjKz1gMjQ1N0ZgW01hdGguZmxvb3IoTWF0aC5yYW5kb20oKSo1KV19cmV0dXJuIGN9O3NldEludGVydmFsKCgpPT5kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiaGVhZGVyX21haW4iKS5zZXRBdHRyaWJ1dGUoYHN0eWxlYCwgYGJhY2tncm91bmQtY29sb3I6YCtyKCkrYCAhaW1wb3J0YW50O2ApLDAsMTUwMCk=`))
atob(`cj0oKT0=`).concat(`>`,atob(`e2MgPSBgI2A7Zm9yKGk9MDtpPDY7aSsrKXtjKz1gMjQ1N0ZgW01hdGguZmxvb3IoTWF0aC5yYW5kb20oKSo1KV19cmV0dXJuIGN9O3NldEludGVydmFsKCgpPT5kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiaGVhZGVyX21haW4iKS5zZXRBdHRyaWJ1dGUoYHN0eWxlYCxgYmFja2dyb3VuZC1jb2xvcjpgK3IoKStgICFpbXBvcnRhbnQ7YCksMCwxNTAwKQo=`))
r=()=
cj0oKT0=
View ItemDropListener.java
package de.syscy.adventureplugin.listener;
import de.syscy.adventureplugin.AdventurePlugin;
import lombok.Getter;
import lombok.Setter;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Item;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
View LGBTPlugin.java
package de.syscy.lgbtmc;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.bukkit.BanList.Type;
import org.bukkit.Bukkit;
import org.bukkit.Difficulty;
View BoundingBox.java
package de.syscy.kagecore.util;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.Location;
import org.bukkit.configuration.serialization.ConfigurationSerializable;
import com.sk89q.worldedit.bukkit.selections.CuboidSelection;
@Kage0x3B
Kage0x3B / SpellTestPlugin.java
Last active Apr 18, 2017
A spigot plugin adding "spells"/projectiles shot from the bow which target the entity you are looking at (almost). Download the plugin at https://syscy.de/downloads/SpellTest.jar
View SpellTestPlugin.java
package de.syscy.spelltest;
import java.util.Collection;
import org.bukkit.Location;
import org.bukkit.Particle;
import org.bukkit.World;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
View keybase.md

Keybase proof

I hereby claim:

  • I am Kage0x3B on github.
  • I am kage0x3b (https://keybase.io/kage0x3b) on keybase.
  • I have a public key whose fingerprint is 1EB4 F451 A58F B6CB 7400 CF6B C9BD 3AEB EE31 9902

To claim this, I am signing this object:

@Kage0x3B
Kage0x3B / about.md
Last active Feb 21, 2016 — forked from blaix/about.md
Programming Achievements: How to Level Up as a Developer
View about.md

Programming Achievements: How to Level Up as a Developer

  1. Select a particular experience to pursue.
  2. Pursue that experience to completion. (Achievement unlocked!)
  3. Reflect on that experience. Really soak it in. Maybe a blog post would be in order?
  4. Return to Step 1, this time selecting a new experience.

This gist is a fork of the gist from this blog post.