tree command

Open Command Prompt (windows)

C:\> tree c:\hogehoge /f > d:\hogehoge_TreeList.txt

Useful !

Windows のコマンドプロンプトで、フォルダーのツリー構造をテキストに書き出すメモ。
これは便利!

Redirection to Log-in page

Before that, I did installed a plugin "
syntaxhighlighter" to make this notes.
If you set this plugin into V2.x then it looks easier to copy sources by clicking icon, but I set V3.x that is possible to control just by double clicking…. Selfish ?

OK now !

Top page redirection, e.g. members only "Alumni-site"

In “wp-blog-header.php”, insert lines blow just before “wp();”

  if (is_user_logged_in()){
  }
  else {
  auth_redirect();
  };

WordPress を会員専用サイトなどに使う時のリダイレクションのメモ。
ログイン画面に導きます。
その前に、ソースコードを記述するためのプラグインをインストールしなければ。