Skip to content

Instantly share code, notes, and snippets.

View BillRaymond's full-sized avatar

Bill Raymond BillRaymond

View GitHub Profile
@BillRaymond
BillRaymond / gist:b39ae5d862aa81a250b70b812bd5d1cc
Last active December 29, 2024 10:25
Dockerfile to build a specific version of Python and set it as the default using Deadsnakes
####
# Specify the OS you want to run the Docker container in
# For the latest version of Ubuntu, use:
# FROM ubuntu:latest
# Learn more about this Ubuntu image, and versions (tags):
# https://hub.docker.com/_/ubuntu
####
FROM ubuntu:22.04
#####
@BillRaymond
BillRaymond / devcontainer.json
Created June 19, 2023 22:48
Add VSC extensions to dev containers
// Look at the customizations section to see how to automatically install various
// extensions into the dev container after a build or rebuild
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
@BillRaymond
BillRaymond / README.md
Last active January 18, 2025 02:33
Run AUTOMATIC1111's Stable Diffusion Web UI in Docker and VSC on Mac M-series chips

Run AUTOMATIC1111's Stable Diffusion Web UI on a Mac M1 using Docker and Visual Studio Code

👉 This is for testing purposes. It is using Docker. It will be slow and may crash. I suggest you read the FAQ and Docker Pre-requisites sections before jumping into this.

Stable Diffusion Prompt: A beautifully colored cat sitting in the clouds with a rainbow in the background, in the style of Andy Warhol

Like this?

@BillRaymond
BillRaymond / GitHub Pages Jekyll Dockerfile
Last active March 23, 2025 01:04
GitHub Pages and Jekyll Dockerfile
# "#################################################"
# Dockerfile to build a GitHub Pages Jekyll site
# - Ubuntu 22.04
# - Ruby 3.1.2
# - Jekyll 3.9.3
# - GitHub Pages 288
#
# This code is from the following Gist:
# https://gist.github.com/BillRaymond/db761d6b53dc4a237b095819d33c7332#file-post-run-txt
#
@BillRaymond
BillRaymond / index.html
Created April 23, 2020 17:02
Responsive CSS Grid hero image, masthead, banner image
<div class="top-banner-section">
<div class="banner-image-div">
<img class="banner-image" src="https://source.unsplash.com/random" alt="Banner Image" />
</div>
<div class="banner-overlay-div"></div>
<div class="banner-text-div">
<span class="banner-text">
<p class="banner-h1-text">Remain relevant in today's technology-driven economy</p>
<p class="banner-body-text">Learn how agile can give you a competitive edge.</p>
<p class="banner-btn"><a class="banner-btn-item" href="https://www.cambermast.com">Get started &#8594;</a></p>