1.download and installed the atom in mac as usual way.
2.download the package atom-runner
(from the atom menu->preference->install...)
ref:https://github.com/lsegal/atom-runner
3.go to atom->config
you will open below setting, and add the red line into it. (careful with indent.)
"*":
"atom-runner": {}
core:
automaticallyUpdate: false
destroyEmptyPanes: false
openEmptyEditorOnStart: false
themes: [
"one-dark-ui"
"atom-dark-syntax"
]
editor:
fontSize: 18
invisibles: {}
showIndentGuide: true
showInvisibles: true
zoomFontWhenCtrlScrolling: true
"exception-reporting":
userId: "d4912b62-aa97-a2d1-4abc-b19393b94058"
runner:
scopes:
python: "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3"
welcome:
showOnStartup: false
4. you can change the keymap if you want.
利用 Python,R,Excel VBA,multicharts 自造決策中心,取得量化交易能力, 再利用資訊不對稱,站在對你有利的這邊。
2016年9月7日 星期三
2016年7月11日 星期一
[MAC] Terminal hostname not mine.
it appears other's name who give you DNS.
go to terminal and check
xxxx $ hostname
xxxxxx
if the xxxx
$ sudo scutil --set HostName "xxxx's MacBook Air"
QUIT terminal, reopen again.
[octave] install octave 4.0.3 under mac osx EI 10.11, plot OK
ref: https://kiskeyix.org/articles/605
1.
install hombrew
install AquaTerm from sourceforge
brew tap homebrew/science
brew reinstall gnuplot --with-aquaterm
gnuplot # make sure it says "terminal set to aqua"
brew install lua51 # yes, you also need this old version of Lua
brew install octave
2.
vim ~/.octaverc
add below....
octave:1> graphics_toolkit('gnuplot')
octave:1> setenv('GNUTERM','aqua')
check again
octave:1> getenv("GNUTERM")
ans = aqua
octave:2>
=========================
For waring message when you plot
warning: could not match any font: *-normal-normal-10
use...
brew uninstall fontconfig
brew install fontconfig --universal
OK
2016年7月5日 星期二
[mac] add path for adb,fastboot,.... to PATH
get mac version of adb , fastboot....
=> download Android Studio from google developer site.
copy those bin to folder whether you want. ex: /Users/xxxxx/Documents/bin
and
=> download Android Studio from google developer site.
copy those bin to folder whether you want. ex: /Users/xxxxx/Documents/bin
and
vim ~/.bash_profile
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:/Users/xxxxx/Documents/bin:${PATH}"
export PATH
save , and reopen the terminal.
Done.
[mac] Connect FTP from mac to ubuntu by vsftpd
[ubuntu side]
sudo apt-get install vsftpd
[mac side]
download filezilla client.
create a new ftp , use account and password to login.
ref:
http://yunol.com.tw/phpbb3/viewtopic.php?f=15&t=25132
sudo apt-get install vsftpd
[mac side]
download filezilla client.
create a new ftp , use account and password to login.
ref:
http://yunol.com.tw/phpbb3/viewtopic.php?f=15&t=25132
2016年7月4日 星期一
[MacOS] install python3.4 pandas , request, matplotlib
pip3.4 install pandas
pip3.4 install request
pip3.4 install matplotlib
SUPER EASY.....
pip3.4 install request
pip3.4 install matplotlib
SUPER EASY.....
訂閱:
文章 (Atom)