Skip to content

Instantly share code, notes, and snippets.

View michaelgold's full-sized avatar

Michael Gold michaelgold

View GitHub Profile
@michaelgold
michaelgold / docker-compose.yml
Created December 23, 2019 16:10
Wordpress Docker NGINX Letsencrpyt
https-portal:
image: steveltn/https-portal:1
ports:
- '80:80'
- '443:443'
links:
- wordpress
restart: always
environment:
DOMAINS: 'wordpress.mike.gold -> http://wordpress:80'
@michaelgold
michaelgold / decode_jpeg_embedded_content.py
Created February 10, 2023 22:18
Blender script to decode embedded generative art content from a JPEG file inscribed in an ordinal
# ▓▓░ ░▓ ░▓░
# ░██ ▓█ ▓▓ ░▓ ░▓████▓ ░▓ ░▓▓
# ██▓ ▓█▓ █▓ ░█░ ▓██▓░░█▓ █▓ ▓█
# ▓██░ ▓██ ▓▓ ▓█░ ▓▓ ▓█▓░ ▓█░ ░█░ ░█▓
# ░██▓ ▓██▓ ░██░ ▓▓ ░█░ ▓█▓ ░█▓ ▓▓ ▓█░
# ░█▓█▓ ░██▓ ░█▓ ░█░ ▓█ ▓█▓ ░█▓ ░█░ █▓
# ▓█▓█ ░█▓█▓ ▓▓ █▓ ▓█▓ ░█▓ ▓▓ ░█░
# ▓█░▓▓░▓▓▓█ ░ █▓ ░ ░█ ░█▓ ░█▓ ░ █▓ ░▓▓
# ▓█▓ █▓▓▓░█▓ ▓▓ ▓██▓ ░█░▓█▓ ░▓██▓ ░███░ ▓▓ █▓ ░ ▓██▓ ░█ ░▓███
# ░█▓ ▓██▓ ▓█░ ░█░ ▓▓ ▓▓ ▓█▓██▓ ▓█▓░░ ▓█░ █░ ░█░ ░█░ ░▓░▓▓░██▓░░▓▓ ▓▓░░▓
{
"collection": {
"collectionName": "Inscribed Coins",
"collectionDescription": "Inscribed coins are the first collection of on-chain generative art made from a single Blender file which is stored on the Bitcoin blockchain. Each piece is procedurally generated from a unique seed and can be regenerated from the on-chain data at higher levels of detail and other viewing angles.",
"maxSupply": 94,
"collectionExternalUrl": "https://inscribedcoins.com"
},
"artist": {
"artistName": "Michael Gold",
"artistTwitterUrl": "https://twitter.com/michaelgold",

Tasks

Priority Tasks


	dv.table(["Status", "Task", "Link",], dv.pages().file.tasks
	.where(t => {
		console.log("today:")
		console.log(dv.date('today'))
		const isScheduled = t.scheduled <= dv.date('today')
@michaelgold
michaelgold / checkout.sh
Last active April 10, 2024 12:36
Shallow checkout / branch switching for Unreal
#!/bin/bash
# Script to fetch and checkout a shallow clone of a specific branch
# Check if a branch name was provided
if [ $# -eq 0 ]; then
echo "Usage: $0 <branch-name>"
exit 1
fi