This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import timedelta | |
import airflow | |
from airflow import DAG | |
from airflow.contrib.operators.emr_create_job_flow_operator \ | |
import EmrCreateJobFlowOperator | |
from airflow.contrib.operators.emr_add_steps_operator \ | |
import EmrAddStepsOperator | |
from airflow.contrib.sensors.emr_step_sensor import EmrStepSensor | |
from airflow.contrib.operators.emr_terminate_job_flow_operator \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] rogmonster = "!echo \"#########((((((((((((/**//////*****/*/***************/******************///*****/(/*,,,,,,,,......................,...,,,,,,,,,,,,,,,,,,,,,,,,,,,\n######(((/(((((((((//*********////((////*//******//*//////////*/(/****//(*,,,,,******,,,,,,,,..........................,,****,,,,******,,,,,,,,,,\n(((((((((//(((//////********//(#%%#(*/(#((////*////((((###(/(###(/*********,,,********,,,,,,......,,........................,,,,*******,,,,,,,,,,\n((((((((///(((/////*****/((%&%#//*,,..,..,*/(//***/#%%((///((#(*,,,,,,,,,,,******/*****,,,,,,.,,,,,,,.................... ..,,,,,*,,,,,,,,,,,\n(((((((//##((#((((////(#&&&(/*,..... ... .,///*****/////////**,,,,***********///*******,,,,*******,,,,,,................. .....,,,,,,,,,,,\n////(((#%((((((((##%%((((/*...... .,,. ..*///**,,,,,,,,**///////****,,,,,,*********************,,,,,,.............. . ..,,,,,,,\n/////(#%#((#((((####/*,,,,. ... ...,,,,,. ...,*//*,,...,,,*****/////***,,,,,,,,,*************,,**,***,,,,,.... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] update = "!git checkout master && git pull && git checkout -" | |
[alias] push-new = "!git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)" | |
[alias] push-aviemzur-new = "!git push --set-upstream aviemzur $(git rev-parse --abbrev-ref HEAD)" | |
[alias] close = "!f() { git checkout master && git merge --no-ff -m \"This closes #$1\" pr/$1; }; f" | |
[alias] pr = "!f() { git checkout master && git fetch origin && git branch -D pr/$1 || : && git checkout pr/$1; }; f" | |
[alias] review = "!f() { git branch -D review-before || : && git checkout $1 -b review-before && git checkout -; }; f" | |
[alias] fresh = "!f() { git branch | grep -v master | xargs git branch -D; }; f" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local-cluster[2, 2, 128] |