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 <I extends Item> I findItemByName(String targetName) | |
{ | |
if (!targetName.startsWith("item.")) | |
{ | |
targetName = "item." + targetName; | |
} | |
for (Item item : Item.itemsList) | |
{ | |
if (item == null || item.getItemName() == 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
{% if site.twitter_user %} | |
<section> | |
<h1>About Me</h1> | |
<div id="twitter-profile" style="margin-top:0.5em;"> | |
<p> | |
<strong>{{site.author}}</strong> | |
(<a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a>) | |
</p> | |
<p>Getting profile from Twitter...</p> | |
</div> |
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
<div class="sharing"> | |
{% if site.twitter_tweet_button %} | |
<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a> | |
{% endif %} | |
{% if site.hatena_bookmark_button %} | |
<a href="http://b.hatena.ne.jp/entry/{{ site.url }}{{ page.url }}" class="hatena-bookmark-button" data-hatena-bookmark-layout="simple-balloon" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a><script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script> | |
{% endif %} | |
{% if site.google_plus_one %} | |
<div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div> | |
{% endif %} |
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
{% unless page.no_header %} | |
<header> | |
{% if index %} | |
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1> | |
{% else %} | |
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1> | |
{% include post/sharing.html %} | |
{% endif %} | |
{% unless page.meta == false %} | |
<p class="meta"> |
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 Main { | |
public static main(String... args) { | |
Map<Integer, Map<Position, Box>> backingMap = Maps.newHashMap(); | |
Supplier<Map<Position, Box>> factory = newMapFactory(); | |
Table<Integer, Position, Box> table = Tables.newCustomTable(backingMap, factory); | |
Integer rowKey = 0; | |
Position columnKey = getPosition(); |
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
/* | |
* SpawnChecker | |
* | |
* (c) 2013 alalwww | |
* https://github.com/alalwww | |
* | |
* This mod is distributed under the terms of the Minecraft Mod Public License 1.0, or MMPL. | |
* Please check the contents of the license located in http://www.mod-buildcraft.com/MMPL-1.0.txt | |
* | |
* この MOD は、Minecraft Mod Public License (MMPL) 1.0 の条件のもとに配布されています。 |
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 abstract class AbstractShachiku implements Runnable | |
{ | |
protected asbtract void work(); | |
@Override | |
public final void run() | |
{ | |
syukkin(); | |
} |
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
<section style="position:relative"> | |
<h1>Twitter</h1> | |
<div style="position:absolute;top:0;right:16px"> | |
<a href="https://twitter.com/alalwww" class="twitter-follow-button" data-show-count="false" data-lang="ja" data-show-screen-name="false">Follow @alalwww</a> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
</div> | |
<div> | |
<a class="twitter-timeline" href="https://twitter.com/alalwww" data-widget-id="408658474638118912" data-chrome="noheader nofooter transparent" data-lang="ja">@alalwww からのツイート</a> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
</div> |
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
diff --git a/Rakefile b/Rakefile | |
index c2f2a78..f9188c8 100644 | |
--- a/Rakefile | |
+++ b/Rakefile | |
@@ -22,9 +22,10 @@ blog_index_dir = 'source' # directory for your blog's index page (if you put | |
deploy_dir = "_deploy" # deploy directory (for Github pages deployment) | |
stash_dir = "_stash" # directory to stash posts for speedy generation | |
posts_dir = "_posts" # directory for blog files | |
+posts_images_dir= "images/posts" | |
themes_dir = ".themes" # directory for blog files |
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 bbop; | |
import java.util.List; | |
import java.util.Random; | |
import com.google.common.collect.Lists; | |
public class BBOP | |
{ | |
static final String[] RANDOM_WORDS = { "ビ", "ビ", "ド", "レ", "ド", "オ", "ペ", "レ", "ショ" }; |
OlderNewer