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
import sun.misc.Unsafe; | |
import java.lang.reflect.Field; | |
public class BooleanMagic { | |
private static void doImpossibleBool() { | |
boolean impossible = ImpossibleBool.IMPOSSIBLE_BOOL; | |
if (impossible == true) { | |
System.out.println("Value was true"); | |
} else if (impossible == false) { |
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
```ansi | |
[1;37;45m Discord ANSI Chart [0m | |
[1mEscape Char:[0m \u001B, aka: | |
[1mFormat :[0m ESC[1;31;40mBold Red Text on TealESC[0m | |
[1mExample :[0m [1;31;40mBold Red Text on Teal[0m | |
Code │ Regular: 0 │ Bold: 1 │ Underline: 4 | |
─────┼────────────┼────────────┼───────────── | |
30 │ [0;30mGray [0m │ [1;30mGray [0m │ [4;30mGray [0m |
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
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Scanner; | |
import java.util.regex.Pattern; | |
public class CalculatorGameSolver { | |
// Given a single action input (e.x. "1=>5"), returns the appropriate action for that input | |
public static Action parseAction(String input) { | |
if (input.matches("\\d+")) { | |
// e.x.: 12 |
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
# [PackageDev] target_format: plist, ext: tmLanguage | |
name: Minecraft Addon | |
scopeName: source.mcaddon | |
fileTypes: [] | |
uuid: a0c7e4ae-079d-4d09-9b1d-5379c586f67a | |
patterns: | |
- include: '#value' | |
repository: |
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
{ | |
"aigoals": { | |
"versions": [ | |
{ | |
"description": "Enables | Disables Drawing AI Goals", | |
"permission": "any", | |
"overloads": { | |
"default": { | |
"input": { |
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
/* | |
* I release this code into the public domain. | |
*/ | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.nio.ByteBuffer; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.BitSet; |
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
{ | |
"closewebsocket": { | |
"versions": [ | |
{ | |
"description": "commands.closewebsocket.description", | |
"permission": "any", | |
"is_hidden": true, | |
"overloads": { | |
"default": { |
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
<html><head> | |
<script type="text/javascript"> | |
var URLSRequested = []; | |
var FilesAccessed = []; | |
var APICalls = []; | |
// If true, the analyzer displays an alert box whenever the script calls WScript.echo | |
// If false, the analyzer prints the echo message to console | |
var AlertEchos = false; |
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 is a basic example of a global chatroom for Minecraft PE/Win10 made | |
* using the Pocket Edition WebSocket API. | |
*/ | |
import java.io.IOException; | |
import java.net.InetAddress; | |
import java.net.InetSocketAddress; | |
import java.net.UnknownHostException; | |
import java.util.Collection; |
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
{ | |
"body": { | |
"input": { | |
"message": "Hello World" | |
}, | |
"origin": { | |
"type": "player" | |
}, | |
"name": "say", | |
"version": 1, |
NewerOlder