This file contains hidden or 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.github.masahitojp; | |
/* | |
This program based on Apache Lucene入門 | |
*/ | |
import org.apache.lucene.analysis.Analyzer; | |
import org.apache.lucene.analysis.ja.JapaneseAnalyzer; | |
import org.apache.lucene.document.Document; | |
import org.apache.lucene.document.Field; |
http://www.soum.co.jp/misc/toza/apache-solr/ https://cwiki.apache.org/confluence/display/solr/Analyzers http://d.hatena.ne.jp/knaka20blue/20131211/1386736097 http://lucene.apache.org/core/4_0_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilter.html#SPLIT_ON_CASE_CHANGE http://stackoverflow.com/questions/40744020/solr-doesnt-suggest-names-with-dot-inside http://stackoverflow.com/questions/4975229/schema-xml-configuration-for-file-names
This file contains hidden or 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.github.masahitojp; | |
import com.github.masahitojp.provider.ClockProvider; | |
import com.google.inject.AbstractModule; | |
import com.google.inject.Guice; | |
import com.google.inject.Injector; | |
import org.junit.Before; | |
import org.junit.Test; | |
import java.time.Clock; |
[url=https://flic.kr/p/fACbfD][img]https://c2.staticflickr.com/4/3730/9580814137_0b314c491d_z.jpg[/img][/url][url=https://flic.kr/p/fACbfD]who can zen better than cats?[/url] by [url=https://www.flickr.com/photos/h-studio/]targut[/url], on Flickr
This file contains hidden or 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
$ python3 ppap.py | |
🍎✒✒🍎🍎✒🍎🍎🍍🍎✒✒🍎✒✒✒✒🍎✒✒🍎🍎✒✒✒🍎✒✒🍍🍎✒Pen Pineapple Apple Pen |
aaa yay
This file contains hidden or 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
const targetData = [0,[1,[2,[3,[4,5,5],[4,5,5]],3],[2,[3,[4,5,5],[4,5,5]],[3,4,[4,5,5]]]],[1,[2,[3,[4,5,5],[4,5,5]],3],[2,[3,[4,5,5],[4,5,5]],3]]]; | |
function setKey(o, key) { | |
const obj = Object.assign({}, o) | |
const str = JSON.stringify(key); | |
if (str in obj) { | |
obj[str] += 1; | |
} else { | |
obj[str] = 1; | |
} |
This file contains hidden or 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
scalaVersion := "2.11.8" | |
val scalazVersion = "7.2.4" | |
libraryDependencies ++= Seq( | |
"org.scalaz" %% "scalaz-core" % scalazVersion, | |
"org.scalaz" %% "scalaz-effect" % scalazVersion, | |
"org.scalaz" %% "scalaz-scalacheck-binding" % scalazVersion % "test" | |
) |