This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
bu = "!sh -c 'git checkout -b \"$0\" && git push -u origin \"$0\"'" | |
cb = checkout -b | |
recent = for-each-ref --count=18 --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(color:cyan)%(authorname)%(color:reset) (%(color:green)%(committerdate:relative)%(color:reset)) - %(contents:subject)' | |
lp = log --pretty=format:'%C(yellow)%h%C(reset) - %C(cyan)%an%C(reset) (%C(green)%cr%C(reset))%C(red)%d%C(reset) - %s' | |
rh = reset head --hard |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MimeTypes | |
{ | |
public static string Aiff | |
{ | |
get { return "audio/aiff"; } | |
} | |
public static string Avi | |
{ | |
get { return "video/x-msvideo"; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class EnvironmentVariables | |
{ | |
public static string ApplicationData | |
{ | |
get { return GetVariable("APPDATA"); } | |
set { SetVariable("APPDATA", value); } | |
} | |
public static string ComputerName | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class CultureCodes | |
{ | |
public const string Afrikaans = "af"; | |
public const string Albanian = "sq"; | |
public const string Arabic_Algeria = "ar-dz"; | |
public const string Arabic_Bahrain = "ar-bh"; | |
public const string Arabic_Egypt = "ar-eg"; | |
public const string Arabic_Iraq = "ar-iq"; | |
public const string Arabic_Jordan = "ar-jo"; | |
public const string Arabic_Kuwait = "ar-kw"; |