This file contains hidden or 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
#!/usr/bin/env bash | |
# setup_iota_pm2.sh — one-shot setup & forever-run via pm2 | |
set -euo pipefail | |
# ──────────────────────────── configurable ──────────────────────────── | |
BRANCH="${1:-${BRANCH:-slickroot/gpu-memory-aware-miner}}" | |
REPO_SSH="[email protected]:Datura-ai/iota.git" | |
WORKDIR="IOTA" # where we clone the repo | |
PY_ARGS="launch_miner.py --env docker" | |
# ────────────────────────────────────────────────────────────────────── |
This file contains hidden or 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
import puppeteer, { Browser, Page } from 'puppeteer'; | |
import { LearningAppImportCredentials } from './sdk/learningAppImportStartup'; | |
import { AppCourse, AppLevel, AppTopic, LevelMasteryRecord } from './sdk/learningAppImport'; | |
import * as cheerio from 'cheerio'; | |
interface NoredinkCourse { | |
id: number; | |
name: string; | |
} |