Skip to content

Instantly share code, notes, and snippets.


Trent Piercy trentpiercy

View GitHub Profile
CodingDoug /
Created Dec 5, 2019
How to schedule a Cloud Function to run in the future (in order to build a Firestore document TTL)
divyanshub024 / wave_anim.dart
Last active Nov 18, 2020
Flutter Circular Wave Canvas Animation
View wave_anim.dart
import 'dart:math' as math;
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
ttrefren / L28.jql.js
Last active Apr 6, 2022
Mixpanel JQL query to do frequency analysis (aka the "power curve")
View L28.jql.js
This query will return a frequency analysis, e.g. number of active days in time window.
If you ask for 28 days, it will give you the # of users who did your event 1 unique day, 2 unique days, etc
in the time window.
function main() {
return Events({
from_date: '2018-07-01',
to_date: '2018-07-28',