Skip to content

Instantly share code, notes, and snippets.

Martin lankymart

Block or report user

Report or block lankymart

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
@lankymart
lankymart / restsharp.deserializer.cs
Created Nov 9, 2017
RESTSharp Deserialize JSON properties with dots in the name
View restsharp.deserializer.cs
// Create a deserialiser based off JsonDeserializer
public class JsonComplexDeserializer : IDeserializer
{
public string RootElement { get; set; }
public string Namespace { get; set; }
public string DateFormat { get; set; }
public CultureInfo Culture { get; set; }
@lankymart
lankymart / IIS Website Recommendations.md
Created Feb 22, 2017
Recommendations for Setting up Websites in IIS
View IIS Website Recommendations.md

Recommendations for Setting up Websites in IIS

Things to consider while setting up IIS websites

  • Anonymous Access Account
  • Application Pool
  • NTFS Permissions

Setting up an Anonymous Account

View puny.asp
<%
' *********************************************************************
' ** DISCLAIMER AND LICENSE **
' ** The author of this code makes no guarantees and is not **
' ** responsible for any damage resulting from its use. **
' ** You may modify the code for your own use in any way you like, **
' ** but it may only be distributed in its original form. **
' ** The VBScript punycode conversion functions in this code is **
' ** derived from the sample C code in RFC 3492. **
' ** Author: Jesper G. Høy - JH Software ApS - www.jhsoft.com **
View README.md

FancyBox2 Confirm Dialog Box

Single callback approach to implementing a Confirmation Dialog Box using FancyBox2

Usage

fancyconfirm("Do you wish to continue?"
  , { modal: true }
  , function(resp) { 
You can’t perform that action at this time.