Skip to content

Instantly share code, notes, and snippets.

@joshhepworth
Last active December 14, 2015 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshhepworth/5139519 to your computer and use it in GitHub Desktop.
Save joshhepworth/5139519 to your computer and use it in GitHub Desktop.
Boilerplate Markdown for Testing Styling

A First Level Header

A Second Level Header

A Third Level Header

A Fourth Level Header

A Fifth Level Header
A Sixed Level Header

Now is the time for all good men to come to the aid of their country. This is just a regular paragraph.

The quick brown fox jumped over the lazy dog's back.


Header 3

This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.

Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.

This is an H2 in a blockquote

This is the first level of quoting.

This is nested blockquote.

Back to the first level.

Some of these words are emphasized. Some of these words are emphasized also.

alt text

Use two asterisks for strong emphasis. Or, if you prefer, use two underscores instead.

  • Candy.

  • Gum.

  • Booze.

  • Red

  • Green

  • Blue

  • A list item.

    With multiple paragraphs.

  • Another item in the list.

  • This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.

    Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.

  • Suspendisse id sem consectetuer libero luctus adipiscing.

  • This is a list item with two paragraphs.

    This is the second paragraph in the list item. You're only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

  • Another item in the same list.

  • A list item with a blockquote:

    This is a blockquote inside a list item.

  • A list item with a code block:

Here is an example of AppleScript:

tell application "Foo"
    beep
end tell

This is an example link.

I get 10 times more traffic from Google than from Yahoo or MSN.

I start my morning with a cup of coffee and The New York Times.

alt text

alt text

I strongly recommend against using any `` tags.

I wish SmartyPants used named entities like instead of decimal-encoded entites like .

If you want your page to validate under XHTML 1.0 Strict, you've got to put paragraph tags in your blockquotes:

    For example.

Homework: Problems 2.10-2.19; complete registration system


Chapter 2

Phases of Software Development

  1. Analysis
  2. Design
  3. Implementation

Analysis phase

Requirements -- what the customer wants or needs. Understanding on needs expressed by:

  • Use cases can (can use UML)
  • User manual style of analysis document

Design phase

Goals of OO design:

  1. Identify classes -- things in the system
  2. Identify responsibilities of the classes
  3. Identify relationships between classes

Classes consist of:

  1. Behavior: Methods represent the class behavior
  2. State: Fields represent the state of the class instance (object)
  3. Identity: each unique object should have its own address in memory which contains its state

Types of classes that are common:

  1. Tangible things
  2. Agents
  3. Events and transactions
  4. Users and roles
  5. Systems
  6. System interfaces and devices
  7. Foundational classes

Types of class relationships:

  1. Dependency (uses a)
  2. Aggregation (has a)
    • Aggregation -- 1:many
    • Association -- 1:1
    • Composition -- "if I'm composed of other things, then I am considered responsible for the lifetime for those things"
  3. Inheritance (is a)

Classes and relationships are the basis for a UML class diagram.

h1, h2, h3, h4, h5, h6, ul, ol, blockquote, pre, p, hr { margin-bottom: 1.2em; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; }
h1 { font-size: 2.0em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.6em; }
h4, h5, h6 { font-size: 1.4em; }
ul, ol { margin-left: 30px; }
ul { list-style: disc; }
ol { list-style: decimal; }
blockquote { border-left: 1px solid #dfdfdf; padding-left: 20px; }
b, strong { font-weight: 500; }
pre code {
font-family: Monaco, "Courier New", serif;
font-size: 0.8em;
padding: 10px 15px;
background: #dfdfdf;
display: block;
}
hr { border: none; border-bottom: 2px solid #000; }
img { width: 100%; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment