Skip to content

Instantly share code, notes, and snippets.

View Guro's full-sized avatar

Guro Khundadze Guro

  • anthropic
  • Georgia
View GitHub Profile
{
"id": "default",
"description": "Default settings",
"engineFactory": "ge.myvideo.recommendations.RecommendationEngine",
"datasource": {
"params" : {
"name": "sample-handmade-data.txt",
"appName": "videos",
"eventNames": ["purchase", "view"]
}
@Guro
Guro / GUIScaler.cs
Last active August 29, 2015 14:05 — forked from darktable/GUIScaler.cs
Improved version of the original gist with new methods
using UnityEngine;
using System.Collections;
namespace UnityEngine {
/// <summary>
/// Usage:
///
/// (optional) Call GUIScaler.Initialize() in Start(), Awake() or OnEnable() (only needed once)
/// Call GUIScaler.Begin() at the top of your OnGUI() methods
/// Call GUIScaler.End() at the bottom of your OnGUI() methods