Skip to content

Instantly share code, notes, and snippets.

@sheikmohdimran
sheikmohdimran / disease_outbreaks_camelot.ipynb
Created November 11, 2019 11:42 — forked from vinayak-mehta/disease_outbreaks_camelot.ipynb
A jupyter notebook showing how Camelot can be used to extract tables from PDFs scraped from the IDSP website.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import prodigy
from prodigy.components.loaders import Images
from prodigy.util import split_string
def add_label_to_stream(stream, label):
for eg in stream:
# The 'label' you get from the command line is a list
# so let's just assume it's always one and take the first
eg["label"] = label[0]
yield eg
#####################################################################
# WLST Script to configure Weblogic 12c Domain for Oracle Retail Java Applications 16.0
#
# USAGE
# . $WLS_HOME/server/bin/setWLSEnv.sh
# cd /tmp
# java -Xms2G -Xmx2G weblogic.WLST /tmp/01_create_domain.py -p domain.properties
#
# domain.properties
# -----------------