海外旅行: 銀行に旅行を伝えておく
海外旅行を事前に銀行に伝えておくと、transactionに支障が出にくい。
'travel notice'でgoogle検索すると、公式twitterが出てきた。いわく、PNC bankの場合、Debit cardでログインして下記のようにタブをたどると、旅行を登録できる。
go to Cust Serv tab>Debit Card Serv>Debit/ATM Card Serv & Resources>Notify Us of Travel (bottom right)
2019/07/21 追記
To submit a request to place a travel notice, click on the Customer Service tab. Beneath the Manage Accounts section, click on the Debit Card Services link. From the Debit/ATM Card page, click on the Debit/ATM Card Services & Resources link. Under the Debit/ATM Card Maintenance section, click on the Notify Us of Travel link.
Mathematica をコマンドで走らせる
$ ssh -Y k*****@****.edu
/Applications/Mathematica.app/Contents/MacOS/MathKernel
リモートでMathematicaが使えるようになる。
gala インストール
$ pip install astro-gala
Collecting astro-gala
Downloading astro-gala-0.1.3.tar.gz (1.1MB)
100% |████████████████████████████████| 1.1MB 229kB/s
Requirement already satisfied (use --upgrade to upgrade): astropy in /usr/local/anaconda/lib/python2.7/site-packages (from astro-gala)
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/local/anaconda/lib/python2.7/site-packages (from astro-gala)
Requirement already satisfied (use --upgrade to upgrade): scipy in /usr/local/anaconda/lib/python2.7/site-packages (from astro-gala)
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6.0 in /usr/local/anaconda/lib/python2.7/site-packages (from astropy->astro-gala)
Building wheels for collected packages: astro-gala
Running setup.py bdist_wheel for astro-gala
Stored in directory: /Users/kh_____i/Library/Caches/pip/wheels/f4/39/c5/76d9c26914a01fa4f90bf1e94cbb5940148fa87f4df201e6c1
Successfully built astro-gala
Installing collected packages: astro-gala
Successfully installed astro-gala-0.1.3
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
sshでログインしてシェルを変更する
<目的>
大学のパソコンにsshで入ったのちに、bashに切り替える。
そして、".bash_profile" の中でPATHが定義されているanacondaを使えるようにする。
(1)ログイン時のシェルを調べる
% echo $SHELL
/bin/tcsh
=== tcshであることがわかる。
(2)利用できるシェルの種類を調べる
% cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
(3)bashに切り替える
(4)そのままの状態でPYTHONPATHを調べる
bash-3.2$ echo $PYTHONPATH
[何も表示されない]
(5).bash_profileを読み込ませる
bash-3.2$ source .bash_profile
bash-3.2$ echo $PYTHONPATH
:/usr/local/anaconda/lib/python2.7/site-packages/