Skip to content

Instantly share code, notes, and snippets.

View danieluhl's full-sized avatar

Typing Turtle danieluhl

View GitHub Profile
@danieluhl
danieluhl / heaps-algo.js
Created October 13, 2021 13:21
heaps algorithm in javascript for all permutations O(n!)
const swap = (a, b, arr) => {
const temp = arr[a];
arr[a] = arr[b];
arr[b] = temp;
};
// heaps algorithm
const getCombinations = (inputArr) => {
const heaps = (result, arr, n) => {
@danieluhl
danieluhl / platform-building.md
Last active November 22, 2021 17:36
Notes from a great goto conf video about building a great eng platform

https://www.youtube.com/watch?v=4N2ywun-wTE

Successful platform experience

1. Clear boundaries & responsibilities (what's platform vs feature team)

  • Minimize friction for engineers
  • Promotes better collaboration & flow
  • Use a "platform contract" (more below)
@danieluhl
danieluhl / accountability-buddies.md
Last active May 3, 2022 19:01
Accountability Buddies

Accountability Buddies

  1. What are you going to do?
  2. Did you do it?

That's it.

You decide when and at what interval to check-in with your buddy to share the answers to these questions.

Join the #accountability-buddies channel to seek a buddy using this template:

@danieluhl
danieluhl / cherry.md
Last active July 20, 2023 09:58
cherry-pick > rebase for stacked patches