This gist is to remind me (and anyone else who it helps) how to quickly disable and re-enable Notification Center.
- Open your terminal (<⌘ + ␣ (spacebar)>, then type "terminal", then press <↩ (enter)>).
| # coding: utf-8 | |
| # Calculator | |
| from __future__ import division | |
| import ui | |
| import clipboard | |
| from console import hud_alert | |
| shows_result = False |
| #!/usr/bin/python | |
| import sys,getopt | |
| filename = None | |
| blocksize = 1024 | |
| opts,args = getopt.getopt(sys.argv[1:],'f:b:') | |
| for o,a in opts: | |
| if o == '-f': |