- https://github.com/n-fukuju/degithoth/
- content://abc/
- app://abc.net/
- https://ocnk.net/
- https://admin33.ocnk.net/
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
# 16進数文字列で出力 | |
(100).ToString("X") | |
# => 64 | |
# 16進数から10進数文字列に変換 | |
[Convert]::ToString(0x64, 10) | |
# => 100 | |
[Convert]::ToString("0x64", 10) | |
# => 100 |
Windows 8.1 Pro
Visual Studio 2015 Community(非エンタープライズ向け無償版)
https://www.visualstudio.com/vs-2015-product-editions
OpenCV本体と、OpenCvSharpのバージョンを合わせるため、OpenCvSharpのバージョンを確認する。
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
・Redmineソースコード(基本的には最新版) | |
http://www.redmine.org/projects/redmine/wiki/Download | |
・Ruby言語 + Ruby on Rails(実行環境、RailsInstallerはGit同梱) | |
http://railsinstaller.org/en | |
・SQLite(データベース。MySQL入れると管理が面倒なので) | |
(program filesとかに置いて、PATHに追記する) | |
http://www.sqlite.org/2014/sqlite-shell-win32-x86-3080600.zip | |
・IIS(Webサーバ。Apache入れると管理が面倒なので) | |
・IIS Application Request Routing |
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
[void][Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | |
$form = New-Object System.Windows.Forms.Form | |
$form.StartPosition = [Windows.Forms.FormStartPosition]::CenterScreen | |
$button = New-Object System.Windows.Forms.Button | |
$button.Text = "Exit" | |
$button.Add_Click({ $form.Close() }) # <= これ | |
$form.Controls.Add($button) |
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
# [int] カレントパスのフォルダサイズ | |
(Get-ChildItem -Recurse -Force | Measure-Object -Sum Length).Sum | |
# [string, int][] カレントパス配下に存在する各フォルダのサイズ | |
Get-ChildItem | Select-Object Name,@{name="Size";expression={(Get-ChildItem $_.FullName -Recurse -Force | Measure-Object Length -Sum).Sum}} |
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
$target = "対象のホスト名か、IPアドレス" | |
$logonUser = (Get-WmiObject Win32_ComputerSystem -ComputerName $target).UserName | |
# リモートアクセスの資格情報を明示的に指定する場合 | |
$admin = "ユーザ名" | |
$pass = "パスワード" | |
$securePass = ConvertTo-SecureString -String $pass -AsPlainText -Force | |
$credential = New-Object System.Management.Automation.PSCredential($admin, $securePass) | |
# コンソールから入力するなら、PromptForCredentialを使った方が楽 |
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
$header = @" | |
プログレスバーサンプル | |
"@ | |
Write-Output $header | |
$loop = $true | |
while($loop){ |
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
$beforeLetter = "D" | |
$afterLetter = "E" | |
# ドライブのボリューム番号を取得。 | |
Write-Output "list volume" | DiskPart | ?{$_ -match ("Volume[ ]{1}(?<volume>\d)[ ]*"+ $beforeLetter)} | Out-Null | |
$volume = $Matches["volume"] | |
# ボリュームにドライブ文字を割り当てる。 | |
Write-Output ("select volume {0}`nassign letter={1}" -f $volume, $afterLetter) | DiskPart | Out-Null |