Skip to content

Instantly share code, notes, and snippets.

View steebchen's full-sized avatar
🌴
Working remotely

Luca Steeb steebchen

🌴
Working remotely
View GitHub Profile
@steebchen
steebchen / questions.md
Created November 24, 2024 09:29
50 Questions to Explore with a Potential Co-Founder by First Round

Copyright @ First Round

https://proof-assets.s3.amazonaws.com/firstround/50%20Questions%20for%20Co-Founders.pdf

Questions Extracted from the PDF:

  1. What are your strengths and superpowers (beyond functional expertise)?
  2. What are your weaknesses? How do you try to compensate for them?
  3. What words would your co-workers use to describe you? What would they want me to know about what it’s like to work with you?
  4. How do you deal with conflict? Describe a time you dealt with it well — and a time you didn’t.
name: auto pull request
on:
push:
branches:
- wip/*
- feat/*
- fix/*
- ci/*
- refactor/*
- chore/*
@steebchen
steebchen / client.txt
Last active March 29, 2021 16:38
go client api examples
// ------------------------ Reading Data ------------------------
// -- Find Records --
// Find all posts
posts, err := client.Post.FindMany().Exec(ctx)
// Find a user by ID
user, err := client.User.FindUnique(db.User.ID.Equals(2)).Exec(ctx)
@steebchen
steebchen / recover.go
Created March 19, 2021 15:59
Recover mnemonic seed phrase with a single missing word and a public key
package main
import (
"bufio"
"log"
"os"
"strconv"
"strings"
hdwallet "github.com/miguelmota/go-ethereum-hdwallet"
@steebchen
steebchen / hosts
Last active September 18, 2023 19:58
Custom adblock list (with whitelisted analytic admin panels)
This file has been truncated, but you can view the full file.
# Title: StevenBlack/hosts
#
# This hosts file is a merged collection of hosts from reputable sources,
# with a dash of crowd sourcing via GitHub
#
# Date: 24 January 2021 21:02:05 (UTC)
# Number of unique domains: 59,895
#
# Fetch the latest version of this file: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
# Project home page: https://github.com/StevenBlack/hosts

example

const user = await prisma.user.update({
  where: {
    email: '[email protected]',
  },
  data: {
    posts: {
## example
```js
const user = await prisma.user.update({
where: {
email: '[email protected]',
},
data: {
posts: {
@steebchen
steebchen / mdtool
Last active February 12, 2021 13:28
bugfixes by imchairmanm
#!/bin/bash
set -e
swap() {
set -eu
a=$1
b=$2
@steebchen
steebchen / insert
Last active March 23, 2020 14:37
Shift files in a naming scheme of "xx-yy" where xx is a number to create space at a given index
#!/bin/bash
set -eu
new=$1
for file in $(ls | sort -g -r)
do
filename=$(basename "$file")
number=$(echo $filename | cut -d- -f1)
@steebchen
steebchen / swap
Created March 23, 2020 14:30
Swap two files in a naming scheme of "xx-yy" where xx is a number and yy a string
#!/bin/bash
set -eu
a=$1
b=$2
mv "$a" "$a.backup"
mv "$b" "$b.backup"