Skip to content

Instantly share code, notes, and snippets.

View Jalict's full-sized avatar

Frans Larsen Jalict

View GitHub Profile
@kinifi
kinifi / GameManager.cs
Last active September 2, 2019 02:24
This is the standard singleton I use for basic data in Unity games.
/*
* Game Manager
* This is how we will save our persistent data such as:
* Logged in save data from a json file and assigning variables which we access in game
* With this Singleton we can store data we need for later use
* Example on how to use: GameManager.Instance.[Variable Name / Method Name]
* Methods and Variables must be public
* Note: A new singleton should be created per platform for achievements string literals and specific achievement methods
*
*/
@meSingh
meSingh / sublime-text-installation-instructions.md
Last active June 7, 2020 16:20
Sublime Text Installation Instructions for Ubuntu 13.04 and Elementary OS Luna

Sublime Text 2 Installation Guide: Ubuntu 13.04 and Elementary OS Luna

1. Install Sublime Text 2

Open terminal

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

2. Install Sublime Package Control

@Kerrick
Kerrick / gist:2716568
Created May 17, 2012 05:08
HOWTO install Sublime Text 2 in Debian Squeeze
# Download Sublime Text 2 from http://www.sublimetext.com/2
# If you aren't root, sudo su
tar -xvjf Sublime\ Text\ 2*.tar.bz2
mv Sublime\ Text\ 2/ /opt/sublime-text-2/
ln -s /opt/sublime-text-2 /usr/local/sublime-text-2
ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text
rm Sublime\ Text\ 2*.tar.bz2
# Sublime Text 2 can now be run as normal user with command "sublime_text"