Skip to content

Instantly share code, notes, and snippets.

View imbaker's full-sized avatar

Ian Baker imbaker

View GitHub Profile
@angularsen
angularsen / TypeMemberLayout.xaml
Last active June 7, 2025 15:30 — forked from collinbarrett/TypeMemberLayout.xaml
Rider/ReSharper File Layout for StyleCop.Analyzers with alphabetical order
<?xml version="1.0" encoding="utf-16"?>
<!--
Inspired by: https://collinmbarrett.com/stylecop-ordering-resharper/
Source: https://gist.github.com/angularsen/98bfab4d5e887ab37143214fad1fadbd
Modifications:
- Sort by Name after all other sorting criteria
-->
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
<TypePattern DisplayName="StyleCop Classes, Interfaces, &amp; Structs" RemoveRegions="All">
<TypePattern.Match>
@kipusoep
kipusoep / web.config.xml
Last active February 26, 2024 17:08
SEO redirects for web.config
<!-- SEO rules (from: http://www.seomoz.org/blog/what-every-seo-should-know-about-iis#chaining) -->
<!-- SEO | Section 1 | Whitelist -->
<rule name="Whitelist - Resources" stopProcessing="true">
<match url="^(?:css/|scripts/|images/|install/|config/|umbraco/|umbraco_client/|base/|webresource\.axd|scriptresource\.axd|__browserLink|[^/]*/arterySignalR/.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="None" />
</rule>
<!-- SEO | Section 2 | Rewrites (chaining) -->
<rule name="SEO - Remove default.aspx" stopProcessing="false">
<match url="(.*?)/?default\.aspx$" />