This file contains hidden or 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
| <?php | |
| /** | |
| * Copyright (c) 2024 tehbeard | |
| * | |
| * 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 copies or substantial portions of the Software. |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>GameMaker 7/8.1 GEX decompiler</title> | |
| </head> | |
| <body> | |
| <h1>GameMaker 7/8.1 GEX decompiler</h1> | |
| <p> |
This file contains hidden or 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
| <?php | |
| /* | |
| RCON remote console class, modified for minecraft compability by Tehbeard. | |
| !!!YOU MUST CONFIGURE RCON ON YOUR MINECRAFT SERVER FOR THIS TO WORK | |
| AT TIME OF WRITING ONLY 1.9pr4+ HAVE BUILTIN RCON SUPPORT!!! | |
| Example Code: | |
| ============ | |
| include_once("rcon.class.php"); //Include this file |
This file contains hidden or 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
| <?php | |
| /* | |
| Function to test a class type against a potentially complex type | |
| Should handle Disjunctive Normal Form Types as well (A&B)|C|null | |
| */ | |
| function matchesType(string $class, ReflectionNamedType|ReflectionIntersectionType|ReflectionUnionType $type): bool | |
| { | |
| if ($type instanceof ReflectionNamedType) { | |
| return is_a($class, $type->getName(), true); | |
| } else if ($type instanceof ReflectionIntersectionType) { |
This file contains hidden or 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 { openDB, IDBPDatabase, DBSchema, IDBPTransaction,IDBCursorDirection } from "idb/with-async-ittr"; | |
| import { stemmer } from "./stemmer"; | |
| const TBL_ENTRY = "FTSEntry"; | |
| const IDX_BY_SCORE = "byScore"; | |
| const IDX_BY_DOC_ID = "byDocId"; | |
| type FTSEntry = { id: any, word: string , count: number }; | |
| interface FullTextSchema extends DBSchema { |
This file contains hidden or 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
| minecraft:identifier | |
| minecraft:collision_box | |
| minecraft:projectile | |
| minecraft:type_family | |
| minecraft:fall_damage | |
| minecraft:movement | |
| minecraft:health | |
| minecraft:nameable | |
| minecraft:loot | |
| minecraft:attack |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Minecraft heads using Canvas 2D</title> | |
| <script src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js'></script> | |
| <style> | |
| canvas{ | |
| width: 320px; | |
| height: 320px; | |
| /*border: 2px solid black;*/ |
This file contains hidden or 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
| Trying to understand generators and yield, and create a listRefs() implementation for file backed repos. |
This file contains hidden or 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
| 2013-11-27 16:21:34 [INFO] [BeardAch] Loading Data Adapters | |
| 2013-11-27 16:21:35 [INFO] [BeardAch] Installing default triggers and rewards | |
| 2013-11-27 16:21:35 [WARNING] [BeardAch] [counter] Increment counter depends on BeardStat which is not found, this reward has been disabled. This may cause errors if an achievement is built using this. | |
| 2013-11-27 16:21:35 [WARNING] [BeardAch] [subgroup] (DroxPerms) add subgroup depends on DroxPerms which is not found, this reward has been disabled. This may cause errors if an achievement is built using this. | |
| 2013-11-27 16:21:35 [WARNING] [BeardAch] [promote] (DroxPerms) Promote along track depends on DroxPerms which is not found, this reward has been disabled. This may cause errors if an achievement is built using this. | |
| 2013-11-27 16:21:35 [WARNING] [BeardAch] [money] (vault) Give money depends on Vault which is not found, this reward has been disabled. This may cause errors if an achievement is built using this. | |
| 2013-11-27 16:21:35 [WARNING] [BeardAch] [vaultaddgroup] (Vau |
This file contains hidden or 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
| public class PasteCommand extends CommandBase { | |
| private final SchematicFile schFile; | |
| public PasteCommand(SchematicFile schFile) { | |
| this.schFile = schFile; | |
| } | |
| @Override | |
| public String getCommandName() { |
NewerOlder