Skip to content

Instantly share code, notes, and snippets.

Sam Dozor samdozor

Block or report user

Report or block samdozor

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
samdozor / selfconfigexample.js
Created Jul 2, 2019
Self Configuration Example
View selfconfigexample.js
import mParticle from '@mparticle/web-sdk';
import mParticleConfig from './';
import gaKit from '@mparticle/web-google-analytics-kit'
// 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 /
Created Mar 16, 2017 — forked from patrickfuller/
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/
import argparse
import csv
from getpass import getpass
import requests
View module_pattern_fail.brs
module = function() as object
privateApi = function()
print "In a private function!"
end function
return {
publicApi: function()
'Nope! Can't do this - not in scope.
samdozor /
Created Nov 11, 2015
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
protected void onStart() {
You can’t perform that action at this time.