Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Introduction
The guiding principle of the App Store is simple - we want to provide a safe experience for users to get apps and a great opportunity for all developers to be successful. We do this by offering a highly curated App Store where every app is reviewed by experts and an editorial team helps users discover new apps every day. For everything else there is always the open Internet. If the App Store model and guidelines are not best for your app or business idea that’s okay, we provide Safari for a great web experience too.
On the following pages you will find our latest guidelines arranged into five clear sections: Safety, Performance, Business, Design, and Legal. The App Store is always changing and improving to keep up with the needs of our customers and our products. Your apps should change and improve as well in order to stay on the App Store.
A few other points to keep in mind:
We have lots of kids downloading lots of apps. Parental controls work great to protect kids, but you have to do your pa
@samdozor
samdozor / selfconfigexample.js
Created July 2, 2019 15:16
Self Configuration Example
import mParticle from '@mparticle/web-sdk';
import mParticleConfig from './mpconfig.prod.json';
import gaKit from '@mparticle/web-google-analytics-kit'
gaKit.register(mParticleConfig);
// this is required to instruct the SDK that the configuration
// does not need to be refreshed by the SDK on init.
mParticleConfig.requestConfig = false;
@samdozor
samdozor / github_issues_to_csv.py
Created March 16, 2017 15:44 — forked from patrickfuller/github_issues_to_csv.py
Export Issues from Github repo to CSV (API v3)
"""
Exports issues from a list of repositories to individual csv files.
Uses basic authentication (Github username + password) to retrieve issues
from a repository that username has access to. Supports Github API v3.
Forked from: unbracketed/export_repo_issues_to_csv.py
"""
import argparse
import csv
from getpass import getpass
import requests
module = function() as object
privateApi = function()
print "In a private function!"
end function
return {
publicApi: function()
'Nope! Can't do this - not in scope.
privateApi()
@samdozor
samdozor / MainActivity.java
Created November 11, 2015 15:52
Branch Example w/ mParticle
public class ExampleActivity extends Activity implements Branch.BranchReferralInitListener {
BroadcastReceiver kitAvailabilityReceiver = null;
/**
* 1. Check if the Branch Kit is active, and if it is then immediately register your deep-link listener
* 2. If it isn't yet active, register a receiver to listen for the ACTIVE broadcast
*/
@Override
protected void onStart() {