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
| @import "breakpoints.less"; | |
| /**Font awesome : http://fontawesome.io*/ | |
| @mobilePhone: "\f10b"; //fa-mobile | |
| @tablet: "\f10a"; //fa-tablet | |
| @laptop: "\f109"; //fa-laptop | |
| @desktop: "\f11c"; //fa-keyboard-o | |
| @widescreen: "\f108"; //fa-desktop | |
| @tv: "\f26c"; //fa-television |
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
| namespace kwd.gist { | |
| using System.Collections.Generic; | |
| public class CircularStack<T> | |
| { | |
| private readonly int _max; | |
| private readonly List<T> _items = new List<T>(); | |
| public CircularStack(int max) | |
| { | |
| _max = max; |
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 System.Diagnostics; | |
| using System.Linq; | |
| using Microsoft.Web.Administration; | |
| using Microsoft.WindowsAzure.ServiceRuntime; | |
| namespace Kwd.Web | |
| { | |
| /// <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
| namespace derek.kowald.util | |
| { | |
| public static class IEnumerableExtension | |
| { | |
| /// <summary> | |
| /// Generic split operation, behave the same as string split. | |
| /// </summary> | |
| /// <remarks> | |
| /// Other usefull split options, such as count and remove empty from string.split() | |
| /// are better implemented with a little linq code: |
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.IO; | |
| using System.Net; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| namespace MyApplication.Core.Tests | |
| { | |
| /// <summary> | |
| /// Intergrate a qunit test with mstest. | |
| /// </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 System; | |
| using ImpromptuInterface; | |
| using Spring.Objects.Factory.Config; | |
| namespace derek.kowald.BaseWebApp.Core.Extensions.Spring | |
| { | |
| /// <summary> | |
| /// Custom <a href='http://www.springframework.net/'>spring.net</a> | |
| /// factory for creating an object that implements | |
| /// a specified interface, using a target object (<a href='http://en.wikipedia.org/wiki/Duck_typing'>duck-typing</a>). |
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
| namespace derek.kowald.MVC | |
| { | |
| using System; | |
| using System.Web; | |
| using System.Web.Mvc; | |
| using System.Web.Routing; | |
| /// <summary> | |
| /// Custom route handler so a form submit button can | |
| /// define the mvc action to take. |
NewerOlder