Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| git clone https://github.com/cpacker/MemGPT.git | |
| conda create -n memgpt python=3.10 | |
| conda activate memgpt | |
| cd memgpt | |
| pip install -r requirements.txt | |
| export OPENAI_API_KEY="YOUR_API_KEY" | |
| # download .txt docs from: https://huggingface.co/datasets/MemGPT/example-sec-filings/tree/main | |
| wget https://huggingface.co/datasets/MemGPT/example-sec-filings/blob/main/airbnb.txt -P memgpt/personas/examples/preload_archival | |
| wget https://huggingface.co/datasets/MemGPT/example-sec-filings/blob/main/lyft.txt -P memgpt/personas/examples/preload_archival | |
| wget https://huggingface.co/datasets/MemGPT/example-sec-filings/blob/main/uber.txt -P memgpt/personas/examples/preload_archival |
| #!/bin/bash | |
| #============================================================================== | |
| #TITLE: mysql_backup.sh | |
| #DESCRIPTION: script for automating the daily mysql backups on development computer | |
| #AUTHOR: tleish | |
| #DATE: 2013-12-20 | |
| #VERSION: 0.4 | |
| #USAGE: ./mysql_backup.sh | |
| #CRON: | |
| # example cron for daily db backup @ 9:15 am |
| #!/usr/bin/env ruby | |
| require 'open-uri' | |
| require 'pathname' | |
| require 'json' | |
| def strip_hash(f) | |
| ext = f.extname | |
| if ext.include?("?") |
| # - requires git, svn, hg installed | |
| # - will just build the bleeding edge of everything | |
| export PREFIX=`pwd` | |
| export PATH=$PATH:$PREFIX/bin/ | |
| export SRCDIR=$PREFIX/src/ | |
| # todo test if SRCDIR exists, then get the source | |
| mkdir -p $SRCDIR | |
| # get binutils/gdb, gmp, mpfr, mpc |
| <? | |
| # Add following line in ".htaccess". | |
| # php_value auto_prepend_file compat.php | |
| $HTTP_SERVER_VARS = $_SERVER; | |
| $HTTP_COOKIE_VARS = $_COOKIE; | |
| $HTTP_POST_VARS = $_POST; | |
| $HTTP_GET_VARS = $_GET; |