Skip to content

Instantly share code, notes, and snippets.

View cdugeai's full-sized avatar

Colin Dugeai cdugeai

View GitHub Profile
sudo apt-get update && apt-get install -y --no-install-recommends apt-utils
# install docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh
sudo usermod -aG docker $USER
#newgrp docker
# 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
#
{
"$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",
@cdugeai
cdugeai / sc1.json
Last active February 6, 2023 14:08
{
"type": "object",
"properties": {
"preset": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nom": {
"type": "string"
# Use postgres/example user/password credentials
version: '3.1'
services:
postgres:
image: postgres
ports:
- "5433:5432"
# = 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""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(
#
# 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
<button type="button">Click Me!</button>