I hereby claim:
- I am sagarjauhari on github.
- I am sagj (https://keybase.io/sagj) on keybase.
- I have a public key whose fingerprint is 77DB 9DD0 4DDA 3BF1 EA65 A3DB D5A9 2EB1 D655 A47A
To claim this, I am signing this object:
| # Run Llamafile with LLaVA locally | |
| # Source: https://news.ycombinator.com/item?id=38465645 | |
| # 1. Download the 4.26GB llamafile-server-0.1-llava-v1.5-7b-q4 file from https://huggingface.co/jartine/llava-v1.5-7B-GGUF/blob/main/...: | |
| wget https://huggingface.co/jartine/llava-v1.5-7B-GGUF/resolve/main/llamafile-server-0.1-llava-v1.5-7b-q4 | |
| # 2. Make that binary executable, by running this in a terminal: | |
| chmod 755 llamafile-server-0.1-llava-v1.5-7b-q4 | |
| # 3. Run your new executable, which will start a web server on port 8080: |
| [ | |
| { | |
| "secrets": [ | |
| { | |
| "name": "DATABASE_PASSWORD", | |
| "valueFrom": "arn:aws:ssm:${region}:${account}:parameter/${environment}/${appName}/DATABASE_PASSWORD" | |
| } | |
| ] | |
| } | |
| ] |
| ❯ dc run dev sh | |
| Creating network "app_default" with the default driver | |
| Creating app_db_1 ... done | |
| # |
| # Show live stats | |
| alias ds='while true; do TEXT=$(docker stats --no-stream $(docker ps --format "{{.Names}}")); sleep 0.1; clear; echo "$TEXT"; done' | |
| # Kill all containers | |
| alias dk='docker kill $(docker ps -q)' | |
| # Docker compose | |
| alias dc='docker-compose' |
| FROM golang |
| version: '3' | |
| services: | |
| db: | |
| image: postgres | |
| environment: | |
| POSTGRES_PASSWORD: password | |
| ports: | |
| - "5432:5432" | |
| dev: | |
| build: . |
| version: '3' | |
| services: | |
| dev: | |
| build: . |
| class Animal: | |
| def name(self): | |
| return "Simba" | |
I hereby claim:
To claim this, I am signing this object:
Add the following to your Gemfile:
gem 'heroku-api'
Put heroku.rb in your jobs folder and add the contents of heroku.html into your layout.