Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active May 31, 2016 05:52
Show Gist options
  • Save kjunichi/ca3ed5de5895eed801ecb01c030e3dc5 to your computer and use it in GitHub Desktop.
Save kjunichi/ca3ed5de5895eed801ecb01c030e3dc5 to your computer and use it in GitHub Desktop.
2016/5/31

IISで特定の通信先をプロキシ除外する

<system.net>
  <defaultProxy>
    <proxy usesystemdefault="false" proxyaddress="http://192.168.0.1:8080" bypassonlocal="true" />
    <bypasslist>
      <add address="hostname.local.lan" />
      <add address="192.168.1.11" />
    </bypasslist>
  </defaultProxy>
</system.net>

VBScriptでおれおれ証明書に対応

Set xmlHttp = CreateObject("Msxml2.ServerXMLHTTP")
xmlHttp.setOption 2, 13056
xmlHttp.open "GET", "https://192.168.0.1/"
xmlHttp.send
wscript.echo xmlHttp.responseText

volatileキーワード

volatileの目的は,黙っていると処理系で行われる最適化を抑止する

selectシステムコールの戻り値

成功した場合、 更新された 3 つのディスクリプタ集合に含まれている ファイルディスクリプタの数 (つまり、 readfds , writefds , exceptfds 中の 1 になっているビットの総数) を返す。 何も起こらずに時間切れになった場合、 ディスクリプタの数は 0 になることもある。 エラーならば -1 を返し、 errno に適切な値が設定される

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment