Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
function Start-Noita { | |
<# | |
.SYNOPSIS | |
Starts Noita from a PowerShell prompt, optionally with a specific set seed for a new game. | |
.DESCRIPTION | |
To use this function, copy and paste the complete function definition into a PowerShell | |
session, and then invoke it with `Start-Noita`. Supply `-Seed somevalue` if you would like | |
to run a specific seed (see the examples below). | |
{ | |
"bracket-pair-colorizer-2.colors": [ | |
"Gold", | |
"Orchid", | |
"LightSkyBlue", | |
"Salmon", | |
"LawnGreen", | |
"DarkOrange", | |
"Cornsilk" | |
], |
After updating pg_hba.conf or postgresql.conf, the server needs the config needs to be reloaded. The easiest way to do this is by restarting the postgres service:
service postgresql restart
When the service
command is not available (no upstart on Synology NAS, for example), there are some more creative ways to reload the config. Note this first one needs to be done under the user that runs postgres (usually the user=postgres
).
user# sudo su postgres
postgres# pg_ctl reload
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.