Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Rodriguez sethillgard

View GitHub Profile
@sethillgard
sethillgard / notes.txt
Last active Dec 16, 2015
Get color scheme for Solarized on Ubuntu
View notes.txt
Taken from: http://michaelheap.com/getting-solarized-working-on-ubuntu/
Make sure ~/.bashrc is loading ~/.dircolors
Disable all colors on ~/.gitconf for this to work correctly for gitdiff
@sethillgard
sethillgard / gist:4982341
Last active Dec 13, 2015
#silentkrakenblog Manager systems for unity3d, a new approach
View gist:4982341
[RequireComponent(typeof(GameManager))]
[RequireComponent(typeof(ScreenManager))]
[RequireComponent(typeof(AudioManager))]
[RequireComponent(typeof(MissionManager))]
public class Managers : MonoBehaviour
{
private static GameManager gameManager;
public static GameManager Game
{
get { return gameManager; }
@sethillgard
sethillgard / SyntaxHighlighter for the web
Last active Dec 13, 2015
Template code for SyntaxHighlighter
View SyntaxHighlighter for the web
Place this in the <head> tag:
<link href='http://alexgorbatchev.com/pub/sh/2.1.364/styles/shCore.css' rel='stylesheet' type='text/css'/>
<link href='http://alexgorbatchev.com/pub/sh/2.1.364/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
<script src='http://alexgorbatchev.com/pub/sh/2.1.364/scripts/shCore.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/2.1.364/scripts/shBrushCpp.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/2.1.364/scripts/shBrushCSharp.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/2.1.364/scripts/shBrushCss.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/2.1.364/scripts/shBrushJava.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/2.1.364/scripts/shBrushJScript.js' type='text/javascript'></script>
@sethillgard
sethillgard / shell: get java method signatures
Created Feb 1, 2013
shell: get java method signatures
View shell: get java method signatures
On the folder where the .class files live:
javap -s -p ClassName
View Preferences.sublime-settings
{
"highlight_line": true,
"word_wrap": true,
"font_size": 11,
"tabSize": 2,
"translateTabsToSpaces": true,
"trim_trailing_white_space_on_save": true,
"draw_white_space": "all",
"rulers": [80],
"ignored_packages": []
You can’t perform that action at this time.