Skip to content

Instantly share code, notes, and snippets.

Fabio Pintos fpintos

Block or report user

Report or block fpintos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fpintos
fpintos / dateFormatsByLanguage.json
Created May 20, 2019
List of supported date & time formats by language in Windows
View dateFormatsByLanguage.json
{
"Invariant Language (Invariant Country)": [
"MM/dd/yyyy",
"yyyy-MM-dd"
],
"Afar": [
"dd/MM/yyyy",
"dd/MM/yy",
"dd-MMM-yyyy"
],
@fpintos
fpintos / Luke.md
Created Apr 20, 2019
Luke PBE Questions
View Luke.md

Luke

Chapter 1

  1. (4pts) According to Luke 1:1, fill in the blank:
    Inasmuch as many have taken in _______to set in _____ a ______ of those things which have been _______ among us,

    • hand, order, narrative, fulfilled
  2. (1pts) According to Luke 1:1, Whose hand was with Zacharias?

    • The hand of the Lord
@fpintos
fpintos / LowercasePropertyJsonReaderFactory.cs
Created Aug 31, 2018
Microsoft.OData: A factory of JSON readers that report all properties with an initial lowercase.
View LowercasePropertyJsonReaderFactory.cs
using System.IO;
using System.Web.OData.Builder;
using Microsoft.OData.Json;
/// <summary>
/// A factory of JSON readers that report all properties with an initial lowercase.
/// This can be used by an ODATA service to accept payloads with mixed/incorrect case in property names.
/// Install it as the default IJsonReaderFactory in the service startup with this, given the IContainerBuilder builder,
/// ie, in the callback of MapODataServiceRoute:
/// var defaultServices = builder.BuildContainer();
@fpintos
fpintos / EWS.PublicFolderCalendar.linq
Created Aug 31, 2018
LinqPad script that queries public folders and shows the calendar items on the 1st calendar public folder it finds.
View EWS.PublicFolderCalendar.linq
<Query Kind="Statements">
<Reference>&lt;RuntimeDirectory&gt;\Microsoft.VisualBasic.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.Windows.Forms.dll</Reference>
<NuGetReference>Microsoft.Exchange.WebServices</NuGetReference>
<NuGetReference>Microsoft.IdentityModel.Clients.ActiveDirectory</NuGetReference>
<Namespace>Microsoft.Exchange.WebServices.Auth.Validation</Namespace>
<Namespace>Microsoft.Exchange.WebServices.Autodiscover</Namespace>
<Namespace>Microsoft.Exchange.WebServices.Data</Namespace>
<Namespace>Microsoft.IdentityModel.Clients.ActiveDirectory</Namespace>
<Namespace>Microsoft.IdentityModel.Clients.ActiveDirectory.Internal</Namespace>
@fpintos
fpintos / CustomRules.js
Created Jul 27, 2018
Fiddler Script to automatically decode OWA's x-owa-urlpostdata
View CustomRules.js
import System;
import System.Windows.Forms;
import Fiddler;
// INTRODUCTION
//
// Well, hello there!
//
// Don't be scared! :-)
//
@fpintos
fpintos / OwaFormatStrings.md
Last active Sep 22, 2017
OWA Format Strings
View OwaFormatStrings.md

dateTimeFormats.json

These localized strings allows owa-datetime to handle languages that require special formatting when showing individual parts of a date.

DateFormat and TimeFormat Settings

The date and time formats in the user's settings provide several pieces of information about how dates should be formatted.

@fpintos
fpintos / SetDependencyNameProcessor.cs
Created Jul 6, 2017
An Application Insights telemetry processor that updates the Name of a DependencyTelemetry with the value of a property found in its Properties. Useful for making it easy to distinguish calls to SOAP web services, such as EWS.
View SetDependencyNameProcessor.cs
// ---------------------------------------------------------------------------
// <copyright file="SetDependencyNameProcessor.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ---------------------------------------------------------------------------
namespace AppInsightsComponents
{
using System.Diagnostics;
You can’t perform that action at this time.