Skip to content

Instantly share code, notes, and snippets.

View toonverbeek's full-sized avatar
:shipit:

Toon Verbeek toonverbeek

:shipit:
View GitHub Profile
@toonverbeek
toonverbeek / response.txt
Created April 17, 2025 12:24
SnapFit marketing prompt
assistant
<reasoning>
To solve for SnapFit’s marketing and growth strategy—a social workout app—I assemble this multidisciplinary, high-bar panel:
Arielle Zuckerberg, Growth Partner, Long Journey VC (consumer growth, viral loops)
Alexandra Zatarain, Co-founder, Eight Sleep (fitness/wellness DTC, community)
Lenny Rachitsky, ex-Airbnb, growth & product advisor (marketplaces, retention)
Andrew Chen, a16z, author of The Cold Start Problem (network effects, viral launch strategy)
Mikayla Nogueira, fitness micro-influencer (creators, UGC)
Brian Balfour, CEO Reforge, ex-HubSpot VP Growth (growth loops, analytics)
# This is a basic workflow to help you get started with Actions
name: Deploy Firebase Functions
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events
push:
branches: [master]
@toonverbeek
toonverbeek / index.js
Last active April 6, 2024 20:27
Sending e-mails on a schedule with Firebase Functions and Sendgrid
// index.js
// inititalize firebase
const functions = require('firebase-functions');
const admin = require('firebase-admin');
// install by running "yarn add date-fns"
const { isPast, addHours } = require('date-fns');
admin.initializeApp();
@toonverbeek
toonverbeek / firestore-import-export.js
Last active February 16, 2021 09:58
Script to dump a firestore collection and import it to your local firestore emulator
const { backup, restore, initializeApp } = require('firestore-export-import')
const fs = require('fs-extra');
const args = process.argv.slice(2);
if (args.includes('import')) {
process.env.FIRESTORE_EMULATOR_HOST = 'localhost:8080';
}
no-response-timeout: 15
command-timeout: 30
box: maven:3-jdk-8
### This is going to be your first pipeline to get executed in your Workflow
build:
steps:
- script:
name: maven build

title: Continuously Deploying Microservices to Kubernetes using Google Container Engine and Google Container Registry date: 2016-06-07 tags: containers, gke, gcr, google container engine, google container registry, author: Toon Verbeek authorTwitterUrl: https://twitter.com/tonnusos gravatarhash: d4b19718f9748779d7cf18c6303dc17f headerBackground : FAFAFA; headerColor : 3DBDEE; headerWidth : 30%;

Getting started with wercker & Java

This guide is a step-by-step approach to developing, building and deploying a sample app with wercker within minutes.

While this guide uses PHP, the general concepts explained in this tutorial apply to every other programming language.

Requirements

To be able to follow along with this guide, you will need the following things:

{
"containerDefinitions": [
{
"volumesFrom": [],
"portMappings": [
{
"hostPort": 80,
"containerPort": 5001,
"protocol": "tcp"
}
box: google/golang
build:
(...)
deploy:
steps:
- script:
name: setup phase ENV variables
code: |
export SILO=/usr/dev/silo