Skip to content

Instantly share code, notes, and snippets.

View NickolausDS's full-sized avatar

Nickolaus D. Saint NickolausDS

View GitHub Profile
@loganknecht
loganknecht / DuplicateHelper.cs
Created January 21, 2015 11:39
This is the DuplicateHelper.cs file I created for Unity to help make the tile map generation of my game Bathroom Brotocol go faster.
// Bathroom Brotocol can be seen here: http://bathroombrotocol.com
using UnityEditor;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class DuplicateHelper {
// This duplicates a game object and increments any number that is a part of its name
[MenuItem("Tools/Duplicate/Duplicate And Increment Name %#d")]
@Fonserbc
Fonserbc / Easing.cs
Last active June 16, 2024 23:00
Compact and simple easing functions for Unity
using UnityEngine;
/*
* Most functions taken from Tween.js - Licensed under the MIT license
* at https://github.com/sole/tween.js
* Quadratic.Bezier by @fonserbc - Licensed under WTFPL license
*/
public delegate float EasingFunction(float k);
public class Easing
@TheBeege
TheBeege / twisted_http_server.py
Last active August 29, 2015 13:57
Twisted HTTP Server with DB Auth
#!/usr/bin/env python2.7
# README:
# So this puppy won't run as is.
# I've commented out the LogAdapter lines that assign
# the logger var. This is because I strongly, strongly
# recommend you have good logging, take the time to
# setup your logger properly, and customize your
# own logging format. Your operations folks will
# thank you (assuming you log useful stuff).