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
| def calculation(): | |
| for count in range(9999): | |
| if count < 3: | |
| continue | |
| if count % 2 == 0: | |
| continue | |
| answer = count * count - count | |
| if answer % 10000 == 0: | |
| print(count) |
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 | |
| class view{ | |
| private string $sauce; | |
| private array $variable; | |
| private string $tmp_name; | |
| public function __construct(string $tmp_name,string $sauce,array $variable){ | |
| $this->tmp_name = $tmp_name; | |
| $this->sauce = $sauce; |
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
| int buttonA = 8; | |
| int buttonB = 9; | |
| int buttonEB = 7; | |
| int speed = 9600; | |
| void setup() | |
| { | |
| Serial.begin(speed); |
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 | |
| $packet = new PlaySoundPacket(); | |
| $packet->x = $sender->x; | |
| $packet->y = $sender->y; | |
| $packet->z = $sender->z; | |
| $packet->volume = 10; | |
| $packet->pitch = 10; | |
| $packet->soundName = "guns1"; | |
| $player->sendDataPacket($packet); |
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 | |
| 'rename': | |
| $inventory = $sender->getInventory(); | |
| $item = $inventory->getItemInHand(); | |
| $index = $inventory->getHeldItemIndex(); | |
| $item->setCustomName($args[0]); | |
| $inventory->setItem($index, $item); | |
| return true; | |
| break; |
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
| name: tokyo | |
| main: apartkktrain\tokyo\Main ///Main.phpまでの | |
| version: 1.0.0 ///任意のver | |
| api: 3.12.0 //api | |
| auther: apartkktrain | |
| commands: | |
| hoge: | |
| description: コマンドの説明 | |
| usage: /hoge |
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 | |
| namespace KeepInventory\apartkktrain; | |
| use pocketmine\plugin\PluginBase; | |
| use pocketmine\event\Listener; | |
| use pocketmine\event\player\PlayerDeathEvent; | |
| class Main extends PluginBase implements Listener |
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
| class Main extends pluginBase implements Listener | |
| { | |
| public function onEnable() | |
| { | |
| $this->getLogger()->notice("MiningLevelforNametagの読み込み成功"); | |
| $this->getServer()->getPluginManager()->registerEvents($this, $this); | |
| } | |