Skip to content

Instantly share code, notes, and snippets.

View petegivens's full-sized avatar

Pete Givens petegivens

  • Austin, TX
View GitHub Profile
/*
* You'll eventually be given instructions how to use this file
* If you want to use it before then, you'll have to figure it out yourself
*/
// You don't actually want to fill *this* value in on line 9, but you'll see
// other places in this file where you'll replace the FILL_ME_IN with a
// different value.
var FILL_ME_IN = 'Fill this value in';
@petegivens
petegivens / favorite_extensions.md
Created February 10, 2018 16:17
Favorite Extensions for VS Code

Useful Extensions for VS Code

  1. ESLint - real-time code syntax checking and error highlighting based on ESLint configuration. I'm pretty sure this comes with VS Code by default, but if not, it's the first one you should install.
  2. npm Intellisense - predictive auto-completion for your npm module imports
  3. Bracket Pair Colorizer - Makes matching brackets and parens the same color, highlights unmatched brackets in red.
  4. Prettier - code autoformatting
  5. Git History - This one ships with the latest release of VS Code. AWESOME visual tools for viewing git history, jumping to speci
@petegivens
petegivens / docker_overview.md
Last active February 26, 2018 23:02
Docker Overview

Docker

Image VS Container

  • An image is an executable package that includes everything needed to run an application–the code, a runtime, libraries, environment variables, and configuration files.

  • A container is launched by running an image. A container is a runtime instance of an image–what the image becomes in memory when executed (that is, an image with state, or a user process).

Container VS Virtual Machine

A container runs natively on Linux and shares the kernel of the host machine with other containers. It runs a discrete process, taking no more memory than any other executable, making it lightweight.

scalar Date
type Company {
id: ID!
ticker: String!
name: String!
sector: Int!
currentPrice: Float
}