- Set an environment variable called
CMDER_ROOT
to your root Cmder folder (in my caseC:\Program Files (x86)\Cmder
). It seems to be important that this does not have quotes around it because they mess with concatenation in the init script. - In your IntelliJ terminal settings, use
"cmd" /k ""%CMDER_ROOT%\vendor\init.bat""
as the Shell path. The double-double-quotes are intentional, as they counteract the missing double quotes in the environment variable.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class AbstractComponent : IComponent | |
{ | |
[NonSerialized] | |
protected readonly Entity _owner; | |
public AbstractComponent(Entity owner) | |
{ | |
_owner = owner; | |
ID = Guid.NewGuid().ToString("n"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fuck Bait IMO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Dictionary<ComponentTypesEnum, List<ComponentEcs>> _componentPools = | |
new Dictionary<ComponentTypes, List<ComponentEcs>>(new FastEnumIntEqualityComparer<ComponentTypes>()); // This is the custom comparator passed into the dict constructor | |
struct FastEnumIntEqualityComparer<TEnum> : IEqualityComparer<TEnum> | |
where TEnum : struct | |
{ | |
static class BoxAvoidance | |
{ | |
static readonly Func<TEnum, int> _wrapper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Zen.Common.Debug | |
{ | |
#region Dependencies | |
using UnityEngine; | |
#endregion | |
public class FpsCounter : MonoBehaviour | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | |
ls = log --oneline | |
amend = commit -a --amend -C HEAD | |
new = !sh -c 'git log $1@{1}..$1@{0} "$@"' | |
ci = commit | |
co = checkout | |
cm = !git add . && git commit -a -m '$1' && git push && : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma warning disable 0414, 0219, 649, 169, 1570 | |
using System; | |
using UnityEngine; | |
using System.Collections.Generic; | |
using System.Linq; | |
public enum Tags : long | |
{ | |
None = 0, | |
Player = 1 << 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
#KeyHistory 100 | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SetTitleMatchMode, fast | |
SetTitleMatchMode, 2 | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#Persistent | |
#IfWinActive Ableton Live 9 Suite | |
^WheelUp:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# UNREAL # | |
*.uasset filter=lfs diff=lfs merge=lfs -text | |
*.umap filter=lfs diff=lfs merge=lfs -text | |
*.upk filter=lfs diff=lfs merge=lfs -text | |
*.udk filter=lfs diff=lfs merge=lfs -text | |
*.bin filter=lfs diff=lfs merge=lfs -text | |
#Unity | |
*.cginc text | |
*.shader text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This snippet binds a function to the "dom:loaded" event. | |
You can put your own javascript into the function, or replace | |
the entire snippet. --> | |
<script type="text/javascript"> | |
Event.observe(document,"dom:loaded", function() { | |
//Just filter by span since BB uses random hashes for class names | |
let elements = document.getElementsByTagName('span'); | |
let matching = "None"; | |
for (let i = 0; i < elements.length; i++) { |
OlderNewer