Google Apps の Gmail で alias を設定する
わりと奇怪な設定方法だったのでメモ
1. Google Apps にログインします。
2. User -> * -> Profile -> Alias
新しいメールアドレスを設定します。以降はこれを ALIAS とします。
3. Gmail にログインします。
4. Settings -> Accounts -> Send mail as -> Add another email address you own
Email address: ALIAS
Don't check "Treat as an alias."
5. 確認メールが送付されるので承認します。
受信はメインの POP3/IMAP アカウントで行えます (特に設定を追加/変更する必要はありません)。
5 で承認したので、smtp.gmail.com は ALIAS を from にしたメールを通します (SMTP アカウントはメインを使用します)。
MUA は例えば Thunderbird では、アカウント設定 -> top -> 差出人情報を管理 -> 追加 -> メールアドレス に ALIAS を指定して差出人を追加するだけで設定は完了します。
PuTTY で Ctrl+Tab, Ctrl+Shift+Tab を送信する
Using Ctrl+Tab in GNU Screen over PuTTYを参考に改造する。
バージョンが違うので windows/window.c の該当部分に追加した。
Compiling PuTTY for Windowsを参考に Ubuntu でビルドする。
できたバイナリ (PuTTY 0.63 Ctrl+Tab有効版)
tmux の設定
$ tee --append ~/.tmux.conf bind-key -n C-Tab next-window bind-key -n C-S-Tab previous-window
So-netとauひかりの話なんですが回線契約全般の話
おかしいこと色々
- Chrome for Windows での Alt+Tab の挙動 *1
- Chrome の profile の場所 (%LocalAppData% 下に作成する)
- Windows Server Backup でログにエラーが出力される *2
- robocopy でコピー先に hidden, system 属性が付与される *3
- Explorer の挙動全般
- %AppData%\Microsoft\Windows\Start Menu に %AllUsersProfile%\Microsoft\Windows\Start Menu に置くべきファイルが展開される (アプリを入れなくても Windows が Notepad だのを突っ込む)
- UAC がバックグラウンドで開く
- AMD Catalyst が Windows 8.1 Pro x64 でインストールできない
- マザーボード買い換えたら今更 USB 3.0 の相性問題 *4
- しかも Line out 端子のセンシングが働かないという地味な初期不良
`Updating a page's html content` has a minor mistakes.
Environments:
Python 2.7.3
gdata 2.0.17
Codes:
html = '<b>Your html content</b>' # old_entry.content.html = html # bad! old_entry.content = gdata.sites.data.Content(text=html) # correct! updated_entry = client.Update(old_entry)
[Ubuntu 12.04] sudo apt-get remove python
python-pip あるんですか!やったー!
python2.7 用じゃないすか!
やだー!
$ sudo apt-get remove python パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 以下のパッケージは「削除」されます: apparmor apport apt-xapian-index byobu command-not-found landscape-common language-selector-common lsb-release python python-apport python-apt python-chardet python-crypto python-dbus python-debian python-gdbm python-gi python-gnupginterface python-httplib2 python-keyring python-launchpadlib python-lazr.restfulclient python-lazr.uri python-newt python-oauth python-openssl python-pam python-pip python-pkg-resources python-problem-report python-serial python-setuptools python-simplejson python-twisted-bin python-twisted-core python-wadllib python-xapian python-zope.interface ubuntu-minimal ubuntu-standard ufw unattended-upgrades update-manager-core update-notifier-common アップグレード: 0 個、新規インストール: 0 個、削除: 44 個、保留: 25 個。 この操作後に 28.7 MB のディスク容量が解放されます。 続行しますか [Y/n]? y (データベースを読み込んでいます ... 現在 116169 個のファイルとディレクトリがインストールされています。) apparmor を削除しています ... * Clearing AppArmor profiles cache [ OK ] All profile caches have been cleared, but no profiles have been unloaded. Unloading profiles will leave already running processes permanently unconfined, which can lead to unexpected situations. To set a process to complain mode, use the command line tool 'aa-complain'. To really tear down all profiles, run the init script with the 'teardown' option." apport を削除しています ... apport stop/waiting apt-xapian-index を削除しています ... Removing index /var/lib/apt-xapian-index... byobu を削除しています ... command-not-found を削除しています ... landscape-common を削除しています ... ubuntu-standard を削除しています ... language-selector-common を削除しています ... python-apport を削除しています ... update-manager-core を削除しています ... unattended-upgrades を削除しています ... ubuntu-minimal を削除しています ... lsb-release を削除しています ... update-notifier-common を削除しています ... python-problem-report を削除しています ... python-gi を削除しています ... python-crypto を削除しています ... python-pip を削除しています ... ufw を削除しています ... python-twisted-core を削除しています ... python-launchpadlib を削除しています ... python-lazr.restfulclient を削除しています ... python-zope.interface を削除しています ... python-xapian を削除しています ... python-wadllib を削除しています ... python-twisted-bin を削除しています ... python-simplejson を削除しています ... python-setuptools を削除しています ... python-serial を削除しています ... python-lazr.uri を削除しています ... E: namespace:121: cannot remove /usr/lib/python2.7/dist-packages/lazr/__init__.py python-pkg-resources を削除しています ... python-pam を削除しています ... python-openssl を削除しています ... python-oauth を削除しています ... python-newt を削除しています ... python-keyring を削除しています ... python-httplib2 を削除しています ... python-gnupginterface を削除しています ... python-gdbm を削除しています ... python-debian を削除しています ... python-dbus を削除しています ... python-chardet を削除しています ... python-apt を削除しています ... python を削除しています ... man-db のトリガを処理しています ... ureadahead のトリガを処理しています ... libc-bin のトリガを処理しています ... ldconfig deferred processing now taking place
何故消した…
ていうかなんで 2.7 入ってんだよ俺はもう py3k に移行するからあえて入れないようにしてるんだよと思ったのが運の尽きというか。
今時のディストリビューションは普通に python 入ってんのよね。これ python3 に移行すんのいつになんだろう…
「削除」されたパッケージを全部入れたら再起動するじゃないですか!
やったー!
python3 で pip 入れるのはこう↓
wget http://python-distribute.org/distribute_setup.py -O- | sudo python3 /dev/stdin wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py -O- | sudo python3 /dev/stdin