Skip to content

Instantly share code, notes, and snippets.

View paulmcgann's full-sized avatar

RadicalNerd paulmcgann

View GitHub Profile
@gregwiechec
gregwiechec / SearchMonitor.aspx
Created August 18, 2015 14:57
Search Monitoring tool
<%@ Page Language="c#" Codebehind="SearchMonitor.aspx.cs" AutoEventWireup="False" Inherits="EpiServerThumbnail.Views.plugins.SearchMonitor" Title="IndexingService Health Monitor" %>
<asp:Content ContentPlaceHolderID="HeaderContentRegion" runat="server">
<style type="text/css">
.epi-contentContainer {
width: 900px;
}
.epi-contentContainer h2 {
using System;
using System.Collections.Generic;
using System.Linq;
using CommerceExtensions.Order;
using Mediachase.Commerce;
using Mediachase.Commerce.Catalog;
using Mediachase.Commerce.Pricing;
namespace CommerceExtensions.Pricing
{
@bcnzer
bcnzer / postman-pre-request.js
Last active June 4, 2024 08:55
Postman pre-request script to automatically get a bearer token from Auth0 and save it for reuse
const echoPostRequest = {
url: 'https://<my url>.auth0.com/oauth/token',
method: 'POST',
header: 'Content-Type:application/json',
body: {
mode: 'application/json',
raw: JSON.stringify(
{
client_id:'<your client ID>',
client_secret:'<your client secret>',