This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A warning occurred (42 apples) | |
An error occurred |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ImmutableDict(dict): | |
def __setitem__(self, key, value): | |
raise TypeError("%r object does not support item assignment" % type(self).__name__) | |
def __delitem__(self, key): | |
raise TypeError("%r object does not support item deletion" % type(self).__name__) | |
def __getattribute__(self, attribute): | |
if attribute in ('clear', 'update', 'pop', 'popitem', 'setdefault'): | |
raise AttributeError("%r object has no attribute %r" % (type(self).__name__, attribute)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
NewerOlder