conect to postgres through psql:
psql -h <host> -U <username> -p <port>list of users:
\duconect to postgres through psql:
psql -h <host> -U <username> -p <port>list of users:
\du| import sys | |
| # 256-colored Text | |
| for i in range(0, 16): | |
| for j in range(0, 16): | |
| code = str(i * 16 + j) | |
| sys.stdout.write(u"\u001b[38;5;" + code + "m " + code.ljust(4)) | |
| print (u"\u001b[0m") | |
| # 256-colored backgrounds |
This is a handy resource that helps to take a fast and overall view of Git and its important abilities. Hope to enjoy!