To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading)
so your link should look like so:
[create an anchor](#anchors-in-markdown)
server { | |
root /path/to/app/public; | |
index index.php; | |
server_name test.dev; | |
set $cors_headers "whatever-custom-headers,you-would-like"; | |
# redirection to index.php | |
location / { | |
try_files $uri $uri/ /index.php?$query_string; |
Shortcut | Action |
---|---|
CTRL+@ | set-mark-command |
CTRL+A | beginning-of-line |
CTRL+B | backward-char |
CTRL+D | delete-char-or-list |
CTRL+E | end-of-line |
CTRL+F | forward-char |
CTRL+G | send-break |
CTRL+H | backward-delete-char |
<?php | |
use Phan\CodeBase; | |
use Phan\Language\Context; | |
use Phan\Language\UnionType; | |
use Phan\PluginV2\ReturnTypeOverrideCapability; | |
use Phan\Language\Element\Method; | |
use Phan\PluginV2; | |
use \Phan\Language\FQSEN\FullyQualifiedClassName; | |
use Phan\Language\Element\Clazz; |
ASCI art characters for creating diagrams
Adapted from caddy systemd Service Unit
The provided file should work with systemd version 219 or later. It might work with earlier versions.
The easiest way to check your systemd version is to run systemctl --version
.
We will assume the following:
$ git clone git@github.com:xxxxx/xxxx.git my-awesome-proj | |
Cloning into 'my-awesome-proj'... | |
ssh: connect to host github.com port 22: Connection timed out | |
fatal: Could not read from remote repository. | |
$ # This should also timeout | |
$ ssh -T git@github.com | |
ssh: connect to host github.com port 22: Connection timed out | |
$ # but this might work |
<?php | |
declare(strict_types=1); | |
/** | |
* Computes the difference between two dates in milliseconds. | |
* | |
* @psalm-pure | |
* | |
* @return int $a - $b |