Lorem markdownum formam reicerer adstitit capiunt verbaque hac quam erat,
vulnere 💩 gracili! Cui in auxiliaria manu primis apertum
frigora tendimus
Agenore miserere, in.
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 System; | |
using System.Drawing; | |
using System.Threading; | |
using Iot.Device.Ws28xx.Esp32; | |
namespace AftOverhead | |
{ | |
public class Program | |
{ | |
public static void Main() |
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
public static class AutomapperExtensions | |
{ | |
// The following is a friendlier DSL than the one that ships with | |
// Automapper, for the vast majority of the mapping done in Workforce. | |
// | |
// So instead of this: | |
// .ForMember(x => x.Id, x => x.MapFrom(y => y.Guid)) | |
// You can do this: | |
// .From(x => x.Guid).To(x => x.Id) | |
// |
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
+function ($) { | |
var currentHeader = null; | |
var animating = false; | |
$(document).scroll(function() { | |
if (animating) return; | |
animating = true; | |
requestAnimationFrame(animateHeader); | |
animating = false; |
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 System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.Remoting.Messaging; | |
using System.Windows.Forms; | |
using OxyPlot; | |
using OxyPlot.Series; | |
namespace GraphingTests |
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
public class GetHandler | |
{ | |
private readonly IRepository<Job> _jobs; | |
private readonly IMapper _mapper; | |
public class Response | |
{ | |
... | |
public List<JobModel> Jobs { get; set; } | |
} |
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 (var container = new Container(x => { | |
x.AddRegistry<Core.Registry>(); | |
x.AddRegistry<Registry>(); })) | |
{ | |
try | |
{ | |
container.GetInstance<SomeRunnerType>().Run(); | |
} | |
catch (Exception exception) | |
{ |
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 System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using MoreLinq; | |
using NHibernate; | |
using NHibernate.SqlCommand; | |
using NHibernate.Type; | |
public class CompositeInterceptor : IInterceptor | |
{ |
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
// Hack to force .NET to accept our self signed certs | |
ServicePointManager.ServerCertificateValidationCallback = | |
((sender, certificate, chain, sslPolicyErrors) => true); |
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
var gulp = require('gulp'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var glob = require('glob'); | |
var useref = require('node-useref'); | |
var concat = require('gulp-concat'); | |
var through = require('through2'); | |
// Yes there are gulp plugins out there that do exactly this | |
// but ran into issues with a number of them so gave up and |
NewerOlder