Skip to content

Instantly share code, notes, and snippets.

@twobob
twobob / diff.py
Last active July 29, 2023 19:43
Amendment to the stable diffusion notebook to do titling and generate /n/ images
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
import math
#Self contain this for easy single clicking
from PIL import Image
def image_grid(imgs, rows, cols):
#assert len(imgs) == rows*cols
w, h = imgs[0].size
grid = Image.new('RGB', size=(cols*w, rows*h))
@millxing
millxing / quence01.lua
Last active February 8, 2020 18:49
This is the latest version (as of 11/4/2018) of QUENCE, a probabilistic MIDI sequencer for norns and grid (monome.org)
-- Q * U * E * N * C * E
--
-- a probababilistic
-- 4-track MIDI sequencer
-- for norns and grid
--
-- Rob Schoen
-- millxing at gmail
-- inspired by Turing Machine, Fugue Machine, and Physical (Norns Study #4)
@wsargent
wsargent / win10-dev.md
Last active March 21, 2024 04:27
Windows Development Environment for Scala

Windows 10 Development Environment for Scala

This is a guide for Scala and Java development on Windows, using Windows Subsystem for Linux, although a bunch of it is applicable to a VirtualBox / Vagrant / Docker subsystem environment. This is not complete, but is intended to be as step by step as possible.

Harden Windows 10

Read the entire Decent Security guide, and follow the instructions, especially: