When a key combination is displayed, the modifiers are written in the order presented here. For example, Control + Option + Shift + Command + Q would be written as ⌃⌥⇧⌘Q.
| Sym | Key | Alt | 
|---|---|---|
| ⌃ | Control | |
| ⌥ | Option | 
| def can_be_extended_to_solution(perm, n, m): | |
| # Too many non diagonal squares | |
| if perm.count(2) > m*m - n: | |
| return False | |
| new = len(perm) - 1 | |
| # New square has no diagonal | |
| if perm[new] == 2: | |
| return True | 
| from django import template | |
| register = template.Library() | |
| @register.filter | |
| def cool_number(value, num_decimals=2): | |
| """ | |
| Django template filter to convert regular numbers to a | |
| cool format (ie: 2K, 434.4K, 33M...) | 
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)