Skip to content

Instantly share code, notes, and snippets.

View jirikuncar's full-sized avatar
💭
👨‍💻

Jiri Kuncar jirikuncar

💭
👨‍💻
View GitHub Profile
@djm
djm / .envrc
Created September 20, 2022 23:17
YunoJuno Nix Developer Environment
export OP_ACCOUNT=yunojuno.1password.com
# Create .env.local if it does not exist
if [ ! -f .env.local ]
then
echo "Creating .env.local"
cat <<EOF > .env.local
# Place secret env variables from 1Password and custom overrides here
#
# Any variables here will override ones set in .env.native.dist
@jgadling
jgadling / main.py
Last active June 12, 2025 09:05
Example of using Strawberry FieldExtensions to implement FastAPI dependency injection in resolvers
# This snippet is valid for older FastAPI versions.
# For an updated DependencyExtension that works with FastAPI 0.115.0, refer to this gist:
# https://gist.github.com/jgadling/bf27a924cd9c34a2a64d2dbf8a5507e6
import typing
import strawberry
import uvicorn
from fastapi import Depends, FastAPI
@boboTjones
boboTjones / blogsnthingz.txt
Created March 29, 2025 15:11
Blogs, podcasts and assorted sites
https://blog.talosintelligence.com/
https://cyberscoop.com/
https://danielmiessler.com/
https://darknetdiaries.com/
https://ecrime.ch/
https://filippo.io/
https://googleprojectzero.blogspot.com/
https://intelnews.org/
https://isc.sans.edu/podcast.html
https://jvns.ca/