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
javascript:window.open('https://mail.google.com/mail/?view=cm&to=ここに送りたいメールアドレス', '_blank', 'width=1024,height=720'); |
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
private ImageIcon getIcon(){ | |
InputStream input = ClassLoader.getSystemResourceAsStream("circle.png"); | |
File f = null; | |
try { | |
f = new File(ClassLoader.getSystemResource("circle.png").toURI()); | |
} catch (URISyntaxException e) { | |
e.printStackTrace(); | |
} | |
if (input == null){ | |
return new ImageIcon(); |
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
/* | |
============================================================================ | |
Name : Task02.c | |
Author : tsuttsu305 | |
Version : 1.0.1 | |
Copyright : (C)2013 tsuttsu305 | |
Description : C, Ansi-style | |
============================================================================ | |
*/ |
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
public class Luna{ | |
public static void main(String[] args){ | |
while(true){ | |
System.out.println("ルナ様"); | |
} | |
} | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Net.Sockets; | |
namespace Study02 { | |
class Program { | |
static void Main(string[] args) { | |
using (TcpClient tcp = new TcpClient("127.0.0.1", 50000)) { |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
namespace Study01 { | |
class Program { | |
static void Main(string[] args) { | |
FileStream fs = null; |
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
@EventHandler | |
public void ch(PlayerChangedWorldEvent event){ | |
Player player = event.getPlayer(); | |
Location loc = player.getLocation(); | |
Block block = loc.getBlock(); | |
//↓こいつがPlayerの座標の一つ下のブロックを取得して格納する↓ | |
Block ans = block.getRelative(BlockFace.DOWN); | |
} |
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
public static byte[] toBytes(int i){ | |
byte[] b = new byte[4]; | |
b[3] = (byte)(0xff & (i >>> 0)); | |
b[2] = (byte)(0xff & (i >>> 8)); | |
b[1] = (byte)(0xff & (i >>> 16)); | |
b[0] = (byte)(0xff & (i >>> 24)); | |
return b; | |
} |
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
/** | |
* Test - Package: net.tsuttsu305.test | |
* Created: 2013/05/20 1:58:13 | |
*/ | |
package net.tsuttsu305.test; | |
import org.bukkit.plugin.java.JavaPlugin; | |
/** | |
* DeathSample (DeathSample.java) |
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.logging.Logger; | |
import org.bukkit.Location; | |
import org.bukkit.World; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.CommandSender; | |
import org.bukkit.entity.Player; | |
import org.bukkit.plugin.java.JavaPlugin; | |
/** |
NewerOlder