#include <stdio.h>
#include <stdlib.h>
#include <string.h>
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
https://github.com/syuchan1005/ItemStackRecipe |
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
/* | |
* 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 |
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
// 問題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. コンパイルエラー |
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
encode = 'ぱすすゃすに〜ぱすすにんん〜ぱすすにゃぱ〜ぱすすにゃに〜ぱすぱゃぱに〜ぱすぱゃんぱ〜ゃぱにゃすんん〜んにににゃすに〜んにんんにすぱ〜すにすんんゃゃ〜ゃんゃんゃぱぱ〜ゃんすすゃゃん〜んにゃにぱぱゃ〜ゃんにぱんにぱ〜ゃぱゃぱゃぱゃ〜ゃゃん〜ゃぱに〜んゃゃ〜ゃぱんゃににゃ〜ゃすす〜んにす〜ゃぱゃぱぱんに〜すにすんゃんぱ〜ゃぱすゃぱにに〜すにすんゃんす〜ゃすぱ〜んゃに〜ゃぱゃすんにぱ〜ゃすす〜んにん〜ゃゃぱんすすぱ〜んにに〜んにに〜ゃすすすんんゃ〜ゃぱゃ〜' | |
decode = encode.split('〜').map {|s| | |
[s.gsub(/に|ゃ|ん|ぱ|す/, | |
'に' => '0', | |
'ゃ' => '1', | |
'ん' => '2', | |
'ぱ' => '3', | |
'す' => '4') | |
.to_i(5) | |
].pack('U') |
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
class String | |
def moon_side | |
self.split('').shuffle.join | |
end | |
end | |
puts 'ムーンサイドへようこそ'.moon_side | |
# => イうへムそサこンーよド |
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 | |
# | |
# @(#) 起動時、終了時にバックアップを取ってくれるスティーブ | |
# Maintainer: 844196 | |
# Original: keepoff07 | |
# | |
set -e | |
steve_say() { |
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 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; |
NewerOlder