2018年2月26日月曜日

mac python3.6のインストール方法

1、まず、Pythonのオフィシャルサイトから最新のパッケージをダウンロードして、インストールします。
https://www.python.org/downloads/

2、インストール後、~/.bash_profileを修正し、適用させます
 vi ~/.bash_profile で以下の内容を追加
  alias python='python3'

3、~/.bash_profileを最近化にします。
 source ~/.bash_profile

最後、バージョンを確認
python --version
Python 3.6.4

2018年2月13日火曜日

macでeclipseをcleanモードで起動させる方法

1、まず/Applications/Eclipse.app/Conents/MacOSのフォルダに移動

 cd /Applications/Eclipse.app/Contents/MacOS

2、次は以下のコマンドでeclipseを起動させる
 ./eclipse -clean -clearPersistedState

mac hidenファイルを表示させる

macのfinderでファイルを表示する時、ディフォルトではhidenファイルを非表示となっています。
表示するには、以下のコマンドを実行するだけ:

 CMD + SHIFT + .