Skip to content

Instantly share code, notes, and snippets.

View akrueger's full-sized avatar

Andrew Krueger akrueger

View GitHub Profile
@akrueger
akrueger / javascriptObjectComposition.js
Last active July 27, 2016 23:51
JavaScript Object Composition techniques
/***** SETUP *****/
// Constructor
function Car(model) {
this.model = model
}
// Factory
function Truck(model) {
return {
@akrueger
akrueger / algorithms.md
Created July 28, 2016 00:49
Algorithms

Algorithms


Search

Sort

@akrueger
akrueger / dataStructures.md
Created July 28, 2016 00:49
Data structures

Data structures


@akrueger
akrueger / encryption.md
Created August 7, 2016 16:37
Encryption

Symmetric Encryption The same key is used by everyone (public key) to encrypt information The same key is used by each entity (public key) to decrypt information

Asymmetric Encryption The same key is used by everyone (public key) to encrypt information A different key is used by each entity (private key) to decrypt information

@akrueger
akrueger / https.md
Created August 7, 2016 19:01
HTTPS

HTTPS

Two main purposes:
1. Authentication: verifying that you are talking directly to the server that you think you are talking to  
	
2. Encryption: ensuring that only the server can read what you send it and only you can read what it sends back

SSL = SSL ^3.0

@akrueger
akrueger / osi.md
Created August 7, 2016 20:04
Open Systems Interconnection (OSI)

Open Systems Interconnection (OSI) model

@akrueger
akrueger / acid.md
Created August 7, 2016 20:06
ACID database transactions

Database transactions

Atomicity,
Consistency,
Isolation,
Durability

@akrueger
akrueger / indexing.md
Created August 7, 2016 20:08
Database Indexing

Indexing

data structure lookup table

@akrueger
akrueger / normalization.md
Created August 7, 2016 20:10
Database normalization

Normalization

The process of organizing the columns (attributes) and tables (relations) of a relational database to minimize data redundancy.

@akrueger
akrueger / async.md
Created August 7, 2016 20:12
Asynchronous programming

Asynchronous programming