View DnsLookup.cs
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
/// <summary> | |
/// DNSへの問い合わせクラス | |
/// </summary> | |
public class DnsLookup | |
{ | |
/// <summary> | |
/// DNSへ問い合わせを行いSRVレコードとAレコードからサービスのホストを取得します。 | |
/// </summary> | |
/// <param name="lookupName">問い合わせを行うSRVレコードに対応したNamespace</param> | |
/// <returns><see cref="ServiceHost"/></returns> |
View leaflet-sample-1-1
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>leafletサンプル</title> | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css" > | |
<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"></script> | |
</head> | |
<body> | |
<div id="mapid" style="height: 400px; width: 600px;"></div> |
View userdict.txt
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
# Custom segmentation for long entries | |
日本経済新聞,日本 経済 新聞,ニホン ケイザイ シンブン,カスタム名詞 | |
関西国際空港,関西 国際 空港,カンサイ コクサイ クウコウ,テスト名詞 | |
# Custom reading for sumo wrestler | |
朝青龍,朝青龍,アサショウリュウ,カスタム人名 | |
# Silly entry: | |
abcd,a b cd,foo1 foo2 foo3,bar | |
abcdefg,ab cd efg,foo1 foo2 foo4,bar |
View Program.cs
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.Diagnostics; | |
using System.IO; | |
using System.Text; | |
using Lucene.Net.Analysis; | |
using Lucene.Net.Analysis.Ja; | |
using Lucene.Net.Analysis.Ja.Dict; | |
using Lucene.Net.Analysis.Ja.TokenAttributes; | |
using Lucene.Net.Analysis.TokenAttributes; |
View leaflet_numbered_markers.css
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
.leaflet-div-icon { | |
background: transparent; | |
border: none; | |
} | |
.leaflet-marker-icon .number{ | |
position: relative; | |
top: -37px; | |
font-size: 12px; | |
width: 25px; |
View 都道府県コードののHash
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
const prefCodes = { | |
"北海道": "01", | |
"青森県": "02", | |
"岩手県": "03", | |
"宮城県": "04", | |
"秋田県": "05", | |
"山形県": "06", | |
"福島県": "07", | |
"茨城県": "08", | |
"栃木県": "09", |
View 都道府県コード
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
北海道 01 | |
青森県 02 | |
岩手県 03 | |
宮城県 04 | |
秋田県 05 | |
山形県 06 | |
福島県 07 | |
茨城県 08 | |
栃木県 09 | |
群馬県 10 |
View gist:3ff71cf9a1f11755e7ad3f16fe88ad5f
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
# ローカルの変更を破棄する | |
git checkout file_name | |
# 追加したファイルをstageから削除する | |
git revert file_name | |
# ファイルをバージョン管理から外す | |
git rm --cached file_name |
View gist:d3cf036f0e215d5b202ed67bc6dee90e
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
https://github.com/splhack/macvim-kaoriya/issues/26 |
View dein.toml
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
# 基本は github.com のレポジトリーを指定するだけ | |
[[plugins]] | |
repo = 'Shougo/dein.vim' | |
[[plugins]] | |
repo = 'Shougo/vimproc.vim' | |
[[plugins]] | |
repo = 'delphinus35/typescript-vim' | |
rev = 'colorize-template-strings' |
NewerOlder