Skip to content

Instantly share code, notes, and snippets.

View FrankV01's full-sized avatar
🎯
https://codeium.com/profile/theopensourceu

Frank V FrankV01

🎯
https://codeium.com/profile/theopensourceu
View GitHub Profile
findSomething(function(error, something) { //callback 1
if (error) {
throw new Error(error)
}
transformSomething(something, function(error, transformed) { //callback 2
if (error) {
throw new Error(error)
}
validateTransformed(transformed, function(error, validated) { //callback 3
if (error) {
@FrankV01
FrankV01 / Dockerfile
Created September 9, 2023 03:02 — forked from ju2wheels/Dockerfile
Docker Dockerfile reference template
# Last updated: 08/24/2916
#
# Total instructions available: 18
#
# https://docs.docker.com/engine/reference/builder/
#
# You can use a .dockerignore file in the same context directory as
# your Dockerfile to ignore files in the context before sending them
# to the Docker daemon for building to speed up building.