In terminal, on local machine, run:
scp -r ssh_user@ssh_host_ip:/var/www/foldername ~/Desktop/foldername
const puppeteer = require('puppeteer'); | |
async function fillForm(data) { | |
const browser = await puppeteer.launch({ headless: true }); | |
const page = await browser.newPage(); | |
for (const item of data) { | |
await page.goto('YOUR_WEBPAGE_URL'); // Replace with your webpage URL | |
// Click the first "Select" button |
//import puppeteer | |
import puppeteer from 'puppeteer'; | |
async function muiSelectOption(page, buttonSelector, optionValue) { | |
let liComponent; | |
let selectorSubstr = buttonSelector.substring(1); // Remove the leading '#' or '.' | |
if (optionValue) { | |
liComponent = `li[data-value="${optionValue}"]`; | |
} else { | |
liComponent = 'li:first-child'; |
import { OpenAI } from 'langchain/llms'; | |
import { initializeAgentExecutorWithOptions } from 'langchain/agents'; | |
import { SerpAPI } from 'langchain/tools'; | |
const tools = [ | |
new SerpAPI( | |
'[YOUR_API_KEY]' | |
), | |
]; |
//RRF App Backend | |
//import node / express dependencies | |
import express from "express"; | |
import path from "path"; | |
//you'll need a '.dotenv' file in the root with the following variable: | |
//OPENAI_API_KEY="[YOUR_OPENAI_API_KEY_HERE]" | |
import dotenv from "dotenv"; |
Marketing starts long before you launch. Market research, planning, and preparation are critical parts of any marketing strategy.
I have been up against tough competition all my life. I wouldn't know how to get along without it. - Walt Disney
let totalPeopleInDirectory = 0; | |
let peopleWithUnknownLocation = 0; | |
let numLocations; | |
const locations = []; | |
const addPersonToTotal = function () { | |
totalPeopleInDirectory += 1; | |
}; | |
const addToPeopleWithUnknownLocation = function () { |
version: '3' | |
services: | |
# the client container, running webpack and the dev server | |
client: | |
image: path_to/image | |
networks: | |
- allhosts | |
volumes: |