Skip to content

Instantly share code, notes, and snippets.

@vshih
vshih / bugmenot.js
Created April 27, 2009 06:39
Ubiquity bugmenot.com - Queries bugmenot.com and posts login information for the current page.
/*
bugmenot.js
Queries bugmenot.com for the current page, populates login information and submits.
Written by Victor Shih (vshih at yahoo.com, http://blog.vicshih.com/2009/04/bugmenot-command-for-ubiquity.html)
Initial idea and some code from Onur Yalazı (onur@yalazi.org, http://www.yalazi.org/ubiquity) and Brandon Goldsworthy.
*/
const MIN_RATE_PERCENT = 50; // only show entries that rate 50% or more
from airflow import DAG
from airflow.models import Connection
from airflow.operators import PythonOperator
from airflow.utils import db
from datetime import datetime
from yaml import dump
def dump_connections(**kwargs):