Skip to content

Instantly share code, notes, and snippets.

Avatar

Joseph Cassano MultiversalNomad

View GitHub Profile
@MultiversalNomad
MultiversalNomad / compareHashes.ps1
Last active Nov 13, 2020
A helpful PowerShell script for quickly comparing 2 hashes to see if they match or not. See code comments for details.
View compareHashes.ps1
<#
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).
@MultiversalNomad
MultiversalNomad / JPANotationHTML.cs
Last active Nov 4, 2020
This function takes a Japanese kana word and outputs an HTML pitch accent notation. See code comments for details.
View JPANotationHTML.cs
/*
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
*/
@MultiversalNomad
MultiversalNomad / ConsoleInGame.cs
Last active Nov 4, 2020 — forked from mminer/Console.cs
This fork splits Console.cs into ConsoleInGame.cs and ExampleSceneScript.cs. See code comments for details.
View ConsoleInGame.cs
/*
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;
You can’t perform that action at this time.