Skip to content

Instantly share code, notes, and snippets.

View kessl's full-sized avatar
🦑

Daniel Kessl kessl

🦑
View GitHub Profile
@kessl
kessl / worker.js
Last active March 14, 2021 19:10
Cloudflare custom headers worker
let securityHeaders = {
'Content-Security-Policy': "default-src 'self'; img-src 'self' https://t.bitgate.cz; upgrade-insecure-requests",
'Strict-Transport-Security': 'max-age=2592000',
'X-Xss-Protection': '1; mode=block',
'X-Frame-Options': 'DENY',
'X-Content-Type-Options': 'nosniff',
'Referrer-Policy': 'strict-origin-when-cross-origin',
'Feature-Policy': "autoplay 'none'",
'X-Clacks-Overhead': 'GNU Terry Pratchett',
}
@kessl
kessl / about.md
Last active December 7, 2021 11:22
title slug tags author createdAt
About
about
Daniel
2021-06-27 16:00:00 -0700

The web is in my DNA

title slug tags author created
Getting rid of Redux / apollo-link-rest with Next.js
bye-redux-hello-apollo-link-rest
frontend
Daniel"
2020-03-26 23:00:00 UTC

Getting rid of Redux / apollo-link-rest with Next.js

title slug tags author created
Content Security Policy, inline scripts and Next.js
content-security-policy-inline-scripts-and-next-js
frontend
Daniel
2020-04-29 08:28:41 -0700

Content Security Policy, inline scripts and Next.js

title slug tags author created
Home data storage with encrypted cloud backup
data-storage-with-encrypted-cloud-backup
homelab
Daniel
2021-01-13 06:28:14 -0800

Home data storage with encrypted cloud backup

title slug tags author created
Dotfiles
dotfiles
homelab
poweruser
Daniel
2021-10-01 14:49:23 -0700

Dotfiles

title slug tags author created
Setting up a dev environment on GitLab pages
gitlab-pages-dev-env
devops
Daniel
2020-03-21 16:00:00 -0700

Setting up a dev environment on GitLab pages

title slug tags author created
Making-of this blog
making-of-this-blog
frontend
devops
Daniel
2020-04-27 07:38:47 -0700

Making-of this blog

title slug tags author created
My humble homelab beginnings
my-humble-homelab-beginnings
homelab
Daniel
2020-05-06 11:19:11 -0700

My humble homelab beginnings

title slug tags author created
Static site analytics with Nginx, GoAccess & no JS
static-site-analytics-with-nginx-goaccess-no-js
devops
Daniel
2021-03-14 13:15:00 -0700

Static site analytics with Nginx, GoAccess & no JS