void Main()
{
// Write code to test your extensions here. Press F5 to compile and run.
string file = @"fileName.txt";
string regex = @"[/\w]+/execute";
foreach(var item in MyExt.RegExFromFile(file, regex).Distinct())
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
/* | |
dotnet new console | |
dotnet add package DotNetZip | |
edit Program.cs | |
dotnet run [zip FileName] | |
*/ | |
var zip = new Ionic.Zip.ZipFile(args[0], System.Text.Encoding.UTF8); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
非同期でユーザに情報を通知するための仕組みの実装 | |
--- | |
SignalR 用のライブラリ追加 | |
Startup.cs | |
// SignalR 定義追加 | |
services.AddSignalR(); | |
// SignalR の エンドポイント追加 |
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 difftool で WinMerge.exe を使う方法 | |
C:\Users\[ユーザ名]\git\.gitconfig ファイルに 以下の定義を追加する。 | |
git difftool --dir-diff とすると、複数の差分が一覧表示されるので非常に便利。 | |
[diff] | |
tool = winmerge | |
[difftool "winmerge"] | |
path = 'C:/Program Files/WinMerge/WinMergeU.exe' | |
cmd = 'C:/Program Files/WinMerge/WinMergeU.exe' -r -u \"$LOCAL\" \"$REMOTE\" |
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
copype x86 C:\winpe_x86 | |
dism /mount-wim /wimfile:"C:\winpe_x86\media\sources\boot.wim" /index:1 /mountdir:"C:\winpe_x86\mount" |