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 fork splits Console.cs into ConsoleInGame.cs and ExampleSceneScript.cs. | |
ConsoleInGame is a static class containing the main console code while ExampleSceneScript.cs | |
is an example for showing how to use the console in other scripts. | |
*/ | |
using UnityEngine; | |
using System; | |
using System.Collections.Generic; |
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 function takes a Japanese kana word and outputs an HTML pitch accent notation. | |
The notation is explained further in the code comments. | |
More info on Japanese pitch accent notation can be found at the following web pages: | |
- http://en.wikipedia.org/wiki/Japanese_pitch_accent | |
- http://japanese.stackexchange.com/questions/11194/how-does-pitch-accent-work-in-japanese | |
- http://www.sanseido-publ.co.jp/publ/dicts/daijirin_ac.html | |
*/ |
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
<# | |
A helpful PowerShell script for quickly comparing 2 hashes to see if they match or not. | |
Requires Windows 10 at a minimum since it uses the built-in "certutil" tool to generate hashes. | |
The script takes 3 inputs: source, target, and hash type. | |
The "source" and "target" inputs can either be full filepaths for the files being hashed or they | |
can be actual hash strings (for example, both can be filepaths, or both can be hash strings, or | |
one can be a filepath with the other being a hash string). |