Sample IIS log pipeline with logstash https://t.co/DMbg6y4Bqg
Vue.js
November 1, 2018Lengthy tutorial for Vue.js and other useful tools.
https://www.infoq.com/articles/vue-getting-started-aws-bulma
HTML on-line tools
May 27, 2016A Look At Akka.NET
September 29, 2015Nice article about Akka.Net http://www.codeproject.com/Articles/1007161/A-Look-At-Akka-NET
Check my new app My WishingWall
October 31, 2012Hi Everyone, we are very pleased to announce that our My WishingWall has finally reached its first public release ! You can try it right here -> http://apps.facebook.com/mywishingwall/ and be sure to check out our bookmarklet app that let’s you add virtually any product from any website on the net !
My check null
December 20, 2011There are many solutions on the net for avoiding the null check. Here is mine:
public interface Option<T> { } public struct Nothing<T> : Option<T> { } public struct Just<T> : Option<T> { public readonly T Value; public Just(T value) { Value = value; } } public static class OptionExtentions { public static Option<T> ToOption<T>(this T value) { return (value == null) ? new Nothing<T>() as Option<T> : new Just<T>(value); } public static U Select<T, U>(this Option<T> option, Func<T, U> func) { return option.Select(func, () => default(U)); } public static U Select<T, U>(this Option<T> option, Func<T, U> whereJust, Func<U> whereNothing) { return option is Just<T> ? whereJust(((Just<T>)option).Value) : whereNothing(); } }
And implementation:
return (from h in HttpContext.Current.ToOption() select h.User);