Skip to content

Instantly share code, notes, and snippets.

View Darksecond's full-sized avatar
🦊

Tim Peters Darksecond

🦊
View GitHub Profile
@steipete
steipete / RandomColor.swift
Created April 6, 2021 17:20
Random Color for SwiftUI
extension Color {
/// Return a random color
static var random: Color {
return Color(
red: .random(in: 0...1),
green: .random(in: 0...1),
blue: .random(in: 0...1)
)
}
}
@aveao
aveao / proxy.py
Last active May 27, 2022 19:44 — forked from richardg867/proxy.py
Comic Chat fixer - ugly python3 fork with QoL features and optional twitch support
#
# Comic Chat fixer MITM proxy: fixes Comic Chat to (sort of) work with modern
# IRC servers. Tested with Microsoft Chat 2.5 on Windows XP, 8 and 10
#
# This is a fork by ave with additional fixes and python3 support
# Alongside some other QoL features like color nicks being displayed in chat
# https://gist.github.com/aveao/f6d40f41a424b1d9a54c9aba39742b76
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by