Simple bat script for keeping site up and running
keepsitealive.bat:
@echo off :start cls echo This is a loop wget http://mysite.localhost --spider timeout /t 60 /nobreak goto start
The script runs a get request against the url given every 60 seconds.
–spider indicates wget should not download anything.
Script above uses wget
Plunker online js html css editor
Smart online editor for testing out and sharing js, html and css. E.g. try out angular.js, jQuery etc.
Getting Started with Mustache.js in ASP.NET MVC
c# – Check if ‘T’ inherits or implements a class/interface – Stack Overflow
typeof(IEmployee).IsAssignableFrom(typeof(T))
via c# – Check if ‘T’ inherits or implements a class/interface – Stack Overflow.
MVC5 + EF6 ContosoUniversity code first approach using MySQL
How to, see link below.
Blogs View.
On Writing Maintainable Code | Jeremy D. Miller
Introducing Gulp, Grunt, Bower, and npm support for Visual Studio – Scott Hanselman
Continuous Tests – Mighty Moose
Get date from 60 days ago in SQL
Like this:
SELECT * FROM MyTable
WHERE myTable.Created > DATEADD(day, -60, GETDATE())