Skip to content

Instantly share code, notes, and snippets.

View alexellis's full-sized avatar
😀
Firecracker is easier than ever, try it out with SlicerVM.com

Alex Ellis alexellis

😀
Firecracker is easier than ever, try it out with SlicerVM.com
View GitHub Profile
@alexellis
alexellis / PROMPT.md
Last active January 20, 2026 16:14
Testing 64k context window with Claude/Ollama integration

This final prompt ended up having to be so specific, even giving the implementation detail as the model was so dumb.

Prompt:

We're buying licenses from slicervm.com for their microVM product.

Find out the pricing for 2x home edition licenses and 5x commercial ones the page
is https://slicervm.com/pricing
@alexellis
alexellis / coral.yaml
Last active January 5, 2026 15:18
Google Edge TPU with SlicerVM and Ubuntu 22.04
config:
host_groups:
- name: coral
userdata_file: ./userdata.sh
storage: image
storage_size: 25G
count: 1
vcpu: 2
ram_gb: 4
network:
@alexellis
alexellis / config.yaml
Last active September 7, 2025 08:40
PiHole in SlicerVM.com
# Example from https://docs.slicervm.com/getting-started/walkthrough/
# Then under the hostgroup instead of userdata:
# userdata_file: ./userdata.sh
# Then add a DNAT rule from the host to the microVM via iptables (ask ChatGPT for this!)
# Or simply add a static route on your router via your Slicer host to the microVM - easy to do
# in most router admin interfaces, then also set the default DNS to the VM IP there too.
@alexellis
alexellis / main.go
Created March 7, 2023 18:35
Detail GitHub App Installations
package main
import (
"context"
"flag"
"fmt"
"os"
"reflect"
"time"
@alexellis
alexellis / GUIDE.md
Last active July 31, 2023 10:51
Equinix Metal is my computer

From my blog post: The Internet is my computer

Equinix Metal is my computer

Run hosted VSCode on Equinix Metal's huge: AMD Epyc instances with 64GB RAM and 24 Cores, coupled with a bonded 2 x 10 Gbps uplink to the Internet.

Hosted VSCode

  • Provision your Ubuntu 20.04 LTS server using the dashboard and add your SSH key
  • Once you have the public IP, log in over SSH
@alexellis
alexellis / OpenFaaS-libkrun-Fedora33.md
Created March 14, 2021 18:57 — forked from slp/OpenFaaS-libkrun-Fedora33.md
Installing OpenFaaS with libkrun-based isolation on Fedora 33

Installing OpenFaaS with libkrun-based isolation on Fedora 33

Setting up the system

Revert to cgroup v1

The version of containerd that OpenFaaS will download during the installation doesn't support cgroup v2, so we need to configure systemd to avoid using the Unified cgroup Hierarchy, and reboot the system:

@alexellis
alexellis / kubernetes-live-show-notes.md
Last active February 16, 2021 14:52
Live show notes - “Is Kubernetes right for us?”
@alexellis
alexellis / setFans.sh
Last active April 1, 2021 09:31 — forked from ppouliot/setFans.sh
Script to set the fan speed on Ampere server
#! /bin/sh
# Alex Ellis 18th Nov 2020
# Updated for the 1U unit, which has 7 fans
logo () {
echo ""
echo " ▄██▄"
echo " ▄█ █▄"
echo " ▄█ █▄"
@alexellis
alexellis / install-k3sup.sh
Last active September 4, 2022 10:27
Multi-master / HA k3s for my Raspberry Pi cluster
#!/bin/bash
set -e
CH=latest
echo Installing Server 1
k3sup install --user pi --ip 192.168.2.147 \
--k3s-channel $CH \
--cluster \
@alexellis
alexellis / inletsctl-role.json
Last active October 4, 2020 16:42
IAM Role for AWS EC2 for inletsctl/inlets-operator
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ec2:AuthorizeSecurityGroupIngress",
"ec2:DescribeInstances",
"ec2:DescribeImages",