Skip to content

Instantly share code, notes, and snippets.

View lightway82's full-sized avatar

Nick lightway82

View GitHub Profile
@lightway82
lightway82 / gist:8c7811e112ada2f9003f56440ca50180
Created June 27, 2021 16:15
Starting scene manager for unity
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
namespace Editor
{
/// <summary>
/// Scene auto loader. Add this file in Assets/Editor folder
/// </summary>
/// <description>
@lightway82
lightway82 / gist:ccbfa50b61c18b8c2518388d98dedaa3
Created January 1, 2017 18:25 — forked from ishikawa/gist:88599
Java Sample Code for Calculating HMAC-SHA1 Signatures
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SignatureException;
import java.util.Formatter;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
/**