Skip to content

Instantly share code, notes, and snippets.

View mrflip's full-sized avatar

Philip (flip) Kromer mrflip

View GitHub Profile
Count Tradelist Count Name Edition Condition Language Foil Tags Last Modified Collector Number Alter Proxy Purchase Price Vendor Game
1 0 Sarpadian Empires, Vol. VII TSP TSP Lightly Played en non-foil 12/9/2012 310 FALSE 0.14 TCG MtG
@mrflip
mrflip / AuthExchange.js
Last active November 7, 2022 23:31
URQL + AWS Cognito Auth code
// --- path: src/graphql/AuthExchange.js
import _ /**/ from 'lodash'
import * as Urql from 'urql'
import { authExchange } from '@urql/exchange-auth'
import { Auth } from 'aws-amplify'
import { Buffer } from 'buffer'
//
import * as Utils from '../utils'
import AppConfig from '../utils/AppConfig'
import * as SessionContext from '../auth/SessionContext'
@mrflip
mrflip / Dockerfile-md2pdf2wtf
Last active October 31, 2022 21:42
md-to-pdf on alpine node box demonstrated
FROM node:18.9-alpine3.15
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
RUN apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont ttf-freefont curl gnupg bash dumb-init tar git git-lfs ruby jq python3 postgresql-client nano
RUN addgroup -S tkapi && adduser -S -G tkapi tkapi
WORKDIR /home/tkapi
COPY md2pdf2wtf/ /home/tkapi/md2pdf2wtf/
@mrflip
mrflip / jest.config.cjs
Created October 25, 2022 20:08
Make chai and jest be friends
// make directories for 'tests' and 'src'.
// put this file in the base of your project;
// put all of your code in ./src and all of your tests in ./tests.
module.exports = {
roots: [
'tests',
'src',
],
@mrflip
mrflip / BasicInstructions.md
Last active March 28, 2024 12:34
Running debezium and kafka connect locally with homebrew

Running Debezium / Kafka Connect locally with homebrew

Initial setup

  • Install all the things: brew install kafka zookeeper maven openjdk
  • Make a directory for plugins: mkdir -p /usr/local/share/kafka/plugins
  • Edit the file /usr/local/etc/kafka/connect-standalone.properties and uncomment the line setting up a plugin path: plugin.path=/usr/local/share/java,/usr/local/share/kafka/plugins,/opt/connectors
  • Start all the things: brew services start zookeeper and brew services start kafka
{
"main": "node_modules/expo/AppEntry.js",
"version": "0.0.3",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject",
"test": "jest --watchAll",
@mrflip
mrflip / Tao Te Chimp.md
Last active September 14, 2020 17:44
Tao Te Chimp: Repeatable Decision Principles for Startups

Tao Te Chimp

Here are some repeatable catchphrases that I’ve learned help startups make decisions. I’d love your feedback on what to add to the list, or what didn’t make any sense.

I mentor in alternate Mondays on the 16th floor at Capital Factory, and I’m glad to set up alternate times if that doesn’t work. Feel free to share this list with others.

Every startup founder should read Running Lean and most of Jason Cohen's Blog. More recommended books are below.

Fundamental Law of Startups

Pokes for trade from MrflipMrflip

Link: https://gist.github.com/mrflip/c73d44e754e17905632649d8cbae28c8

I don’t super care about shinies, so I'd be happiest with a trade that improves my raid team while either filling a hole in your pokedex or improving your team. Please let me know what shiny/legacy/legendaries/L1’s you hoping to acquire/improve -- but I would strongly prefer not do a 40k trade (see bottom for which trades those are).

For casual players: If you don't have much in your pokedex, I would like to help improve it and do not need you to improve mine. I can offer the following:

  • L20 Dragonite, Bite Tyranitar, Machamp, Lick Gengar
  • Carnivine, Heracross, Farfetch'd, Safari/Santa Pika, Flower eevee, happiny, budew, bonsly, other hard-to-find.
@mrflip
mrflip / CareerDayInterview-20180411.md
Last active April 20, 2018 17:53
Career Day Interview with Ethan Grigsby

Career Day Interview with Ethan Grigsby

What is your name? What is your career?

My name is Flip Kromer, I’m an inventor and entrepreneur — meaning that I start businesses from scratch. Added all up, the companies I’ve started earn tens of millions each year in revenue, and have grown from a couple friends at the start to create more than eighty highly satisfying jobs.

What do you do at your job?

My latest company is Vigilante, a restaurant with more than 150 board games to play right at your table. I designed and worked to build special tables that make playing board games super awesome: dice, chargers, card holders and other fun things are built into the table. Probably the most magical feature is that each table has a robot above it — when you push the button at your seat the robot waves its arms, which tells the server to come over and take your order or bring you a fork or help you with a game. I custom designed the mechanics of the robot and the tiny computers inside each robot and each table

Veneer is obtained either by "peeling" the trunk of a tree or by slicing large rectangular blocks of wood known as flitches. The appearance of the grain and figure in wood comes from slicing through the growth rings of a tree and depends upon the angle at which the wood is sliced. There are three main types of veneer-making equipment used commercially:

A rotary lathe in which the wood is turned against a very sharp blade and peeled off in one continuous or semi-continuous roll. Rotary-cut veneer is mainly used for plywood, as the appearance is not desirable because the veneer is cut concentric to the growth rings.

A slicing machine in which the flitch or piece of log is raised and lowered against the blade and slices of the log are made. This yields veneer that looks like sawn pieces of wood, cut across the growth rings; such veneer is referred to as "crown cut".

A half-round lathe in which the log or piece of log can be turned and moved in such a way as to expose the most interesting parts of the grain, c