This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.daniel.panama; | |
import java.lang.foreign.*; | |
import java.lang.invoke.MethodHandle; | |
public class PanamaMain { | |
public static void main(String[] args) throws Throwable { | |
Linker linker = Linker.nativeLinker(); | |
SymbolLookup libc = linker.defaultLookup(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar.css made available under Mozilla Public License v. 2.0 | |
See the above repository for updates as well as full license text. */ | |
/* Hides tabs toolbar */ | |
/* For OSX use hide_tabs_toolbar_osx.css instead */ | |
/* Note, if you have either native titlebar or menubar enabled, then you don't really need this style. | |
* In those cases you can just use: #TabsToolbar{ visibility: collapse !important } | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.danny.shop.inv | |
import org.bukkit.event.inventory.InventoryClickEvent | |
import java.util.function.Supplier | |
//Built with ChordBuilder for convenience | |
//Represents a "chorded" action in a menu that keeps state between clicks | |
class Chord<T>( | |
//The actions to take at each step | |
//Actions increment by one when the previous action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", | |
"terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", | |
"editor.fontFamily": "Cascadia Code, Consolas, 'Courier New', monospace", | |
"rust.wait_to_build": 10, | |
"rust.show_hover_context": false, | |
"workbench.colorTheme": "Base16 Dark Google", | |
"launch": { | |
"version": "0.2.0", | |
"configurations": [{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: This version is for 1.8.8 | |
:: If you're using a modern version of paper, use the other scripts | |
:: Changes: | |
:: patched_%mc_ver%.jar -> patched.jar | |
:: paper main class changed to com.destroystokyo.paperclip.Paperclip | |
@echo off | |
setlocal enabledelayedexpansion | |
:: Paper + Kotlin loader by Danny |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read LINE; do | |
IFS=',' read -ra ARR <<< "$LINE" | |
filename="${ARR[0]}.js" | |
effect="${ARR[2]}" | |
duration="${ARR[3]}" | |
amp="${ARR[4]//$'\r'}" | |
cat > "$filename" << EOF | |
var DonorPlayer = Java.type('org.realcodingteam.plan9.data.DonorPlayer'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 103003e73788d85c14d9491eaad6d3b50a75278d Mon Sep 17 00:00:00 2001 | |
From: dashaw92 <dashaw92@gmail.com> | |
Date: Sun, 28 Jul 2019 19:41:33 -0400 | |
Subject: [PATCH] Updated to 1.14 | |
--- | |
.gitignore | 4 + | |
pom.xml | 391 +++++++----------- | |
.../vanish/VanishAnnounceManipulator.java | 23 +- | |
.../java/org/kitteh/vanish/VanishManager.java | 17 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"alwaysShowTabs" : true, | |
"defaultProfile" : "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"initialCols" : 120, | |
"initialRows" : 35, | |
"initialPosition" : "450, 250", | |
"tabWidthMode": "titleLength", | |
"keybindings" : | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'idea' | |
id 'org.jetbrains.kotlin.jvm' version '1.3.0' | |
id 'com.github.johnrengelman.shadow' version '2.0.4' | |
} | |
group 'me.daniel' | |
version '1.0' | |
//vars (CHANGE ME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java | |
index e6c41a98..8897b6b5 100644 | |
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java | |
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java | |
@@ -11,6 +11,9 @@ import java.math.BigDecimal; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Locale; | |
+import java.util.Map; | |
+import java.util.HashMap; |
NewerOlder