The Pleasure-Pain

But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure? You cannot separate the sugar rush from the sugar crash… But I must explain to you how all this mistaken idea of […]

Up and running with DNX/DNVM/DNU

PLEASE NOTE THAT THIS CONTENT IS COPY-PASTED FROM : http://www.sblackler.net/2015/05/02/Up-And-Running-With-DNX-DNVM-DNU/   There’s been quiet a few announcements throughout Build 2015. One of the many aspects that I am excited about is the new cross platform runtime environment called DNX, or the .NET Execution Environment. What is DNX? The .NET Execution Environment (DNX) provides a consistent […]

ASP.NET 6 Gotchas…

entity framework migrations only work with classname plis a suffix of id as table id, otherwise, an error… (BY DEFAULT…) do not mix services.AddTransient<AccountService>(); instances with services.AddSingleton<IAccountRepository, AccountRepository>(); services for dependence injection.they result to some funny exception without proper details package management is easier but with wierd errors upon upgrade or adding a new package, […]

Where CSS3 box-shadow property saves…

Creating double border You can easily create a double border with box-shadow property simply by doing this… box-shadow:0 0 0 2px #2A0D0D, 0 0 0 4px #cf8a05;   Stripping HTML elements with all borders If you know what is stripping something like a button, you realize that setting unequal borders results to an ugly element, […]

Validating my Campus registration Number using HTML5 validation

i am creating a project application for someone that i need that i need validating the registration number of a student… i wanted to follow the easiest was of doing it instead of using plugins… i need to validate the following numbers: IN17/24456/2012 in17/24456/12 1Np17/24456/2012 inP17/24456/12 AND HEY, these needs to be ultimately strict, as […]

Using Select2.js jQuery plugin

Lately, I have been on a project that required a heavy use of HTML select. I choose select2 after a period of comparison which other plugins like choose.js and selectize.js. it was very easy to get along, thanks to the almost enough documentation. i am writing this post to answer my own question which I […]