Skip to content

Instantly share code, notes, and snippets.

View cgoldsby's full-sized avatar

Chris Goldsby cgoldsby

  • Zattoo, Inc.
  • Zürich, Switzerland
View GitHub Profile
@cgoldsby
cgoldsby / psst.txt
Created March 28, 2019 11:24
psst! Down here!
┳┻|
┻┳|
┳┻| psst! Down here!
┻┳|
┳┻|
┻┳|
┳┻|
┻┳|
┳┻|
┻┳|
@mvarie
mvarie / WhereAmIRunning.swift
Last active September 16, 2020 10:33
Detects whether we're running in a Simulator, TestFlight Beta or App Store build
//
// WhereAmIRunning.swift
// https://gist.github.com/mvarie/63455babc2d0480858da
//
// ### Detects whether we're running in a Simulator, TestFlight Beta or App Store build ###
//
// Based on https://github.com/bitstadium/HockeySDK-iOS/blob/develop/Classes/BITHockeyHelper.m
// Inspired by http://stackoverflow.com/questions/18282326/how-can-i-detect-if-the-currently-running-app-was-installed-from-the-app-store
// Created by marcantonio on 04/11/15.
//