On Ubuntu 20.04.
(I have not yet tried the Black Magic Probe and gdb parts)
First install the arm compiler:
#!/bin/bash | |
# Ollama Model Export Script | |
# Usage: bash ollama-export.sh vicuna:7b | |
# License: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
# https://gist.github.com/supersonictw/f6cf5e599377132fe5e180b3d495c553 | |
set -e | |
echo "Ollama Model Export Script" | |
echo "License: MIT (https://ncurl.xyz/s/RD0Yl5fSg)" |
#!/usr/bin/env python2.7 | |
# Export from Google App Engine Datastore Backup LevelDB format to JSON flat file | |
# Based on: https://gist.github.com/xlfe/af25f160256e4d52f499dee7e8fa212f | |
## | |
# 2024 instructions: | |
## | |
# Using the Google Cloud console (https://console.cloud.google.com), find "Firestore" | |
# and export your database to a Cloud Storage "Bucket". Download the content of the Bucket. |
Bootstrap: localimage | |
From: deepvariant-0.6.1.simg | |
# Install Google Cloud SDK for the gcloud tool, then: | |
# We grab the official Docker image, push it to a locally running container repo, then get | |
# Singularity to pull it back. | |
# gcloud docker -- pull gcr.io/deepvariant-docker/deepvariant:0.6.1 | |
# docker tag gcr.io/deepvariant-docker/deepvariant:0.6.1 localhost:5000/deepvariant:0.6.1 | |
# docker run -d -p 5000:5000 --restart=always --name registry registry:2 | |
# docker push localhost:5000/deepvariant:0.6.1 |
#!/usr/bin/env bash | |
UBUNTU_RELEASE=$(lsb_release --codename --short) | |
export COMPOSE_VERSION=1.8.0 | |
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
sudo apt-get update | |
sudo apt-get install python-pip apt-transport-https ca-certificates |
from google.appengine.ext import webapp | |
from google.appengine.ext.webapp import util | |
from django.utils import simplejson as json | |
from google.appengine.ext import db | |
import re | |
import pdb, sys | |
debugger = pdb.Pdb(stdin=sys.__stdin__, stdout=sys.__stdout__) | |
#!/usr/bin/python | |
WhatThisIS=""" | |
This is a hacked together script to connect to all of your running EC2 instances, and to provide a single SSH prompt amongst all of them, and to assist in uploading, splitting, and downloading files. email me at winniningham at and email server called gmail.com :P | |
""" | |
import paramiko | |
from numpy import * |