This file contains 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
deb http://mirror.internode.on.net/pub/debian/ testing main contrib non-free | |
deb-src http://mirror.internode.on.net/pub/debian/ testing main contrib non-free | |
deb http://security.debian.org/ testing/updates main | |
deb-src http://security.debian.org/ testing/updates main |
This file contains 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
export EC2_ACCESS_KEY='XXX'; | |
export EC2_SECRET_KEY='XXX'; | |
./build-debian-cloud ec2 --volume-size 20 --filesystem ext4 --plugin plugins/admin-user --description 'Debian 7 (Wheezy)' --plugin plugins/publish-ami --plugin plugins/publish-snapshot --codename wheezy; |
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<configSections> | |
<section name="Logging" type="NServiceBus.Config.Logging, NServiceBus.Core" /> | |
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/> | |
</configSections> | |
<Logging Threshold="TRACE" /> | |
<log4net debug="false"> | |
<appender name="console" type="log4net.Appender.ConsoleAppender"> | |
<layout type="log4net.Layout.PatternLayout"> |
This file contains 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 void InitNsbHost() | |
{ | |
string[] assemblyScanerPattern = new[] {@"your.namespace.*.dll"}; | |
// Make sure process paths are sane... | |
Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory); | |
// begin setup of autofac >> | |
ContainerBuilder builder = new ContainerBuilder(); |
This file contains 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
string encodedData = System.IO.File.ReadAllText("EncodedData.txt"); | |
string decodedData = HttpUtility.HtmlDecode(encodedData); | |
Console.WriteLine(decodedData); | |
System.IO.File.WriteAllText("DecodedData.txt", decodedData); | |
Console.WriteLine("done..."); | |
Console.ReadLine(); |