Skip to content

Instantly share code, notes, and snippets.

public void Combine2Tables()
{
var table1 = new List<DataClass>{
new DataClass { Kind = "Function", Name = "abc", File = @"qaz\wsx.cpp", Number=34 },
new DataClass { Kind = "Function", Name = "def", File = @"qaz\edc.cpp", Number=21},
new DataClass { Kind = "Private Function", Name="ghi", File = @"rfv\tgb.cpp", Number=39},
new DataClass { Kind = "Virtual Private Function", Name = "jklmn", File=@"yhn\ujm.h", Number=65}
};
var table2 = new List<DataClass>

発動!渾作戦

第一次渾作戦(E1)

編成

第一艦隊

艦名 艦種 Lv Slot1 Slot2 Slot3

AL作戦

E-1 北方AL海域へ進出せよ!

編成

艦名 艦種 Lv Slot 1 Slot 2 Slot 3 Slot 4
衣笠改二 重巡 68 20.3(3号) 20.3(3号) 零観 零観
熊野改 航巡 83 20.3(3号) 20.3(3号) 零観 三式弾
山城改 航戦 81 46cm 46cm 零観 零観
Z1改 駆逐艦 67 三式ソナー 三式爆雷 33電探 -
@hidari
hidari / HTML
Created July 20, 2013 00:06
Markdown,reStructured Text,HTMLのリンクをコピーするブックマークレット ref: http://qiita.com/HiDARi/items/ad9ebca87b8d0bf3143a
javascript:window.prompt('HTML', '<a href=\'' + location.href + '\' target=\'_blank\'>' + document.title + '</a>');void(0);
@hidari
hidari / start.bat
Created July 9, 2013 23:40
batからps1ファイルを実行するときのあれこれ ref: http://qiita.com/HiDARi/items/1d2595ff142883c3bac1
powershell Set-ExecutionPolicy RemoteSigned
powershell .\main.ps1
powershell Set-ExecutionPolicy Restricted
@hidari
hidari / add_command
Created July 8, 2013 03:41
Macで自作コマンドを使う方法 ref: http://qiita.com/HiDARi/items/a1fca8ab45bdd762ae52
# 実行権限を与える
chmod a+x file_name
# コマンド検索パスに保存.例えば
sudo cp file_name /usr/local/bin/file_name
# 確認
which file_name
@hidari
hidari / Invoke-JenkinsJob
Created July 7, 2013 23:42
PowerShellでJenkinsのビルドを実行する ref: http://qiita.com/HiDARi/items/4a1532d11ee3b42061a7
Invoke-WebRequest -Uri http://<YOUR_SERVER>/job/<TARGET_JOB>/build?token=<TOKEN_NAME>
@hidari
hidari / execute_cpplint.bat
Created April 23, 2013 00:33
Google C++ Coding Styleの適合しているかをチェックするスクリプト cpplint.py を実行するコマンド。 「copyright無いよ」っていう警告を無視するオプション付き。
python C:/CppLint/cpplint.py --filter=-legal/copyright PATH/TO/TARGET/DIRECTORY 2> PATH/TO/RESULT/DIRECTORY/cpplint_result.log
@hidari
hidari / sample_for_doxygen.cpp
Created April 21, 2013 05:04
Doxygenを使ってドキュメントを生成するためのサンプルコード.
/**
* namespace Example です.
*
* Exampleの詳細.
*/
namespace Examples{
/**
* A test class.
*
* A more elaborate class description.
$user = "domain\username"
$spass = ConvertTo-SecureString "password" -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential($user, $spass)
New-PSDrive -Name drivename -PSProvider FileSystem -Root \\REMOTE\ROOT -Credential $cred
Set-Location drivename:
$copyResults = Copy-Item -Path "drivename:\PATH\TO\SOURCE\*" -Destination "C:\PATH\TO\DESTINATION" -Exclude hoge.txt -Force -Recurse -PassThru
$copyResults