Xcode 主题
1 | https://github.com/tursunovic/xcode-themes |
elfDark
1 | https://code.google.com/archive/p/elf-ios-resource/downloads |
公司需要把所有代码放到一个文件内,加上版权信息. 于是用shell简单的处理了下
1 | #!/bin/sh |
工作需要把
Mud makes my mom mad.
这句话带有m的加上颜色,或者把某些单词加上颜色
临时写了个脚本处理
1 | import re |
--with-override-system-vi
1 | brew install vim --with-override-system-vi |
执行下面的命令
1 | cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby |
1 | sudo ln -s ../universal-darwin15/ruby/config.h ./config.h |
注意不要复制上面的, 对应自己的sdk版本,ruby版本,darwin版本
1 | ./install.py --clang-completer --gocode-completer |
1 | curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
1 | call plug#begin() |
自己写的一个简单去除html标签(xml)的脚本
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
1 | import re |
将
1 | LOCAL_SRC_FILES := hellocpp/main.cpp \ |
换成
1 | FILE_LIST := hellocpp/main.cpp |