Skip to content

Instantly share code, notes, and snippets.

View patricktrainer's full-sized avatar
💭
🪠

Patrick patricktrainer

💭
🪠
View GitHub Profile
@patricktrainer
patricktrainer / dagster_dbt_utils.py
Created May 30, 2025 20:15 — forked from Taytay/dagster_dbt_utils.py
Dagster dbt utilities
import json
from typing import AbstractSet, Any, Generator, Mapping, Sequence, ValuesView
import dagster as dg
from dagster import (
AssetCheckResult,
AssetExecutionContext,
AssetKey,
AssetMaterialization,
AssetObservation,

Mermaid on Github Examples

All of these diagrams are dynamically rendered during html display by Github, the images generated from text inside the Github-Flavored Markdown. None are static images. Mermaid support was released for Github on 2022-02-14

Pros & Cons:

  • Pro: You don't need to care about the layout.
  • Con: You cannot control the layout.

Notes:

  • Not all the features of Mermaid (in particular symbols B-->C[fa:fa-ban forbidden], hyperlink and tooltips) are supported by Github.
@patricktrainer
patricktrainer / learn.lua
Created October 29, 2023 04:39 — forked from tylerneylon/learn.lua
Learn Lua quickly with this short yet comprehensive and friendly script. It's written as both an introduction and a quick reference. It's also a valid Lua script so you can verify that the code does what it says, and learn more by modifying and running this script in your Lua interpreter.
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------
@patricktrainer
patricktrainer / GoogleDorking.md
Created July 3, 2023 21:53 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"