This gist can be used to setup Juypter in Docker with docker compose.
- 
Clone this Gist git clone https://gist.github.com/fc6412bdcc5c5aeb1b6a4c59ea0b50c4.git notebooks
- 
cd notebooks
| import os | |
| import sys | |
| import json | |
| import shutil | |
| import inspect | |
| from datetime import datetime | |
| # Get the current working directory | |
| current_file_directory = os.path.dirname(os.path.abspath(__file__)) | 
| data = { | |
| "raw": "../data/raw/", | |
| "processed": "../data/processed/", | |
| "lookup": "../data/lookup/" | |
| } | 
| /** | |
| * script to automatically forward all mail under 'auto/forward/[recipient] | |
| * author: tedsteinmann | |
| */ | |
| //setting primary inputs | |
| var LABEL = 'auto/forward/'; | |
| function forwardMail(){ | |
| //get all labels under LABEL | 
| # a gist to backup a public facing website | |
| # author tedsteinmann | |
| source config.sh | |
| # create a file called config.sh defining the following variales: | |
| # -------- | |
| # label=[enter a label for downloaded content] | |
| # url=[enter the base URL to download from] | |
| # domain_list=[enter a comma seperated list of additional domains to download content from] | |
| # ------- | 
| MIT License | |
| Copyright (c) 2018 Ted Steinmann | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | 
| /* | |
| Google Apps Script to automatically archive or delete mail with a certain label after a certain time | |
| Copyright @tedsteinmann https://gist.github.com/tedsteinmann/0ee248856de6e75498470db7c98fab09 | |
| Original author fwed ([email protected]) | |
| https://medium.com/@fw3d/auto-archive-emails-in-gmail-after-2-days-1ebf0e076b1c | |
| Use at your own risk. The author is not responsible for erroneous deletion of email. | 
| """ | |
| Exports Issues from a specified repository to a CSV file | |
| Uses basic authentication (Github username + password) to retrieve Issues | |
| from a repository that username has access to. Supports Github API v3. | |
| """ | |
| import csv | |
| import requests | |
| import datetime |