工作环境配置纪录
2015-12-25 10:49
357 查看
最近换了台MacBook,工作环境全部需要重新配置。为方便以后查询,特此记录。
1 Xcode
看家工具。1.1 Alcatraz
地址:http://alcatraz.io/安装:curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh安装完成后,必装的插件有:1.2 XVim
vim指法的效率无需多言。1.3 CocoaPods
配置gem sources --remove https://rubygems.org/ gem sources -a https://ruby.taobao.org/gem gem sources -lsudo gem install cocoapodsgem setup(可以到~/.cocoapods下du -sh *查看进度)使用在工程目录下 vim Podfile,加入platform :ios, '9.2'pod 'SDWebImage', '~> 3.7.5'然后pod install
2 Terminal
2.1 iTerm
地址:http://www.iterm2.com/2.2 zsh
1 chsh -s /bin/zsh2 安装oh my zshsh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"真的比bash好用太多。3 z这个脚本是用来支持快速切换常用工作目录的。https://github.com/rupa/z/blob/master/z.sh将这个脚本放到某个路径,例如/Volumes/Work/z.sh然后编辑~/.zshrc,添加代码source /Volumes/Work/z.sh这样,它就会自动统计你进入每个路径的次数。你只要使用z xxx,他就会自动匹配出你最常进入的路径(z -l可以查看统计)。4 themes http://iterm2colorschemes.com/
2.3 Homebrew
Mac系统里缺了很多工具,可以使用这个进行方便的安装。地址:http://brew.sh/安装:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"[/code] 工具列表:brew install wget3 Git
sourcetree地址: https://www.sourcetreeapp.com/ 免费好用的git客户端。软件免费,但是不注册的话有试用期。注册地址:https://id.atlassian.com/signup许可证生成地址:https://my.atlassian.com/license/sourcetree也可以使用我自己的许可证地址:license4 Emacs
最强大的编辑器之一,org mode强大好用。地址:http://emacsformacosx.com/默认配置:https://github.com/purcell/emacs.d安装:git clone https://github.com/purcell/emacs.d.git ~/.emacs.d重新打开emacs,一切都会自动安装。下面是几个好用的插件,包括vim、speedbar和tabbar,粘贴在init-local.el里,拷贝到~/.emacs.d/lisp/init-local.el里。;; vim(require 'evil)(evil-mode 1);;speedbar(require 'sr-speedbar)(setq speedbar-show-unknown-files t)(setq speedbar-use-images nil)(setq sr-speedbar-width 30)(setq sr-speedbar-right-side nil)(global-set-key (kbd "<f5>") (lambda()(interactive)(sr-speedbar-toggle)));;tabbar(require 'tabbar)(tabbar-mode 1)(global-set-key [(meta j)] 'tabbar-forward)(global-set-key [(meta k)] 'tabbar-backward);; close default tabs,and move all files into one group(setq tabbar-buffer-list-function(lambda ()(remove-if(lambda(buffer)(find (aref (buffer-name buffer) 0) " *"))(buffer-list))))(setq tabbar-buffer-groups-function(lambda()(list "All")))(set-face-attribute 'tabbar-button nil);;set tabbar's backgroud color(set-face-attribute 'tabbar-default nil:background "gray":foreground "gray30")(set-face-attribute 'tabbar-selected nil:inherit 'tabbar-default:background "green":box '(:line-width 3 :color "DarkGoldenrod") )(set-face-attribute 'tabbar-unselected nil:inherit 'tabbar-default:box '(:line-width 3 :color "gray"));; USEFUL: set tabbar's separator gap(custom-set-variables '(tabbar-separator (quote (1.5))))(provide 'init-local)5 Python
5.1 pip
安装: https://bootstrap.pypa.io/get-pip.py5.2 其他包
requests6 其他
QQ FireFox Foxmail sougou 坚果云
相关文章推荐
- TinyPNG---一个压缩PNG的神站
- Android编译系统参考手册
- java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle,
- NSSearchPathForDirectoriesInDomains用法
- nginx做负载均衡配置
- 非阻塞模式开发
- UIPageViewController跳跃切换的问题
- 首页banner焦点图自动轮播效果
- 关于排序的语句
- mysql 获得当前月1号的日期 和 0点日期方法
- CentOS切换桌面模式和命令行模式
- 编写 android.mk 中 LOCAL_C_INCLUDES 的技巧
- ConcurrentLinkedQueue学习记
- Android.mk的用法和基础
- SolrCloud分布式检索时忽略宕机的Shard
- leetcode刷题日记——Remove Duplicates from Sorted Array
- Windows下搭建Objective-C运行环境及语法高亮
- HDU5170PM2.5
- 【Cocos2d-x】之随机数的产生
- CSS3 Media Queries 实现网页自适应