What I Touched This Week 2016-10-15

This is a post in series "What I Touched"

Programming

Readings

Tips

  • How do I remove an app from Security/Accessibility

    sudo sqlite3 /Library/Application\ Support/com.apple.TCC/Tcc.db
    delete from access where client like "%appnamehere%"
    Replace "appnamehere" with the name of the app as it appears in the Accessibility list (keep the % signs).
    
  • Show hidden files in macOS Sierra Finder Shift + Command + .

  • Install Python modules for ansible installed by Homebrew

      cd /usr/local/Cellar/ansible/2.1.2.0/libexec/lib/python2.7/site-packages
      PYTHONPATH=$(pwd) python easy_install.py -ad $(pwd) redis
    
  • Clearing the Icon Services cache in Yosemite

  • Advanced Vim macros Dump macro, edit and save back to register. Run macro on scope using normal

  • Vim anti-patterns | Arabesque Usage of gi, g;, g,. Use s as motion after action. Use @: to repeat command, & and g& to repeat substitution.

Tools

Misc

comments powered by Disqus