Skip to content

Instantly share code, notes, and snippets.

View FullStackForger's full-sized avatar
👾
forging...

Mark FullStackForger

👾
forging...
View GitHub Profile
@FullStackForger
FullStackForger / .gitignore
Last active April 6, 2024 13:19
.gitignore for Unity3d project
###
# Unity folders and files
###
[Aa]ssets/AssetStoreTools*
[Bb]uild/
[Ll]ibrary/
[Ll]ocal[Cc]ache/
[Oo]bj/
[Tt]emp/
[Uu]nityGenerated/
@FullStackForger
FullStackForger / .gitattributes
Last active July 5, 2023 17:59 — forked from nemotoo/.gitattributes
.gitattributes for Unity3D with git-lfs
# Unity
*.cginc text
*.cs diff=csharp text
*.shader text
# Unity YAML
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
@FullStackForger
FullStackForger / git-config.sh
Last active September 21, 2022 22:56
Git colors and aliases configuration
# Git colors and aliases configuration provided by @fullstackforger
git config --global color.ui auto
git config --global color.interactive auto
git config --global alias.s status
git config --global alias.r reset
git config --global alias.alias '!git config --list | grep alias | cut -c 7-'
@FullStackForger
FullStackForger / Easing.cs
Created April 14, 2022 15:42 — forked from mrhelmut/Easing.cs
C# implementation of Robert Penner's easing functions
// TERMS OF USE - EASING EQUATIONS
//
// Open source under the BSD License.
//
// Copyright © 2001 Robert Penner
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
@FullStackForger
FullStackForger / MeshDestroy.cs
Created April 1, 2022 20:26 — forked from ditzel/MeshDestroy.cs
MeshDestroy => Put it on a game object with a mesh filter and renderer. Make sure to have read/write enabled on fbx import
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeshDestroy : MonoBehaviour
{
private bool edgeSet = false;
private Vector3 edgeVertex = Vector3.zero;
private Vector2 edgeUV = Vector2.zero;
@FullStackForger
FullStackForger / EventLogger
Created April 15, 2015 19:42
Registers custom handles for one custom or all UI events ( Unity3d )
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using System.Collections;
// inspired by: https://github.com/AyARL/UnityGUIExamples/blob/master/EventTrigger/Assets/TriggerSetup.cs
// gist: https://gist.github.com/rusticode/05b306f11aa4a33bb113
[RequireComponent(typeof(RectTransform))]
@FullStackForger
FullStackForger / jl-aem-js-dev-helpers.js
Last active September 14, 2018 11:06
JL AEM dev helpers
(function () {
function toggleOverlay () {
const overlayWrapper = document.querySelector('#OverlayWrapper');
overlayWrapper.style.display = overlayWrapper.style.display === 'none' ? '' : 'none';
}
const dev = {}
window.dev = dev;
})();
@FullStackForger
FullStackForger / .bashrc
Created November 20, 2016 23:44 — forked from vsouza/.bashrc
Golang 1.5 setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell or bash.
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
@FullStackForger
FullStackForger / nodejs-tcp-example.js
Created January 4, 2016 17:40 — forked from tedmiston/nodejs-tcp-example.js
Node.js tcp client and server example
/*
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp
server, but for some reason omit a client connecting to it. I added an
example at the bottom.
Save the following server in example.js:
*/
var net = require('net');
@FullStackForger
FullStackForger / keybase.md
Last active November 17, 2016 13:20
keybase.io proof of my github identity

Keybase proof

I hereby claim:

  • I am fullstackforger on github.
  • I am marekee (https://keybase.io/marekee) on keybase.
  • I have a public key ASBvkWfip8xECLWK_60jwdaIOvDWC8L1JKx7w7prYKrAVgo

To claim this, I am signing this object: