Skip to content

Instantly share code, notes, and snippets.

View tmbtech's full-sized avatar

Robbie dela Victoria tmbtech

  • Allergan Data Labs
  • Orange County
View GitHub Profile
@tmbtech
tmbtech / machine.js
Created August 28, 2019 18:28
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@tmbtech
tmbtech / SketchSystems.spec
Last active May 9, 2019 16:48
Sign Up Flow
Sign Up Flow
Sign up with email and sms
post request -> search for user
search for user
found with email and sms -> fast track
found with email only -> slow track
/* eslint no-undef: 0*/
/* eslint react/jsx-no-undef: 0*/
import React from "react"
const chart = {
id: "purchase",
initial: "fetchingWorkshopData",
states: {
fetchingWorkshopData: {
on: {
@tmbtech
tmbtech / my-mac-setup.sh
Created February 15, 2019 00:21 — forked from nickytonline/my-mac-setup.sh
Mac Setup Scripts
#!/bin/sh
# More Mac setup at https://mac.iamdeveloper.com
# Log file
timestamp=$(date +%s)
logFile="./my-mac-setup-$timestamp.log"
# if true is passed in, things will reinstall
reinstall=$1
@tmbtech
tmbtech / SketchSystems.spec
Created July 13, 2018 16:10
Team Alerts Flow
Team Alerts Flow
Favorite Team
Select Fav Team -> Move team to Active Teams section and opt-in NewsHighlights Game Start and Final Score alerts for team
Move team to Active Teams section and opt-in NewsHighlights Game Start and Final Score alerts for team
Deselect Fav Team -> Do nothing
Do nothing
All Teams
Opt-in team alert -> Move team to Active Teams section
Move team to Active Teams section
@tmbtech
tmbtech / SketchSystems.spec
Last active July 9, 2018 23:49
In Game - MVPD Flow
In Game - MVPD Flow
call to action
click -> route to next page
route to next page
success -> try to play video
try to play video
success -> play video
fail -> is video available for third party auth
is video available for third party auth
success -> get identity provider group names
@tmbtech
tmbtech / SketchSystems.spec
Last active August 7, 2018 18:09
MVPD Flow
MVPD Flow
idle*
click -> fetching tv providers
fetching tv providers
get client token*
success -> fetch identity providers group - NFL_MVP
fail -> tv provider general error
fetch identity providers group - NFL_MVP
success -> fetch identity providers
@tmbtech
tmbtech / SketchSystems.spec
Last active August 7, 2018 18:11
Select Platform - Alert Notifications
Select Platform - Alert Notifications
iOS -> iOS
Android -> Android
iOS
Select Screen - iOS
open onBoarding Screen -> onBoarding - iOS
open Alerts Screen -> Alerts Screen - iOS
onBoarding - iOS
Login
idle
INVALIDFORM -> invalidForm
VALIDFORM -> gigyaRequest
invalidForm
INVALIDFORM ->invalidForm
VALIDFORM -> gigyaRequest
gigyaRequest
SERVERERROR -> serverError
INVALIDREQUEST -> invalidForm

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would