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
| <appSettings> | |
| <add key="log4net.Internal.Debug" value="true"/> | |
| </appSettings> | |
| <system.diagnostics> | |
| <trace autoflush="true"> | |
| <listeners> | |
| <add | |
| name="textWriterTraceListener" | |
| type="System.Diagnostics.TextWriterTraceListener" | |
| initializeData="C:\log4net.txt" /> |
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
| using System.Security.Cryptography; | |
| using System.Text; | |
| namespace Snippets | |
| { | |
| public static class SHA1Util | |
| { | |
| /// <summary> | |
| /// Compute hash for string encoded as UTF8 | |
| /// </summary> |
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
| using NUnit.Framework; | |
| [TestFixture] | |
| public class SomeTest | |
| { | |
| [SetUp] | |
| public void Setup() | |
| { | |
| } |
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
| using System; | |
| using System.Collections.Generic; | |
| using MyNustache.Properties; | |
| using Nustache.Core; | |
| namespace MyNustache | |
| { | |
| class Name | |
| { |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>2 - Responsive image</title> | |
| <style> | |
| img { | |
| max-width: 100%; | |
| min-width: 500px; | |
| height: auto; | |
| } |
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
| { | |
| "title": "转专讙讜诐 砖驻讜转", | |
| "link": "注讘专讬转", | |
| "footer": { | |
| "disclaimer": "诇讛转专讗讜转" | |
| } | |
| } |
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
| // Copyright (c) Damien Guard. All rights reserved. | |
| // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | |
| // Originally published at http://damieng.com/blog/2010/10/17/enums-better-syntax-improved-performance-and-tryparse-in-net-3-5 | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace DamienG.System |
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
| using System; | |
| using Microsoft.Build.BuildEngine; | |
| using Project = Microsoft.Build.BuildEngine.Project; | |
| namespace ConsoleApplication16 | |
| { | |
| class Program | |
| { | |
| [STAThread] | |
| static void Main(string[] args) |