brew升级git版本

1 2 3 4 $ brew doctor $ brew install git $ brew link --overwrite git Linking /usr/local/Cellar/git/2.19.1... 216 symlinks created

为Pod的库创建演示文件SwiftPlayground

{% github asmallteapot cocoapods-playgrounds c54b492 width = 30% %} issues 62 在playground中优雅的使用Pod This Could Be Us But You Playing Generates a Swift Playground for any Pod. Installation $ gem install cocoapods-playgrounds Usage CocoaPods To generate a Playground for a specific Pod: 1 $ pod playgrounds Alamofire To generate a Playground for

安装Material主题

Hexo + Material + Github 搭建博客与配置 {% github viosey hexo-theme-material d93c5a8 width = 30% %} 注意! 在主题的开发迭代过程中,主题的配置文件模板 可能会改动。为了避免使用 git pull 更新主题的用户出现冲突

hexo作图插件

1 2 "hexo-filter-flowchart": "^1.0.4", "hexo-filter-sequence": "^1.0.3", 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #作图插件 sequence: # webfont: https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.27/webfontloader.js # snap: https://cdnjs.cloudflare.com/ajax/libs/snap.svg/0.4.1/snap.svg-min.js # underscore: https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js # sequence: https://cdnjs.cloudflare.com/ajax/libs/js-sequence-diagrams/1.0.6/sequence-diagram-min.js # css: # optional, the url for css, such as hand drawn theme options: theme: simple css_class: flowchart: # raphael: # optional, the source url of raphael.js # flowchart: # optional, the

博客生成restful风格的json数据源

hexo-generator-restful 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ## API接口:以下为默认配置,属性值为 false 表示不生成。 restful: #http://npm.taobao.org/package/hexo-generator-restful # site 可配置为数组选择性生成某些属性 #

git-lfs命令工具使用

{% github git-lfs git-lfs 45c4568 width = 30% %} git-lfs官网 LFS其实是git的一个扩展,并没有改变git的工作方式,有点像耍了个小花招,把指定需要lfs管理的文件

gist命令工具使用

{% github defunkt gist 8d86604 width = 30% %} 按照gist 安装gist 1 brew install gist 创建gist 上传a.rb中的代码段: 1 gist a.rb 上传多个文件a.rb,b.rb,c.rb的代码段

subtree拆分大的git库到多个独立git库

Git 仓库拆拆拆 拆分一个子目录为独立仓库 1 2 3 4 5 6 7 8 9 10 11 12 13 14 # 这就是那个大仓库 big-project $ git clone git@github.com:tom/big-project.git $ cd big-project # 把所有 `codes-eiyo` 目录下的相关提交整理为一个新的分

zsh插件之gi使用说明

{% github joeblau gitignore.io a09921d width = 30% %} 配置zsh支持插件gi命令 先浏览oh-my-zsh/plugins目录下支持所有插件,找到gi命令的插件名称:gitign