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
foreach(var v in Enumerable.Range(1,100)){Console.WriteLine(v%15==0?"FizzBuzz":v%3==0?"Fizz":v%5==0?"Buzz":v.ToString());} |
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.Linq; | |
class T | |
{ | |
public static void Main() | |
{ | |
var s = ""; var r = new Random(); int i=0; | |
Console.WriteLine(Enumerable.Range(0, 10000).ToList().All(x => | |
{ i = x; var c = "おちんぽ"[r.Next(4)]; Console.Write(c); |
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
@Override | |
public void onStatus(Status status) | |
{ | |
long UserID = StatusUtils.getOwner(status).getId(); | |
String UserSN = StatusUtils.getOwner(status).getScreenName(); | |
if(StatusUtils.isnRetweet(status) && StatusUtils.isFromJavatter(status)) | |
{ | |
if(JosouBusterUtil.isEnemyTweet(status)) //ワンチャンセックスハードッコイ | |
{ | |
System.out.println("Enemy Appeared."); |
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.Linq; | |
class T | |
{ | |
public static void Main() | |
{ | |
var s = ""; var r = new Random(); int i = 0; var q = "らこらこらこ~w"; | |
Console.WriteLine(Enumerable.Range(1, 1000000).ToList().All(x => | |
{ |
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 net.minecraft.src.nucleareal; | |
import java.util.List; | |
public class UtilList | |
{ | |
public static <T> int getLimitOrder(List<T> nextList, INumberCreator<T> order, int sign) | |
{ | |
int now = order.getValue(nextList.get(0)) * sign; | |
for(T element : nextList) |
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 final boolean isDebug = true; | |
public static final String SPX = isDebug ? "net.minecraft.src." : ""; | |
public static final String CSD = SPX + "nucleareal.animalcrossing.client.ClientProxy"; | |
public static final String SSD = SPX + "nucleareal.animalcrossing.CommonProxy"; | |
@SidedProxy(clientSide = CSD, serverSide = SSD) | |
public static CommonProxy proxy; |
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 net.minecraft.src.nucleareal; | |
import java.io.File; | |
import cpw.mods.fml.common.event.FMLPreInitializationEvent; | |
import net.minecraftforge.common.Configuration; | |
public class ConfigurationCreator | |
{ |
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
11 16, 2013 1:23:52 午後 net.minecraft.launchwrapper.LogWrapper log | |
情報: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker | |
2013-11-16 13:23:52 [情報] [ForgeModLoader] Forge Mod Loader version 6.2.62.871 for Minecraft 1.6.2 loading | |
2013-11-16 13:23:52 [情報] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_15, running on Windows 7:amd64:6.1, installed at D:\pleiades\eclipse\jre | |
2013-11-16 13:23:52 [情報] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation | |
2013-11-16 13:23:53 [情報] [STDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg | |
2013-11-16 13:23:53 [情報] [STDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg | |
2013-11-16 13:23:53 [SEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! | |
2013-11-16 13:23:54 [情報] [ForgeModLoader] Launching wrapped minecraft | |
2013-11-16 13:23:55 [情報] [Minecra |
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 Control.Applicative | |
import Data.Char | |
import Data.List | |
split :: (a -> Bool) -> [a] -> [[a]] | |
split p [] = [] | |
split p xs = a : (split p $ dropWhile p $ b) where (a, b) = break p xs | |
splitBySpace :: String -> [String] | |
splitBySpace = split isSpace |
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 Data.Array | |
import Control.Monad | |
main = do | |
let arr = array (0, 99999) [(i, 0) | i <- [0..99999]] | |
forM [0..99999] (\i -> do | |
let new = arr // [(i, i)] | |
putStrLn . show $ new!i) |