Skip to content

Instantly share code, notes, and snippets.

View terrehbyte's full-sized avatar
Keqing Story Quest When?

Terry Nguyen terrehbyte

Keqing Story Quest When?
View GitHub Profile
@terrehbyte
terrehbyte / GoogleSOS.js
Last active August 29, 2015 14:01
This poorly constructed script will change the Google homepage logo into the SOS Brigade logo.
// ==UserScript==
// @id GoogleSOS
// @name Google to SOS Changer
// @version 1.0.0
// @namespace http://terrehbyte.com
// @description Changes Google's HP Logo to TMoHS SOS Logo
// @include https://www.google.com/*
// @version 1
// @grant none
// ==/UserScript==
@terrehbyte
terrehbyte / Mraih.md
Last active August 29, 2015 14:07
Mrah.md

Coffee Reasons for Mrarh

  1. Aided in Résumé Refinement
  2. "Won at Nothing"
  3. "Made M-Riah Call Me a Meanyhead"
  4. Asked if she would still get "that free coffee"
  5. Consumed too much chocolate
  6. Aided in blog color palette

@terrehbyte: please misspell mrih every time you spell "the name" that shall not be spokne

@terrehbyte
terrehbyte / keybase.md
Created October 14, 2014 11:42
keybase.md

Keybase proof

I hereby claim:

  • I am terrehbyte on github.
  • I am terrehbyte (https://keybase.io/terrehbyte) on keybase.
  • I have a public key whose fingerprint is 1039 4917 5F46 C11A BAA7 3967 52C6 9273 14A7 7E22

To claim this, I am signing this object:

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("open.gl")
{
body
{
color: #777;
background-color: #111;
}
@terrehbyte
terrehbyte / ImportScale.cs
Last active August 29, 2015 14:11
Forces the import scale to 1.
using UnityEditor;
using System.Collections;
public class ImportScale : AssetPostprocessor
{
public void OnPreprocessModel()
{
ModelImporter modelImporter = (ModelImporter)assetImporter;
modelImporter.globalScale = 1;
}

Keybase proof

I hereby claim:

  • I am terrehbyte on github.
  • I am terrehbyte (https://keybase.io/terrehbyte) on keybase.
  • I have a public key whose fingerprint is C960 3EE5 D239 01B4 671D 00DD 3587 DDA1 12AC 6000

To claim this, I am signing this object:

@terrehbyte
terrehbyte / ResetPlayerPrefs.cs
Created June 3, 2015 17:05
This simple Editor script adds a menu item for resetting your current PlayerPrefs data. This script must be placed in a folder where its immediate or grandfather directories is called "Editor".
using UnityEditor;
using UnityEngine;
public class PlayerPrefsEditor : MonoBehaviour
{
[MenuItem ("Tools/Reset Player Prefs")]
static void PlayerPerfsReset()
{
PlayerPrefs.DeleteAll();
}

p.netshowcorrections 1

shows you server-client corrections in position

@terrehbyte
terrehbyte / OBS-dual-audio-setup.txt
Last active January 3, 2016 20:39
terrehbyte's Streaming Setup
This is my streaming set up that allows me to listen to music and talk on Skype while only broadcasting sounds from the game and optionally, my microphone of choice.
Sound Devices
=============
Creative X-Fi USB Sound Card (A.K.A. Creative-*)
Playback
Speaker
SPDIF-Out
Recording
@terrehbyte
terrehbyte / UnityCollab.md
Last active May 9, 2016 23:34
A rough guide on how2unity4tems.

Unity Collaboration Guidelines

So you want to make a game in Unity with more than one person (meaning, not you!). Here's a quick list of things that you'll want to look out for. You can read the description below them for any relevant steps or information.

1. Unity Versions

As Unity introduces new features and API changes, the stability of your codebase