Skip to content

Instantly share code, notes, and snippets.

@fernandodev
Last active February 22, 2017 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fernandodev/5b436959435703999d2f0fdb6de39b34 to your computer and use it in GitHub Desktop.
Save fernandodev/5b436959435703999d2f0fdb6de39b34 to your computer and use it in GitHub Desktop.
function turbo_xcode
sudo launchctl remove com.fireeye.xagt
sudo pkgutil --only-files --files com.fireeye.xagt | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-files --files com.fireeye.hx-agent | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-dirs --files com.fireeye.xagt | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --only-dirs --files com.fireeye.hx-agent | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --forget com.fireeye.xagt
sudo pkgutil --forget com.fireeye.hx-agent
sudo pkgutil --only-files --files com.trendmicro.tmsm.application.trendMicroSecurity.tmcoreinst.pkg | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-files --files com.trendmicro.tmsm.application.trendMicroSecurity.tmsecurity.pkg | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-files --files com.trendmicro.tmsm.application.trendMicroSecurity.tmsecurityextra.pkg | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-files --files com.trendmicro.tmsm.tmappextra | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-files --files com.trendmicro.uninstaller | tr '\n' '\0' | xargs -n 1 -0 sudo rm -f
sudo pkgutil --only-dirs --files com.trendmicro.tmsm.application.trendMicroSecurity.tmcoreinst.pkg | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --only-dirs --files com.trendmicro.tmsm.application.trendMicroSecurity.tmsecurity.pkg | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --only-dirs --files com.trendmicro.tmsm.application.trendMicroSecurity.tmsecurityextra.pkg | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --only-dirs --files com.trendmicro.tmsm.tmappextra | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --only-dirs --files com.trendmicro.uninstaller | tail -r | tr '\n' '\0' | xargs -n 1 -0 sudo rmdir
sudo pkgutil --forget com.trendmicro.tmsm.application.trendMicroSecurity.tmcoreinst.pkg
sudo pkgutil --forget com.trendmicro.tmsm.application.trendMicroSecurity.tmsecurity.pkg
sudo pkgutil --forget com.trendmicro.tmsm.application.trendMicroSecurity.tmsecurityextra.pkg
sudo pkgutil --forget com.trendmicro.tmsm.tmappextra
sudo pkgutil --forget com.trendmicro.uninstaller
end
function weather
curl wttr.in/$argv
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment