Skip to content

Instantly share code, notes, and snippets.

View SergiuSavva's full-sized avatar
🏠
Working from home

Sergiu SergiuSavva

🏠
Working from home
View GitHub Profile
@atymic
atymic / swagger.json
Created February 4, 2020 23:37
Twitter Openapi / Swagger Spec
{
"swagger": "2.0",
"schemes": [
"https"
],
"host": "api.twitter.com",
"basePath": "/1.1",
"info": {
"contact": {
"email": "support@twitter.com",
@Faheetah
Faheetah / Dockerfile
Last active October 19, 2022 15:22
Docker patterns/anti-patterns
### Generic Dockerfile demonstrating good practices
### Imports
# Bad-ish, we do not need Ubuntu for this, nor do we want latest if we are using in a build system, predictable is better
FROM ubuntu:latest
# Better, using a small image since our app has no dependency on Ubuntu
FROM alpine:3.3