Skip to content

Instantly share code, notes, and snippets.

View thom801's full-sized avatar

Thom Allen thom801

View GitHub Profile
@thom801
thom801 / terminal-cheat-sheet.md
Last active December 17, 2015 19:59
Terminal Cheat Sheet

Intro

In the following examples, "noob" will be used as the username. You will not ever type this in, it will just serve as reference for what you will actually see within terminal. For example, if your username is bob, your prompt will look like bob$ instead of noob$ .

Anywhere that you see something within carets, this is an argument placeholder and should be replaced when writing the actual command, for example mkdir <directory location or name> would be written as something like mkdir example.

Navigating

ls - List contents of current directory

@thom801
thom801 / python-language-elements.md
Last active June 7, 2017 23:08
Python Language Elements

Python Language Elements

Classes

Below is a breakdown of the following Class definition and a little about what each part of it does.

class ClassName(object):
  """docstring for ClassName"""

	attribute = 10