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
# Description: Boxstarter Script | |
# Original Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2018-12-02 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
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
# Description: Boxstarter Script | |
# Original Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2018-12-02 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
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
# Description: Boxstarter Script | |
# Original Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2018-12-02 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
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
# Description: Boxstarter Script | |
# Original Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2018-12-02 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
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
Output from Visual Studio 2017 (15.8.1), Symbol Load Information, just Microsoft Symbol Servers part: | |
SYMSRV: BYINDEX: 0x4 | |
C:\symbols*https://msdl.microsoft.com/download/symbols | |
dxgi.dll | |
50F30FBD5d000 | |
SYMSRV: UNC: C:\symbols\dxgi.dll\50F30FBD5d000\dxgi.dll - path not found | |
SYMSRV: UNC: C:\symbols\dxgi.dll\50F30FBD5d000\dxgi.dl_ - path not found | |
SYMSRV: UNC: C:\symbols\dxgi.dll\50F30FBD5d000\file.ptr - path not found | |
SYMSRV: HTTPGET: /download/symbols/index2.txt |
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
Visual Studio Find and Replace Regular Expressions to replace c# 'foreach' loops with 'for' loops. | |
Useful for Unity scripts that want to reduce dynamic allocations. | |
Container is assumed to be List, so 'Count' is used rather than Length - will need fixing up after replacement if this is wrong. | |
Replacements follow this pattern: | |
foreach (Type name in container) | |
{ | |
... becomes: |
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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Pathfinding; | |
using Pathfinding.RVO; | |
/** Adds a GridGraph as RVO obstacles. | |
* Add this to a scene in which has a GridGraph based graph, when scanning (or loading from cache) the graph | |
* it will be added as RVO obstacles to the RVOSimulator (which must exist in the scene). | |
* |
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
[^\S\r\n]+(?=\r?$) |
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 | |
git ls-files -i -z --exclude-standard | xargs -0 -r git rm --cached |