- Execute
cf push
in directory where manifest.yml is - Of course you can use pip install with the buildpack, then you need a requiremens.txt instead of environment.yml see cf python buildpack docs
This file contains 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
OPENAI_API_KEY= | |
OPENAI_API_BASE= | |
DATABASE_USERNAME= | |
DATABASE_PASSWORD= | |
DATABASE_SERVER= | |
DATABASE_DB= |
This file contains 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
# https://stackoverflow.com/questions/3444645/merge-pdf-files | |
import argparse | |
import warnings | |
from PyPDF2 import PdfFileWriter, PdfFileReader | |
parser = argparse.ArgumentParser() | |
parser.add_argument(dest='front', help="Scan containing front pages.") | |
parser.add_argument(dest='back', help="Scan containing back pages.") | |
parser.add_argument(dest='output', help="Output file.") |
This file contains 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
#include <Adafruit_Sensor.h> | |
// DHT Temperature & Humidity Sensor | |
// Unified Sensor Library Example | |
// Written by Tony DiCola for Adafruit Industries | |
// Released under an MIT license. | |
// REQUIRES the following Arduino libraries: | |
// - DHT Sensor Library: https://github.com/adafruit/DHT-sensor-library | |
// - Adafruit Unified Sensor Lib: https://github.com/adafruit/Adafruit_Sensor |
This file contains 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
# Databricks notebook source | |
# MAGIC %md | |
# MAGIC | |
# MAGIC - https://youtu.be/pq5CBea12v4 | |
# MAGIC - https://docs.greatexpectations.io/en/latest/guides/how_to_guides/configuring_data_contexts/how_to_instantiate_a_data_context_on_a_databricks_spark_cluster.html | |
# MAGIC - https://docs.greatexpectations.io/en/latest/guides/how_to_guides/configuring_data_contexts/how_to_instantiate_a_data_context_without_a_yml_file.html | |
# MAGIC - https://gitpython.readthedocs.io/en/stable/ | |
# COMMAND ---------- |
This file contains 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
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
const char *SSID = ""; | |
const char *PSK = ""; | |
const char *MQTT_BROKER = ""; | |
const char *INFLUXDB_USERNAME = ""; | |
const char *INFLUXDB_PASSWORD = ""; |