Skip to content

Instantly share code, notes, and snippets.

View SuperIzzo's full-sized avatar

Hristoz Stefanov SuperIzzo

View GitHub Profile
@SuperIzzo
SuperIzzo / ChromeKioskRunner.cs
Last active July 16, 2017 11:32
A quick and dirty hack to run chrome in Fullscreen (Kiosk) mode
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace ChromeKioskRunner
{
class Program
{
private const uint WM_KEYDOWN = 0x100;
private const int VK_F11 = 0x7A;
@SuperIzzo
SuperIzzo / WaterAnimation.cs
Last active January 4, 2016 10:24
Unity 5 simple water animation, does what the Unity 4 basic water used to, but with the new standard shader.
/** -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- **\
|* *|
* <file> WaterAnimation.cs </file> *
* *
* <copyright> *
* Copyright (C) 2015 Hristoz Stefanov *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation *
@SuperIzzo
SuperIzzo / BitArrayTest
Created April 4, 2015 21:24
.Net BitArray serialization and deserialization example in Unity. A lot of room for improvement, but that's the gist.
using UnityEngine;
using System.Collections;
public class BitArrayTest : MonoBehaviour
{
// Use this for initialization
void Start ()
{
BitArray array = new BitArray( new bool[]{true, false, true, true, false, false} );
Debug.Log( StrBits(array) );