Skip to content

Instantly share code, notes, and snippets.

View richardzone's full-sized avatar

Richard richardzone

  • San Jose, CA
View GitHub Profile

Context

Much documentation can be replaced with highly readable code and tests. In a world of evolutionary architecture, however, it's important to record certain design decisions for the benefit of future team members as well as for external oversight. Lightweight Architecture Decision Records is a technique for capturing important architectural decisions along with their context and consequences. We recommend storing these details in source control, instead of a wiki or website, as then they can provide a record that remains in sync with the code itself. For most projects, we see no reason why you wouldn't want to use this technique.

Decision

Status

Consequences

@richardzone
richardzone / serverless_prerequisites.md
Last active January 15, 2018 03:01
Serverless workshop prerequisites

Unix shell tricks

Commands

General Useful Commands

Put running process to background: Ctrl+Z

Put process back to foreground to continue work: fg

Git Basics

Basic git commands

Clone a repo: git clone git@github.com:richardzone/ansible-training-workshop.git

Pull data from server: git pull == git fetch + git merge, additionally you can use git pull --rebase

Add all changes to staging area: git add -A == git add . + git rm {{REMOVED FILES}}

@richardzone
richardzone / steps.md
Last active June 20, 2016 15:30
Build Apache 2.4 from source code for Red Hat Enterprise Linux (RHEL) 6 server

My aim is to build Apache 2.4.20 on RHEL 6.7 server with the following non-default modules enabled:

  • mod_http2
  • mod_ssl
  • mod_mime_magic
  • mod_cache_disk
  • mod_deflate

Here are the steps I followed:

Useful *nix tricks

Commands

General Useful Commands

Put running process to background: Ctrl+Z

Put process back to foreground to continue work: fg