Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
# Sim.ai LXC Container Setup Script for Proxmox (Interactive Version)
#
# This script automates the complete setup of sim.ai in an LXC container on Proxmox
# with interactive storage and template selection.
#
# Usage: Run this script on the Proxmox host
# sudo bash setup-simstudio-lxc-interactive.sh
#
@tpickle-py
tpickle-py / autoadmin.py
Created August 10, 2022 00:07 — forked from fabiocerqueira/autoadmin.py
Register on admin models for modules without the admin.py file
from django.conf import settings
from django.db.models import get_models
from django.utils.importlib import import_module
from django.utils.module_loading import module_has_submodule
from django.contrib.admin.sites import AlreadyRegistered
from django.contrib import admin
def autodiscover():
for app in settings.INSTALLED_APPS:
@tpickle-py
tpickle-py / settings.json
Last active February 1, 2022 01:11 — forked from nottrobin/settings.json
VSCode editor settings for black, flake8, html, python
{
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length",
"88"
],
"editor.formatOnSave": true,