Skip to content

Instantly share code, notes, and snippets.

View averyfreeman's full-sized avatar

Avery Freeman averyfreeman

View GitHub Profile
# did docker compose down --rmi all beforehand
➜ avery workshop vitualenv:(.venv) docker container ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
➜ avery workshop vitualenv:(.venv) docker compose up --build
[+] Running 21/21
✔ pgadmin Pulled 13.2s
✔ 540db60ca938 Already exists 0.9s
✔ 703171bdeac3 Pull complete 3.9s
```
wiz = ["Wizard",70,150]
elf = ["Elf",70,100]
hum = ["Human",150,20]
dragon = ["Trump",300,150]
print("Welcome to Function Scope Issue Example!")
print(
f"1) {wiz[0]}\n"
@averyfreeman
averyfreeman / server-core-enable-remote-computer-management.md
Created November 26, 2023 13:20
Allow remote access of Computer Management to Windows Server Core from RSAT Server Manager

Trying to remotely invoke Computer Management on newly installed Server Core instance invokes warning by default:

COM+ and WMI closed to you

To enable Computer Management from remote Server Manager instance in Windows Server Core:

open regedit - type regedit, hit enter

@averyfreeman
averyfreeman / create-and-mount-zvol-for-use-with-systemd-container.md
Last active March 3, 2022 05:04
create and mount a zvol for use with systemd-container
title author date
btrfs zvol for systemd-container
averyfreeman
2022-03-02

calculating volume

btrfs zvol for use with systemd-container

@averyfreeman
averyfreeman / mongodb-in-systemd-container.md
Last active March 3, 2022 05:52
mongodb in a systemd container (systemd-nspawn/machinectl)
title author date
mongodb in systemd-container
averyfreeman
2022-03-01

happy robot

mongodb in systemd-container

@averyfreeman
averyfreeman / bs-config.js
Created September 8, 2021 11:44
browser-sync bs-config.js that will end the document.write errors in devTools
'use strict';
// var fallback = require('connect-history-api-fallback');
// var log = require('connect-logger');
/*
| For up-to-date information about the options:
| http://www.browsersync.io/docs/options/
*/
module.exports = {
port: 8085,
injectChanges: true,