This file contains hidden or 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
| <system.webserver> | |
| <validation validateintegratedmodeconfiguration="false"> | |
| <modules runallmanagedmodulesforallrequests="true"> | |
| <remove name="WebDAVModule"> | |
| </remove></modules> | |
| </validation></system.webserver> |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Data.Services; | |
| using System.Data.Services.Common; | |
| using System.Linq; | |
| using System.ServiceModel.Web; | |
| using System.Web; | |
| namespace ODataPrototype | |
| { |
This file contains hidden or 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 void ScatterParts() { | |
| foreach (Transform child in droidModel.transform) { | |
| // Can't do this here, because it mutates the enumerable! | |
| //child.parent = null; | |
| var meshFilter = child.gameObject.GetComponent<MeshFilter>(); | |
| if (meshFilter == null) continue; | |
| var rigidbody = child.gameObject.AddComponent<Rigidbody>(); | |
| var collider = child.gameObject.AddComponent<MeshCollider>(); | |
| collider.sharedMesh = meshFilter.sharedMesh; | |
This file contains hidden or 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
| using UnityEditor; | |
| using UnityEngine; | |
| using System.Collections; | |
| using System.Linq; | |
| public class StationSpawnGizmo : MonoBehaviour { | |
| [DrawGizmo(GizmoType.NotSelected | GizmoType.Pickable)] | |
| static void RenderLightGizmo(GameObject gameObject, GizmoType gizmoType) { | |
| if (gameObject.CompareTag("StationSpawn") && string.IsNullOrEmpty(AssetDatabase.GetAssetPath(gameObject))) { |
This file contains hidden or 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
| [color] | |
| ui = true | |
| [mergetool "diffmerge"] | |
| cmd = /Applications/DiffMerge.app/Contents/MacOS/DiffMerge \ | |
| --nosplash \ | |
| --result="$PWD/$MERGED" \ | |
| "$PWD/$REMOTE" \ | |
| "$PWD/$BASE" \ | |
| "$PWD/$LOCAL" |
This file contains hidden or 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
| [mergetool "diffmerge"] | |
| cmd = /Applications/DiffMerge.app/Contents/MacOS/DiffMerge \ | |
| --nosplash \ | |
| --result="$PWD/$MERGED" \ | |
| "$PWD/$REMOTE" \ | |
| "$PWD/$BASE" \ | |
| "$PWD/$LOCAL" | |
| keepBackup = false | |
| trustExitCode = false | |
| [merge] |
This file contains hidden or 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
| import UnityEngine | |
| import System.Collections | |
| class GoblinController(MonoBehaviour): | |
| public player as GameObject | |
| public world as GameObject | |
| public strikingDistance = 1.5f | |
| public damage = 1f | |
| public swingTime = 0.5f | |
| public swingSound as AudioClip |
This file contains hidden or 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
| #!/bin/sh | |
| # Shell script to install your public key on a remote machine | |
| # Takes the remote machine name as an argument. | |
| # Obviously, the remote machine must accept password authentication, | |
| # or one of the other keys in your ssh-agent, for this to work. | |
| ID_FILE="${HOME}/.ssh/id_rsa.pub" | |
| if [ "-i" = "$1" ]; then |
This file contains hidden or 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
| [user] | |
| name = Logan Barnett | |
| email = [email protected] | |
| [color] | |
| status = auto | |
| branch = auto | |
| diff = auto | |
| [mergetool "diffmerge"] | |
| cmd = /Applications/DiffMerge.app/Contents/MacOS/DiffMerge \ | |
| --nosplash \ |
This file contains hidden or 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 delegate void CreateThingHandler(Func<Thing, Thing> preCreate, Thing thing); | |
| public class Thing | |
| { | |
| public static event CreateThingHandler OnMadeThing; | |
| public bool Valid { get; set;} | |
| List<Thing> things = new List<thing>(); | |
| public static Thing MakeThing(Func<Thing, Thing> func) | |
| { |