Skip to content

Instantly share code, notes, and snippets.

View pascalandy's full-sized avatar
:octocat:
Rocking the git

Pascal Andy pascalandy

:octocat:
Rocking the git
View GitHub Profile
@pascalandy
pascalandy / compose-caddy.yml
Last active September 16, 2023 18:54
Traefik V2 / my docker compose files
version: "3.3"
services:
caddy:
image: abiosoft/caddy:1.0.3-no-stats
container_name: caddy
hostname: caddy
restart: unless-stopped
volumes:
@pascalandy
pascalandy / my-custom.cnf
Last active November 20, 2022 09:30
This mysql config is made to run within the official mysql container.
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### #
#
# _dockerfile/mysql/conf.d/my.cnf
# Last update: 2017-01-05_10h05
#
# This mysql config is made to run within the official mysql container.
# https://hub.docker.com/_/mysql/
#
# Inspired by:
# https://www.percona.com/blog/2016/10/12/mysql-5-7-performance-tuning-immediately-after-installation/
@pascalandy
pascalandy / markdown-style-guide.txt
Last active April 21, 2022 03:47
Markdown sources. Search for « Style guide » on live demos from https://play-with-ghost.com
---
<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
# https://docs.min.io/docs/minio-gateway-for-nas.html
# https://gist.github.com/pascalandy/1771c666aab221a9be5ea4bb6dbce70b
version: '3.7'
networks:
ntw_minio:
external: true
secrets:
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",
@pascalandy
pascalandy / 4.6.4.log
Created May 28, 2021 19:36
4.6.4.log
2021-05-28T15:26:19.2060703Z ##[section]Starting: Request a runner to run this job
2021-05-28T15:26:19.6240774Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-20.04'
2021-05-28T15:26:19.6240892Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-20.04'
2021-05-28T15:26:19.6241336Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-20.04'
2021-05-28T15:26:19.7640362Z ##[section]Finishing: Request a runner to run this job
2021-05-28T15:26:27.7115010Z Current runner version: '2.278.0'
2021-05-28T15:26:27.7277996Z ##[group]Operating System
2021-05-28T15:26:27.7279000Z Ubuntu
2021-05-28T15:26:27.7279431Z 20.04.2
2021-05-28T15:26:27.7279842Z LTS
```
2021-05-06T20:40:04.1412349Z ##[section]Starting: Request a runner to run this job
2021-05-06T20:40:04.5767686Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-20.04'
2021-05-06T20:40:04.5767792Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-20.04'
2021-05-06T20:40:04.5768257Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-20.04'
2021-05-06T20:40:04.7316956Z ##[section]Finishing: Request a runner to run this job
2021-05-06T20:40:11.5614554Z Current runner version: '2.278.0'
2021-05-06T20:40:11.5643136Z ##[group]Operating System
2021-05-06T20:40:11.5644156Z Ubuntu
2021-05-06T20:40:11.5644601Z 20.04.2
@pascalandy
pascalandy / 2021-05-05T19:54:07.1668537Z.log
Created May 6, 2021 15:44
2021-05-05T19:54:07.1668537Z
## 4.3.3
- devmtl/ghostfire:stable_4.3.3_5e440a5_2021-05-05_15H54s00
## logs
```
2021-05-05T19:54:07.1668537Z ##[section]Starting: Request a runner to run this job
2021-05-05T19:54:08.1546017Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-20.04'
2021-05-05T19:54:08.1546142Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-20.04'
@pascalandy
pascalandy / doctl compute size list
Created November 19, 2020 00:18
doctl compute size list (2020-11-18_19h19)
➜ dogvscat git:(edge) ✗ doctl compute size list
Slug Memory VCPUs Disk Price Monthly Price Hourly
s-1vcpu-1gb 1024 1 25 5.00 0.007440
512mb 512 1 20 5.00 0.007440
s-1vcpu-2gb 2048 1 50 10.00 0.014880
1gb 1024 1 30 10.00 0.014880
s-3vcpu-1gb 1024 3 60 15.00 0.022320
s-2vcpu-2gb 2048 2 60 15.00 0.022320
s-1vcpu-3gb 3072 1 60 15.00 0.022320
s-2vcpu-4gb 4096 2 80 20.00 0.029760