Under Terminal > Preferences... > (Profile) > Advanced, "Declare terminal as:" should be set to "xterm-256-color".
This is easy with homebrew:
brew tap homebrew/dupes
Under Terminal > Preferences... > (Profile) > Advanced, "Declare terminal as:" should be set to "xterm-256-color".
This is easy with homebrew:
brew tap homebrew/dupes
| #!/bin/sh | |
| DJANGO_SETTINGS_MODULE='project-name.settings' ipython |
| # draft | |
| # view current data quota | |
| sudo iptables -nvL -t filter --line-numbers | |
| # init | |
| sudo iptables -I OUTPUT -p tcp --sport <target-port> -m quota --quota <quota-bytes> -j ACCEPT | |
| sudo iptables -I OUTPUT -p tcp --sport <target-port> -j DROP | |
| # reset quota |