Skip to content

Instantly share code, notes, and snippets.

View S1SYPHOS's full-sized avatar
🐧
hackin' on Linux

Martin Folkers S1SYPHOS

🐧
hackin' on Linux
View GitHub Profile
@S1SYPHOS
S1SYPHOS / config.php
Last active February 16, 2018 23:24 — forked from joachimesque/config.php
CSP headers with a script-src nonce directive for Kirby
<?php
/*
---------------------------------------
HTTP Security headers
---------------------------------------
*/
// Generating CSP nonce & defining CSP header
$csp_nonce = base64_encode(random_bytes(20));
@S1SYPHOS
S1SYPHOS / jekyll-and-liquid.md
Created May 3, 2017 09:08 — forked from magicznyleszek/jekyll-and-liquid.md
Jekyll & Liquid Cheatsheet

Jekyll & Liquid Cheatsheet

A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.

Running

Running a local server for testing purposes: