Skip to content

Instantly share code, notes, and snippets.

View modality's full-sized avatar

Michael Hansen modality

View GitHub Profile
@crappygraphix
crappygraphix / RoomThemer.cs
Last active May 21, 2021 22:46
Volume Based Randomized Themer
using UnityEngine;
using System.Collections.Generic;
using DungeonArchitect;
using DungeonArchitect.Graphs;
using DungeonArchitect.Utils;
using DungeonArchitect.Flow.Domains.Tilemap;
using DungeonArchitect.Builders.GridFlow;
/// <summary>
/// Spawns various theme override volumes around rooms and corridors.
@marcel
marcel / gist:2100703
Created March 19, 2012 07:24
giftube – Generates an animated gif from a YouTube url.
#!/usr/bin/env ruby
# giftube – Generates an animated gif from a YouTube url.
#
# Usage:
#
# giftube [youtube url] [minute:second] [duration]
#
# ex.
#
#!/usr/bin/env ruby
# script/whitespace
#
# Strips whitespace from any files modified in git
# Also:
# - converts tabs to spaces
# - ensures a single newline at the end
class WhitespaceProcessor
def self.process(code)
We couldn’t find that file to show.
@bryanl
bryanl / campfire-emoji.txt
Created January 27, 2011 16:34
campfire emoji
Surround these with : e.g. :calling:
+1
-1
bulb
calling
clap
cop
email
feet