Skip to content

Instantly share code, notes, and snippets.

View jasondentler's full-sized avatar

Jason Dentler jasondentler

View GitHub Profile
This file has been truncated, but you can view the full file.
; generated by Slic3r Prusa Edition 1.41.2+ on 2019-01-03 at 08:37:20
;
; external perimeters extrusion width = 0.42mm
; perimeters extrusion width = 0.38mm
; infill extrusion width = 0.68mm
; solid infill extrusion width = 0.50mm
; top infill extrusion width = 0.40mm
; first layer extrusion width = 0.53mm

Keybase proof

I hereby claim:

  • I am jasondentler on github.
  • I am jasondentler (https://keybase.io/jasondentler) on keybase.
  • I have a public key ASBhvVbzXe3lD-sX1Xiv4R-81laCtpLcsKzlhsqmgJm92Qo

To claim this, I am signing this object:

@jasondentler
jasondentler / Global.asax.cs
Last active July 11, 2017 14:32
TransactionScope + NHibernate unit of work in Web API
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using JobService.Filters;
namespace JobService
{
public class WebApiApplication : HttpApplication
{
namespace Land.Core.Commands
{
public interface ICommand { }
public class AddContractCommand : ICommand
{
public Guid Id { get; set; }
public string Name { get; set; }
public string ContractTerms { get; set; }
}
using TechTalk.SpecFlow;
namespace DWH.Pricing.Tests
{
[Binding]
public class FlexSpaceSteps
{
[Given(@"a selected flexspace (.*) ""(.*)""")]
public void GivenASelectedFlexspace(string optionNumber, string description)
public class City : IEntity
{
public string Id { get; set; }
public string Name { get; set; }
public string State { get; set; }
public bool Disabled { get; set; }
}
public class NewCityInputModel
{
public class EditMasterQuery
{
private readonly IDocumentSession _session;
public EditMasterQuery(IDocumentSession session)
{
_session = session;
}
public MasterWithSubdocs Execute(string masterId)
{
@jasondentler
jasondentler / form.cshtml
Created July 25, 2013 14:54
Scope autocomplete
<div class="control-group">
@Html.LabelFor(m => m.Scope, new {@class = "control-label"})
<div class="controls">
@Html.TextBoxFor(m => m.Scope)
</div>
</div>
@section scripts
{
namespace DWH.Security
{
public static class Constants
{
public const string ActionPrefix = "PERM-";
public const string CommunityPrefix = "PERM-COMM-";
public const string ProjectPrefix = "PERM-PROJ-";
public const string DivisionPrefix = "PERM-DIV-";
public const string MarketPrefix = "PERM-MKT-";
@jasondentler
jasondentler / FacetSetup.cs
Last active December 10, 2015 21:59
RavenDB Faceted Search blog post
// Run when we initialize the database, along with uploading indices and stuff
session.Store(new FacetSetup()
{
Facets = HomeSearchFacetSetup.Facets().ToList(),
Id = HomeSearchFacetSetup.HomeSearchFacetDocumentId
});
namespace DWH.Website.Facets
{
public class HomeSearchFacetSetup