Skip to content

Instantly share code, notes, and snippets.

@rog1039
rog1039 / automapper_test_simple.cs
Last active November 27, 2018 20:07
Simpler Automapper Test Case
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using Shouldly;
using Xunit;
namespace AutoMapper.UnitTests2
{
@rog1039
rog1039 / testcase.cs
Created November 27, 2018 19:54
Repro Test Case for Automapper
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using Shouldly;
using Xunit;
namespace AutoMapper.UnitTests
{
-- Code came from the article here:'
-- https://www.mssqltips.com/sqlservertip/4054/creating-a-date-dimension-or-calendar-table-in-sql-server/
--Declare temp table to drive later tables
DECLARE @StartDate DATE = '20000101', @NumberOfYears INT = 30;
-- prevent set or regional settings from interfering with
-- interpretation of dates / literals
SET DATEFIRST 7;
@rog1039
rog1039 / WE-Markdown.css
Last active November 11, 2015 20:21 — forked from jerone/WE-Markdown.css
Github Flavored Markdown Stylesheet for Web Essentials
html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-family: sans-serif;
}
body {
margin: 0;
padding: 30px;
min-width: 1020px;
@rog1039
rog1039 / gist:36e8632b846a70efd23c
Last active August 29, 2015 14:21
Foursquare Response
{meta: {
},
notifications: [{type: "notificationTray",
item: {unreadCount: 0
}
}
],
response: {venue: {id: "4fef23bfe4b0660372373ac5",
name: "fifth street brewpub",
contact: {phone: "9374430919",

http://boxstarter.org/package/DotNet3.5,PDFXChangeViewer,Firefox,GoogleChrome,autohotkey_l,CutePDF,notepadplusplus,javaruntime,flashplayeractivex,flashplayerplugin,notepadplusplus,iTunes

http://www.rapidee.com/en/about - edit environmental variables http://www.voidtools.com/ - the new avafind

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

cinst classic-shell -installArgs ADDLOCAL=ClassicStartMenu -y

For Factory Clients

@rog1039
rog1039 / gist:10028163
Created April 7, 2014 18:39
Windows 8.1 Client - Random Utilities
cinst vlc
cinst sysinternals
cinst fiddler
cinst autohotkey_l
cinst keepass
cinst wireshark
cinst picasa
cinst git.install
cinst SourceTree
@rog1039
rog1039 / gist:8560643
Last active January 4, 2016 03:19
Windows 8.1 Client - Developer
Disable-InternetExplorerESC
cinst DotNet3.5
cinst PDFXChangeViewer
cinst GoogleChrome
cinst javaruntime
cinst flashplayeractivex
cinst flashplayerplugin
cinst notepadplusplus
@rog1039
rog1039 / gist:8560386
Last active January 4, 2016 03:09
Windows 8.1 Client - Base + Java,Flash,iTunes,Notepad++
cinst DotNet3.5
cinst PDFXChangeViewer
cinst Firefox
cinst GoogleChrome
cinst CutePDF
cinst javaruntime
cinst flashplayeractivex
cinst flashplayerplugin
cinst notepadplusplus
@rog1039
rog1039 / gist:8560325
Last active January 4, 2016 03:09
Windows 8.1 Client - Base
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
cinst DotNet3.5
cinst PDFXChangeViewer
cinst Firefox
cinst GoogleChrome
cinst autohotkey_l
cinst CutePDF
cinst notepadplusplus