Prefer-Push: item, icon
Client asks the server to push all resources that are linked via the item
and icon
relations of the context resource.
Prefer-Push: *
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: ESLint | |
on: | |
push: | |
branches: [ main, 'version/**' ] | |
pull_request: | |
branches: [ main, 'version/**' ] |
{ | |
"basics": { | |
"name": "Evert Pot", | |
"label": "Technical Leadership / API specialist", | |
"email": "[email protected]", | |
"url": "https://evertpot.com/", | |
"summary": "I’m 20 year software engineering veteran and co-founded several businesses.\n\nI’m currently on the look-out for new opportunities. I’m especially interested in CTO and Director or part-time advisor positions.", | |
"location": { | |
"city": "Toronto", | |
"countryCode": "CA", |
async () => { | |
const response = await fetch('large.bin'); | |
const buffer = await response.arrayBuffer(); | |
}; |
const Ketting = require('ketting').default; | |
const k = new Ketting('https://hal-browser.evertpot.com/games'); | |
const main = async () => { | |
const games = k.go(); | |
console.log(await games.get()); |
<?php declare(strict_types=1); | |
class Player { | |
private $name; | |
function __construct(string $name) { | |
$this->name = $name; |
Prefer-Push: item, icon
Client asks the server to push all resources that are linked via the item
and icon
relations of the context resource.
Prefer-Push: *
<li> | |
{% if include.comment.url %}<a href="{{ include.comment.url }}">{% endif %} | |
{% if include.comment.avatar %}<img src="{{ include.comment.avatar }}" alt="{{ include.comment.name }}" />{% end | |
{% if include.comment.url %}</a>{% endif %} | |
{% if include.comment.url %}<a href="{{ include.comment.url }}">{% endif %} | |
<span class="author">{{ include.comment.name }}</span> | |
{% if include.comment.url %}</a>{% endif %} | |
• <time>{{ include.comment.created | date: "%b %d, %Y" }}</time> |
<?php | |
$xml = simplexml_load_file('php://stdin'); | |
$threads = []; | |
$posts = []; | |
$userMap = [ | |
'evertp' => [ | |
'url' => 'https://evertpot.com', |
<?php | |
// Where to find the blog posts | |
$sources = '_posts/2015/**.md'; | |
$files = glob($sources); | |
$startWords = []; | |
$allWords = []; |
<?php | |
function generatePayload($username, array $permissions) { | |
$xml = [ | |
'{http://myns.org/}/user' => $username, | |
'{http://myns.org/}/permissions' => new Sabre\Xml\Element\Elements($permissions) | |
]; | |
$service = new Sabre\Xml\Service(); |