Skip to content

Instantly share code, notes, and snippets.

View zsims's full-sized avatar
😕
Confused

Zac Sims zsims

😕
Confused
View GitHub Profile
@zsims
zsims / README.md
Created February 14, 2019 09:17 — forked from magnetikonline/README.md
Bash string manipulation cheatsheet.

Bash string manipulation cheatsheet

Assignment
Assign value to variable if variable is not already set. Value will be returned.

Couple with : no-op if return value is to be discarded.
${variable="value"}
: ${variable="value"}
@zsims
zsims / mytest.spec.ts
Last active January 6, 2018 11:03
Reproduction of pact-js missing type definitions
import { Pact } from "@pact-foundation/pact";

Keybase proof

I hereby claim:

  • I am zsims on github.
  • I am zsims (https://keybase.io/zsims) on keybase.
  • I have a public key ASBZAlpUZZEWgEiqmunS2CD7GpM6RdVCp1b9wBobiG2zEgo

To claim this, I am signing this object:

using Microsoft.Owin;
using Owin;
using System.Web.Http;
using IdentityServer3.AccessTokenValidation;
using IdentityServer3.Core.Configuration;
using IdSrv;
[assembly: OwinStartup(typeof(Apis.Startup))]
namespace Apis