Skip to content

Instantly share code, notes, and snippets.

server {
gzip on;
root /var/www/council-assets/build;
index index.html;
server_name council-sell-off.thebureauinvestigates.com; # managed by Certbot

DNS

  • Domain Name System
  • Basically just a bunch of tables maintained by Internet Service Providers around the world, mapping domains (e.g. google.com) with IP addresses
  • The core type of DNS record is an A record. This maps a domain name to an IP address:
A example.com 93.184.216.34

GraphQL Intro

3 Core Concepts:

  • Types: What kinds of things are returned by the API?
  • Schema: How can the API be queried, and how are the types related to each other?
  • Requests: What does a GraphQL API request look like?
  • Resolvers: How does GraphQL get the data from the data source?

Types

@joaquimds
joaquimds / docker.md
Last active May 31, 2024 11:14
Docker Intro

Docker Intro

Two main concepts: "images" (environments) and "containers" (running processes).

  • An image is a set of instructions, and the environment you get after running the instructions.
  • A container is a command running in an image.

Analogy: an image is the Ikea instructions for building shelves, and the assembled shelves, before you start using them.