Skip to content

Instantly share code, notes, and snippets.

@keiranlovett
keiranlovett / TriggerVolume.cs
Created January 19, 2016 08:24 — forked from brunomikoski/TriggerVolume.cs
General trigger for detecting collisions
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent(typeof(Collider))]
/// <summary>
/// General purpose trigger volume system
///
/// </summary>
/// <author>Bruno Mikoski</author>
@keiranlovett
keiranlovett / git-feature-workflow.md
Created June 14, 2017 02:15 — forked from blackfalcon/git-feature-workflow.md
Git basics - a general workflow

There are many Git workflows out there, I heavily suggest also reading the atlassian.com [Git Workflow][article] article as there is more detail then presented here.

The two prevailing workflows are [Gitflow][gitflow] and [feature branches][feature]. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited.

When using Bash in the command line, it leaves a bit to be desired when it comes to awareness of state. I would suggest following these instructions on [setting up GIT Bash autocompletion][git-auto].

Basic branching

When working with a centralized workflow the concepts are simple, master represented the official history and is always deployable. With each now scope of work, aka feature, the developer is to create a new branch. For clarity, make sure to use descriptive names like transaction-fail-message or github-oauth for your branches.

@keiranlovett
keiranlovett / Easing.cs
Created June 14, 2017 02:37 — forked from Fonserbc/Easing.cs
Compact and simple easing functions for Unity
using UnityEngine;
/*
* Functions taken from Tween.js - Licensed under the MIT license
* at https://github.com/sole/tween.js
*/
public class Easing
{
public static float Linear (float k) {
@keiranlovett
keiranlovett / USDZ Sample 1
Created October 17, 2018 16:06 — forked from thesurenk/USDZ Sample 1
Universal Scene Description Zip - USDZ Sample Files
@keiranlovett
keiranlovett / beautiful.rest.api.docs.in.markdown.md
Created June 26, 2023 17:58 — forked from azagniotov/beautiful.rest.api.docs.in.markdown.md
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.