Skip to content

Instantly share code, notes, and snippets.

:octocat:
Rocking the git

Pascal Andy pascalandy

View GitHub Profile
@pascalandy
pascalandy / keep_a_changelog_template.md
Last active Feb 18, 2019
How do I make a good changelog
View keep_a_changelog_template.md
View securityHeaders_cf-worker.js
let securityHeaders = {
"Content-Security-Policy" : "upgrade-insecure-requests",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"X-Xss-Protection" : "1; mode=block",
"X-Frame-Options" : "DENY",
"X-Content-Type-Options" : "nosniff",
"Referrer-Policy" : "strict-origin-when-cross-origin",
"Feature-Policy" : "accelerometer 'none' ; ambient-light-sensor 'none' ; autoplay 'self' ; camera 'none' ; encrypted-media 'none' ; fullscreen 'self' ; geolocation 'none' ; gyroscope 'none' ; magnetometer 'none' ; microphone 'none' ; midi 'none' ; payment 'self' ; picture-in-picture * ; speaker 'self' ; sync-xhr 'none' ; usb 'none' ; notifications 'self' ; vibrate 'self' ; push 'self' ; vr 'none'",
"Cache-Control" : "public, max-age=0, must-revalidate",
"Content-Type" : "text/html; charset=UTF-8",
View 2018-09-21_17h36 bug
```
Aborting due to errexit on line 26. Exit code: 1
[2018-09-21 21:21:26] INFO Creating database backup
[2018-09-21 21:21:26] INFO Database backup written to: /var/lib/ghost/content/data/barber-avenue.ghost.2018-09-21.json
[2018-09-21 21:21:26] INFO Adding demo post.
[2018-09-21 21:21:27] INFO Rollback: Fixture posts.
[2018-09-21 21:21:27] INFO Rollback: Bring back demo post.
[2018-09-21 21:21:27] ERROR
NAME: RollbackError
@pascalandy
pascalandy / markdown-style-guide.txt
Last active Feb 17, 2019
Markdown sources. Search for « Style guide » on live demos from https://play-with-ghost.com
View markdown-style-guide.txt
---
<a id="sources"></a>
## Markdown sources
**From this point, everything you see is formatted using Markdown syntax.** It will work in every editor that supports Markdown because it's an open standard on the web. There are two ways to find the sources for this page.
#### 1. On GitHub
View install-catalyst.md

Linux

apt-get install libatlas-base-dev python-dev gfortran pkg-config libfreetype6-dev

pip install enigma-catalyst matplotlib

Mac

View install.md

Linux

apt-get install libatlas-base-dev python-dev gfortran pkg-config libfreetype6-dev

pip install enigma-catalyst matplotlib

Mac

View markdown-button
# Buttons
You can insert buttons thanks to [unicorn-ui](http://unicorn-ui.com/buttons/) librairy.
### Two classic buttons
<a href="https://play-with-ghost.com/live-demo-firepress-klimax1-for-barbershops/" target="_blank" class="button button-rounded button-primary">Live Demo</a>&nbsp;&nbsp;&nbsp;<a href="https://play-with-ghost.com/live-demo-firepress-klimax1-for-barbershops/ghost/" target="_blank" class="button button-glow button-border button-rounded button-primary"><i class="far fa-keyboard fa-lg"></i> Admin Panel</a>
```
<a href="https://play-with-ghost.com/live-demo-firepress-klimax1-for-barbershops/" target="_blank" class="button button-rounded button-raised button-primary">Live Demo</a>&nbsp;&nbsp;&nbsp;<a href="https://play-with-ghost.com/live-demo-firepress-klimax1-for-barbershops/ghost/" target="_blank" class="button button-glow button-border button-rounded button-primary"><i class="far fa-keyboard fa-lg"></i> Admin Panel</a>
@pascalandy
pascalandy / iterm2-solarized.md
Created Apr 26, 2018 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)
View iterm2-solarized.md

Default

Default

Powerlevel9k

Powerlevel9k

View ghost-1.21.7_node8
# https://docs.ghost.org/supported-node-versions/
# https://github.com/nodejs/LTS
# Update Ghost version on line: 16
# Update Ghost-cli on line: 12
FROM node:8.10-alpine
# grab su-exec for easy step-down from root
RUN apk update && apk upgrade && apk add --no-cache 'su-exec>=0.2' bash
# Add tzdata --> see alpine-base
View acceptance
I have read, understood and accepted the Terms and Conditions and my application is made subject to the Terms and Conditions. I hereby confirm and make the representations, warranties and provide the indemnities contained therein. I am making my application decision based on the latest version of the marketing materials and Terms and Conditions.
You can’t perform that action at this time.