Avalanche is an open-source platform for launching highly decentralized applications, financial primitives, and interoperable blockchains.
These are steps for firing up an Avalanche full node on Digital Ocean.
ssh into a Digital Ocean Ubuntu box
| #facebook marketplace | |
| from selenium import webdriver | |
| from time import sleep | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.support import expected_conditions as EC | |
| from pymongo import MongoClient | |
| class App: |
| const aws = require('aws-sdk'); | |
| const nodemailer = require('nodemailer'); | |
| const mysql = require('mysql'); | |
| const json2csv = require('json2csv').parse; | |
| const fs = require('fs'); | |
| // create Nodemailer SES transporter | |
| var transporter = nodemailer.createTransport({ | |
| SES: new aws.SES({ | |
| apiVersion: '2010-12-01' |
Avalanche is an open-source platform for launching highly decentralized applications, financial primitives, and interoperable blockchains.
These are steps for firing up an Avalanche full node on Digital Ocean.
ssh into a Digital Ocean Ubuntu box
| import numpy as np | |
| import warnings | |
| from pandas_datareader import data as pdr | |
| import yfinance as yf | |
| import datetime as dt | |
| from yahoo_fin import stock_info as si | |
| import pandas as pd | |
| pd.set_option('display.max_rows', None) | |
| warnings.filterwarnings("ignore") | |
| yf.pdr_override() |
| : ' | |
| This script helps me to backup Dropbox business accounts. Requires rclone to be installed on your machine (https://rclone.org/downloads/). | |
| You must create a dropbox application (https://www.dropbox.com/developers/apps) with all READ scopes. | |
| Then configure your rclone using rclone config | |
| 1) Choose dropbox | |
| 2) Set your remote name | |
| 3) On client_id, paste the value you have for "App key" on your Dropbox app (in settings) | |
| 4) On client_secret, paste the value you have for "App secret" on your Dropbox app (in settings) | |
| 5) Edit advanced config and set a value to the impersonate parameter (your admin account email e.g) |
Code for an article about LangChain structured outputs.
Article: https://horosin.com/extracting-pdf-and-generating-json-data-with-gpts-langchain-and-nodejs
In this blog post, I will share how to use LangChain, a flexible framework for building AI-driven applications, to extract and generate structured JSON data with GPTs and Node.js. I'll provide code snippets and concise instructions to help you set up and run the project.
| # https://www.mongodb.com/docs/atlas/atlas-search/knn-beta/ | |
| import pymongo | |
| from langchain.embeddings.openai import OpenAIEmbeddings | |
| from langchain.llms import AzureOpenAI | |
| import os | |
| from rake_nltk import Rake | |
| from langchain.agents import initialize_agent, Tool | |
| MONGO_URI = "mongodb+srv://....mongodb.net/?retryWrites=true&w=majority&tls=true" | |
| MONGODB_DATABASE = "demo_db" |