Skip to content

Instantly share code, notes, and snippets.

View j9t's full-sized avatar

Jens Oliver Meiert j9t

View GitHub Profile
name: "Tests"
on:
push:
paths:
- ".nvmrc"
- "package.json"
- "package-lock.json"
jobs:
#!/usr/bin/env python3
import json
import sys
from pathlib import Path
def sort_dict_recursively(d):
if isinstance(d, dict):
return {k: sort_dict_recursively(v) for k, v in sorted(d.items())}
elif isinstance(d, list):
return sorted(sort_dict_recursively(x) if isinstance(x, (dict, list)) else x for x in d)
<!DOCTYPE html>
<title>Minimal Social Markup</title>
<meta name=twitter:card content=summary_large_image>
<meta property=og:title content="This is a test title">
<meta property=og:description name=description content="This is a test description.">
<meta property=og:image content=https://hell.meiert.org/core/png/test.png>
*,
::after,
::before,
::first-letter,
::first-line,
::selection,
:active,
:checked,
:disabled,
:enabled,
module.exports = {
extends: 'lighthouse:default',
settings: {
'scores': {
'performance': 90,
'accessibility': 90,
'best-practices': 90,
'seo': 80
},
'onlyCategories': [
<!DOCTYPE html>
<html lang=X-LANG>
<meta charset=X-ENCODING>
<title>X-TITLE</title>
<link rel="stylesheet" href="X-STYLESHEET">
<p>X-CONTENT