Excell プルダウンリスト
Excel プルダウンリスト
データタブ => データの入力規則 => データの入力規則 => 設定タブ => 全ての値 => リスト => コンマ区切りで入力 — (A)
バリエーション
(A) の部分
- シート範囲指定
- 名前で指定。
- Indirect()
名前の設定方法
数式 => 名前の定義 => 名前の定義
参考
PPPoE
PPPoE
PPPoEは二つのセッションに別れる。
- Discovery
- PPP
Discovery
ここでは、PPPoE Active Discovery パケットがやり取りされる。本パケットには、下記のものがある。
- PADI. : Initialize
- PDO. : Offer
- PADR : Request
- PADS : Session-Confirmation
PPP
PPPセッションは、4段階からなる。
- LCP調整 : Link Control Protocol
- 認証 : Pap or Chap
- IPCP : IPアドレス付与
- PPP通信 : 通信
最後のPPP通信段階が通常の通信状態である。
参考
EtherIP/IPsec
EtherIP/IPsec
Softether + IX2000シリーズ。
- ike mode aggressive
- ipsec mode tunnel
- ike id 入力値
pre-shared-key 入力値
peer se側 恐らくany
- peer ix側 seのIP
nat traversal on
ike aes / sha DH group2/ 1024bit
- ipsec aes/sha
パケット
- 元 eth ip0 payload
- eip: ip1 eip eth ip0 payload
- eip/tunnel ip2 esp ip1 eip eth ip0
- eip/natt ip2 udp esp ip1 eip eth ip0
ip2 = peer ip1 = ??? ip0 = private
使用ポート
参考
Windows Installer作成ツール
Windows Installer作成ツール
主なツールは下記の通り。
- WiX Toolset
- Inno Setup
- Nullsoft Scriptable Install System (NSIS)
WiXのみ、WindowsInstallの仕組みを利用している。
WiXが難しそうなので、トライして撃退されたらInno Setupが良さそうな雰囲気。取り敢えず、3つを調べた上で最終的に採用するものを決める。
参考
http://wix-tutorial-ja.github.io/preface.html
wix 使い方
https://codezine.jp/article/detail/428
PowerShell Action delegate
PowerShell Action delegate
Action/Funcはdelegate型
- Action : 戻り値なし、引数なし。
- Action
: 戻り値なし、引数1 - Func<T,TResult: 戻り値1,引数1
PowerShellでは
- [action]
- [action[int]]
- [func[int][int]] ?
- or func[int,int]] ?
Funcの例
Func<T,TResult>
using System; public class GenericFunc { public static void Main() { // Instantiate delegate to reference UppercaseString method Func<string, string> convertMethod = UppercaseString; string name = "Dakota"; // Use delegate instance to call UppercaseString method Console.WriteLine(convertMethod(name)); } private static string UppercaseString(string inputString) { return inputString.ToUpper(); } }
参考
http://stackoverflow.com/questions/19849848/powershell-how-to-create-a-delegate
System.Action
https://msdn.microsoft.com/ja-jp/library/system.action(v=vs.110).aspx
System.Action
https://msdn.microsoft.com/ja-jp/library/018hxwa8(v=vs.110).aspx
System.Func<T,TResult>
https://msdn.microsoft.com/ja-jp/library/bb549151(v=vs.110).aspx
wpf messagebox
wpf messagebox
- Show(msg)
- Show(msg,caption)
参考