Skip to content

Instantly share code, notes, and snippets.

View makemesteaks's full-sized avatar

João makemesteaks

  • Lisbon, Portugal
  • 01:56 (UTC +01:00)
View GitHub Profile
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active June 23, 2024 11:25
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@rohancme
rohancme / grafana-prometheus-values.yaml
Last active June 23, 2021 19:20
Values for the grafana helm chart to talk to an existing prometheus datasource
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 5Gi
datasources:
datasources.yaml:
apiVersion: 1
datasources:
@mrichman
mrichman / main.go
Last active December 28, 2021 08:20
AWS Lambda function in Go to resize an image uploaded to S3. Uses https://github.com/apex/apex
package main
import (
"bytes"
"image/jpeg"
"log"
"path"
"strings"
apex "github.com/apex/go-apex"