Skip to content

Instantly share code, notes, and snippets.

shenglinFL

Block or report user

Report or block shenglinFL

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View HowToUse
https://medium.com/@bogdan.bolchis/custom-xcode-behaviors-c9085d9eb7c1
....
chmod +x openTerm.sh
@shenglinFL
shenglinFL / Xcode_script_keywords
Created Oct 22, 2018
Xcode显示FIXME|TODO等标注
View Xcode_script_keywords
KEYWORDS="TODO:|FIXME:|\?\?\?:|\!\!\!:"
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/"
@shenglinFL
shenglinFL / Xcode_script_keywords
Created Oct 22, 2018
Xcode显示FIXME|TODO等标注
View Xcode_script_keywords
KEYWORDS="TODO:|FIXME:|\?\?\?:|\!\!\!:"
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/"
View Angular Commit Message
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
/////////////////////
Type
提交类型,必须是下列之一:
@shenglinFL
shenglinFL / mygit.md
Created Oct 16, 2018
Git使用技巧
View mygit.md

恢复某个被删除的文件 git checkout $commit~1 filename

View gist:c076c218a1edef5ae7ed401ff5f9f5ef

快捷键

  1. Cmd+Y 查看定义
  2. Cmd+U 查看并定位到父类
  3. Cmd+P 查看参数信息
  4. Cmd+Shift+E 最近修改的文件
  5. Cmd+E 最近访问的文件
  6. Alt+上/下 扩大/缩小选区
  7. Cmd+F12 文件结构弹窗

编码技巧

You can’t perform that action at this time.