This file contains 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
SELECT LOWER(REPLACE(NEWID(),'-','')) |
This file contains 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
// Convert the DOM element to a drawing using kendo.drawing.drawDOM | |
kendo.drawing.drawDOM($(".qr-wrapper")) //#qrMail | |
.then(function(group) { | |
// Render the result as a PNG image | |
return kendo.drawing.exportImage(group); | |
}) | |
.done(function(data) { | |
// Save the image file | |
kendo.saveAs({ | |
dataURI: data, |
This file contains 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 FluentNHibernate.Cfg; | |
using FluentNHibernate.Cfg.Db; | |
using NHibernate; | |
using NHibernate.Cfg; | |
/// <summary> | |
/// NHibernate Helper | |
/// </summary> | |
/// <remarks> | |
/// Because the SessionFactory creation is lazy-loaded, you technically never need to bootstrap NHibernate |
This file contains 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
/*! | |
* Fluent Table Cells - An easily extendible fluent interface for programmatically creating table cells in JavaScript. | |
* Author: Randy Burden | |
* http://www.randyburden.com | |
* Open Source Url: https://gist.github.com/2629702 | |
* | |
* Example usage: | |
var row = '<tr>'; |
NewerOlder