Skip to content

Instantly share code, notes, and snippets.

View kohiomobz's full-sized avatar

Kavodel kohiomobz

View GitHub Profile
/* After Loading the Snippet */
/* You can namespace each instance of the Mixpanel JavaScript Library */
/* First Instance */
mixpanel.init("Token1", {}, 'developmentProject');
/* Second Instance */
mixpanel.init("Token2", {}, 'productionProject');
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="https://cdn.mxpnl.com/libs/mixpanel-platform/css/reset.css">
<link rel="stylesheet" type="text/css" href="https://cdn.mxpnl.com/libs/mixpanel-platform/build/mixpanel-platform.v0.latest.min.css">
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="https://cdn.mxpnl.com/libs/mixpanel-platform/build/mixpanel-platform.v0.latest.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<style>
@kohiomobz
kohiomobz / brew_errors.txt
Created October 9, 2015 22:45
Homebrew Errors
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libopencv_adas.3.0.0.dylib
/usr/local/lib/libopencv_bgsegm.3.0.0.dylib
/usr/local/lib/libopencv_bioinspired.3.0.0.dylib
/usr/local/lib/libopencv_calib3d.3.0.0.dylib
/usr/local/lib/libopencv_ccalib.3.0.0.dylib
@kohiomobz
kohiomobz / tse_example.html
Last active December 18, 2015 15:04
Example TSE
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://cdn.mxpnl.com/libs/mixpanel-platform/css/reset.css">
<link rel="stylesheet" type="text/css" href="https://cdn.mxpnl.com/libs/mixpanel-platform/build/mixpanel-platform.v0.latest.min.css">
<script src="https://cdn.mxpnl.com/libs/mixpanel-platform/build/mixpanel-platform.v0.latest.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js" charset="utf-8"></script>
<style>
.node circle {