Skip to content

Instantly share code, notes, and snippets.

@zetter
Last active January 3, 2016 08:49
Show Gist options
  • Select an option

  • Save zetter/8439002 to your computer and use it in GitHub Desktop.

Select an option

Save zetter/8439002 to your computer and use it in GitHub Desktop.
Filter out userSpaceScaleFactor warning on phantomjs on Mavericks
#!/bin/bash
/usr/local/bin/phantomjs_original $@ 2> >(grep -v userSpaceScaleFactor 1>&2)
@zetter
Copy link
Author

zetter commented Jan 15, 2014

  • move /usr/local/bin/phantomjs to /usr/local/bin/phantomjs_original
  • create this script as /usr/local/bin/phantomjs
  • chmod +x it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment