Skip to content

Instantly share code, notes, and snippets.

"""
## Example Airflow Workflow (DAG)
Markdown docstrings are rendered in the Airflow UI!!!
"""
from airflow import DAG
from airflow.models import BaseOperator
from datetime import datetime, timedelta
@kannaiah
kannaiah / configure_muliple_gcc.sh
Created April 9, 2019 17:24 — forked from SunnyRaj/configure_muliple_gcc.sh
Configure multiple GCC versions on ubuntu
#!/usr/bin/env bash
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update
sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++
sudo apt-get install -y gcc-4.8 g++-4.8 gcc-4.9 g++-4.9 gcc-5 g++-5 gcc-6 g++-6 gcc-7 g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
@kannaiah
kannaiah / bash-cheatsheet.sh
Created March 26, 2019 17:16 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04