リモート視聴対応 BD レコーダーを試してみた
主旨
Sony の BD レコーダー (BDZ-EW1100) を買ったのでリモート視聴を試してみた.
設定方法は以下を参照
スマートフォン/タブレットを使った連携機能と、その設定・操作方法 (TV SideView) | 使いかたマニュアル | ブルーレイディスク / DVDレコーダー | サポート・お問い合わせ | ソニー]
※ 私の環境では,ファームウェアアップデート後に「リセット」しないと,テレビ視聴ができるようにならなかった.
所感 (あくまで主観です)
「家庭内モードでも多少の遅れ(5秒前後)」と「たまにフリーズ」があるが,画質などは気にならない程度に快適.
出張が多いときなど,これで MX 難民にならずみ済みそうである.
X Window System で VPS から X を飛ばす
概要
<作成中>
VPS 側の設定
- 以下をインストール
# yum groupinstall "X Window System"
- sshd の設定をする
# emacs /etc/ssh/sshd_config ----- sshd_config に設定する内容 ----- X11Forwarding yes ----------------------------------
クライアント側の設定
- ssh の設定をする
$ emacs ~/.ssh/config ----- config に設定する内容 ----- ForwardX11 yes -----------------------------
Mavericks で wchar.h がないと言われコンパイルできなくなった
サンプルコード
- サンプルコード
//main.cpp #include <iostream> int main(void){ return 0; }
- コンパイル結果
$ g++-mp-4.8 main.cpp In file included from /opt/local/include/gcc48/c++/bits/postypes.h:40:0, from /opt/local/include/gcc48/c++/iosfwd:40, from /opt/local/include/gcc48/c++/ios:38, from /opt/local/include/gcc48/c++/ostream:38, from /opt/local/include/gcc48/c++/iostream:39, from main.cpp:1: /opt/local/include/gcc48/c++/cwchar:44:19: fatal error: wchar.h: No such file or directory #include <wchar.h> ^ compilation terminated.
解決方法
以下を実行する
$ xcode-select --install
Mavericks に port で gdb をインストール
手順
(1) port で gdb をインストール
# port install gdb
(2) port のログをみると以下のメッセージがあるはず
You will need to make sure /System/Library/LaunchDaemons/com.apple.taskgated.plist has the '-p' option, e.g. <key>ProgramArguments</key> <array> <string>/usr/libexec/taskgated</string> <string>-sp</string> </array>
(3) 上述のメッセージにしたがって,com.apple.taskgated.plist を編集
$ sudo emacs /System/Library/LaunchDaemons/com.apple.taskgated.plist #など
# 私の環境では string タブが -s となっていたので p を付与
(4) PC を再起動する
(5) インストールできたか確認する
$ which ggdb
(6) 試しに動かしてみる
$ ggdb ./a.out
ALMinium をインストールした際の参考資料
インストール方法
# git clone https://github.com/alminium/alminium.git cd alminium ./smelt
Windows における DNS キャッシュの削除方法
Windows Server 2012 のリソースメータリング
概要
Windows Server 2012 では PowerShell を用いることで,仮想マシンのリソース情報の取得 (リソースメータリング) が使用できる.
コマンド
- リソースメータリングを有効にする
> Enable-VMResourceMetering -VMname <仮想マシン>
- レポート表示
> Measure-VM -Name <仮想マシン>
- リセット
> Reset-VMResourceMetering -VMname <仮想マシン>
- リソースメータリングを無効にする
> Disable-VMResourceMetering -VMname <仮想マシン>