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

example

const user = await prisma.user.update({
  where: {
    email: 'alice@prisma.io',
  },
  data: {
    posts: {
@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
@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 / 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)
name: auto pull request
on:
push:
branches:
- wip/*
- feat/*
- fix/*
- ci/*
- refactor/*
- chore/*