Skip to content

Instantly share code, notes, and snippets.

View DavidStrickland0's full-sized avatar

David Strickland DavidStrickland0

View GitHub Profile
@DavidStrickland0
DavidStrickland0 / gist:97300fca392848df5afdba260d5018ea
Created November 3, 2016 14:47
Purges ALL users from a Auth0 Account via the management API using C#
using Auth0.Core.Http;
using Auth0.ManagementApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Auth0Purge
{
@DavidStrickland0
DavidStrickland0 / gist:888677646e64956e6871
Created December 22, 2015 15:58
Upwork(formerly Odesk) API Call using C#
public static PublicInfoResponse LoadResponse()
{
PublicInfoResponse publicInfoResponse = (PublicInfoResponse)HttpRuntime.Cache["Odesk:PublicInfoResponse"];
if (publicInfoResponse == null)
{
Models.OAuthParams parameters;
string method = "GET";
parameters = new Models.OAuthParams();
parameters.Token = ConfigurationManager.AppSettings["apiKeys:UpworkoAuthToken"];
using System;
using Xamarin.Forms;
using System.Collections;
using System.Reflection;
using System.Collections.Specialized;
namespace XLabs.Forms.Controls
{
/// <summary>
/// Extends the Picker Class to add additional features not supported out of the box by Xamarin.