Skip to content

Instantly share code, notes, and snippets.

View cdugeai's full-sized avatar

Colin Dugeai cdugeai

View GitHub Profile
@cdugeai
cdugeai / install-docker.sh
Created January 7, 2021 19:08
My installation of docker and docker-compose
# Install Docker
## Remove docker
sudo apt-get remove docker docker-engine docker.io containerd runc
## Install docker with convenience script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
@cdugeai
cdugeai / styles.css
Last active October 7, 2023 12:39 — forked from patik/styles.css
Numbered Headings in Markdown via CSS
body {
counter-reset: h1
}
h1 {
counter-reset: h2
}
h2 {
counter-reset: h3
<button type="button">Click Me!</button>
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
"""Example DAG demonstrating the usage of the BashOperator."""
from datetime import datetime, timedelta
from airflow import DAG
from airflow.operators.bash import BashOperator
from airflow.operators.dummy import DummyOperator
from airflow.providers.docker.operators.docker import DockerOperator
with DAG(
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# = Redmine configuration file
#
# Each environment has its own configuration options. If you are only
# running in production, only the production block needs to be configured.
# Environment specific configuration options override the default ones.
#
# Note that this file needs to be a valid YAML file.
# DO NOT USE TABS! Use 2 spaces instead of tabs for indentation.
# default configuration options for all environments
# Use postgres/example user/password credentials
version: '3.1'
services:
postgres:
image: postgres
ports:
- "5433:5432"
@cdugeai
cdugeai / sc1.json
Last active February 6, 2023 14:08
{
"type": "object",
"properties": {
"preset": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nom": {
"type": "string"
{
"$schema":"https://specs.frictionlessdata.io/schemas/table-schema.json",
"name":"Inidicateur Pilote sans contraintes",
"title":"Inidicateur Pilote sans contraintes",
"description":"Spécification d'un fichier d'import d'indicateur Pilote sans contraintes",
"keywords":[
"pilote",
"ditp"
],
"countryCode":"FR",