Skip to content

Instantly share code, notes, and snippets.

View CountZachula's full-sized avatar

CountZachula

  • Hamburg, Germany
View GitHub Profile
@CountZachula
CountZachula / State.cs
Last active December 21, 2015 16:59
U.S. state class with static name-abbreviation properties.
/// <summary>
/// State (U.S.).
/// </summary>
public class State
{
public static string Alabama { get { return "AL"; } }
public static string Alaska { get { return "AK"; } }
public static string Arizona { get { return "AZ"; } }
public static string Arkansas { get { return "AR"; } }
public static string California { get { return "CA"; } }
@CountZachula
CountZachula / gnome-shell-install.sh
Created March 1, 2013 01:30
Download and install Gnome Shell (Ubuntu 12.10)
# If you can't stand Unity, download the default Gnome Shell.
# If you can't stand the new Gnome 3 interface, start a Gnome
# classic session at login :).
sudo apt-get install gnome-shell
@CountZachula
CountZachula / xampp-install.sh
Last active December 14, 2015 07:48
Download and install XAMPP (Ubuntu 12.10)
# Download and install XAMPP (Ubuntu 12.10)
# Depends on python-gtk2:i386 and python-glade2:i386 for the Control Panel
# If all else fails, XAMPP has step by step instructions at: http://www.apachefriends.org/en/xampp-linux.html
sudo add-apt-repository ppa:upubuntu-com/xampp;
sudo apt-get update;
sudo apt-get install xampp;
# Append the following if you're on a 64-bit system (~250MB)
sudo apt-get install ia32-libs
@CountZachula
CountZachula / sublime-text-2-install.sh
Last active December 14, 2015 05:40
Download and install Sublime Text 2 (Ubuntu 12.10).
# Download and install Sublime Text 2 (Ubuntu 12.10)
# Credit: hugorodgerbrown
sudo add-apt-repository ppa:webupd8team/sublime-text-2;
sudo apt-get update;
sudo apt-get install sublime-text;
sudo ln -s /usr/lib/sublime-text-2/sublime_text /usr/local/bin/sublime