コマンドブロックちゃんが喋ってる感じにしたかったけど、これじゃない感と見にくさが出てしまった。
― saveDefaultConfig()をkorose
GitHub(Gist含む)内のMarkdownでは、styleを適用できないので難しい
<table>
| package com.comphenix.example; | |
| import java.sql.Ref; | |
| import java.util.Collections; | |
| import java.util.UUID; | |
| import net.minecraft.util.io.netty.channel.Channel; | |
| import org.bukkit.Material; | |
| import org.bukkit.command.Command; |
| #!/bin/bash | |
| # | |
| # @(#) 起動時、終了時にバックアップを取ってくれるスティーブ | |
| # Maintainer: 844196 | |
| # Original: keepoff07 | |
| # | |
| set -e | |
| steve_say() { |
| class String | |
| def moon_side | |
| self.split('').shuffle.join | |
| end | |
| end | |
| puts 'ムーンサイドへようこそ'.moon_side | |
| # => イうへムそサこンーよド |
| encode = 'ぱすすゃすに〜ぱすすにんん〜ぱすすにゃぱ〜ぱすすにゃに〜ぱすぱゃぱに〜ぱすぱゃんぱ〜ゃぱにゃすんん〜んにににゃすに〜んにんんにすぱ〜すにすんんゃゃ〜ゃんゃんゃぱぱ〜ゃんすすゃゃん〜んにゃにぱぱゃ〜ゃんにぱんにぱ〜ゃぱゃぱゃぱゃ〜ゃゃん〜ゃぱに〜んゃゃ〜ゃぱんゃににゃ〜ゃすす〜んにす〜ゃぱゃぱぱんに〜すにすんゃんぱ〜ゃぱすゃぱにに〜すにすんゃんす〜ゃすぱ〜んゃに〜ゃぱゃすんにぱ〜ゃすす〜んにん〜ゃゃぱんすすぱ〜んにに〜んにに〜ゃすすすんんゃ〜ゃぱゃ〜' | |
| decode = encode.split('〜').map {|s| | |
| [s.gsub(/に|ゃ|ん|ぱ|す/, | |
| 'に' => '0', | |
| 'ゃ' => '1', | |
| 'ん' => '2', | |
| 'ぱ' => '3', | |
| 'す' => '4') | |
| .to_i(5) | |
| ].pack('U') |
| // 問題1 | |
| // 下記のコードを実行した時に、画面に表示される結果を、選択肢 A~D から一つ選べ。 | |
| LocalDate date = LocalDate.of(2015, 9, 31); | |
| date = date.plusDays(10); | |
| System.out.println(date); | |
| // A. 2015-10-10 | |
| // B. 2015-10-11 | |
| // C. 実行時にDateTimeExceptionが発生する | |
| // D. コンパイルエラー |
| /* | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2016 misterT2525 | |
| * | |
| * 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 |
| https://github.com/syuchan1005/ItemStackRecipe |