Skip to content

Instantly share code, notes, and snippets.

@SoxFace
Forked from wofockham/demo.md
Last active August 29, 2015 14:13
Show Gist options
  • Save SoxFace/f54cc090b0472a0c3c55 to your computer and use it in GitHub Desktop.
Save SoxFace/f54cc090b0472a0c3c55 to your computer and use it in GitHub Desktop.

Welcome WDI8

DAY ONE NOTES

Intro

Culture

Syllabus

  • web browsers
  • text editors
  • writing
  • design: system, not visual
  • Traditions: The Spit to Manly (half point), Project Burning Airlines (W: 8), Bowling, Unbearable Tragedy

Week 1: Intro to Prog

command line Git basics Ruby

Week 2: Intro to the Web (HTTP)

How the web works Sinatra (basic Ruby) HTML/CSS Forms and POST File I/O

Week 3: Sinatra MVC

SQL Sinatra & SQL Sinatra & Activerecord ActiveRecord Associations Intro to MVC Bundler/gemfile Deployment (Heroku)

Week 4 - Week 12:

Week 4: Week 5: Project Week #1 Week 6: JavaScript Week 7: Javascript Frameworks Week 8: Group Project Week #2 Week 9: Client Side Javascript Frameworks Week 10: Performance, Optimisation, Advanced Rails Week 11: Computer Science Week 12: Project Week #3

How the Internet Works

  • see Skitch .png

Command Line

  • 'top' (table of processes)
  • 'Q' or 'CTRL C' (quits program)
  • 'CTRL + D' (closes bash)
  • 'ls' (list of files)
  • 'ls -l' (list with details)
  • 'cd /' (goes back to root directory)
  • 'cd' (goes to home directory)
  • 'whoami' (tells you your log in)
  • 'mkdir' (make directory)
  • 'open .' (opens folder where you are)
  • 'cd ..' (go to previous directory)
  • 'cd Projects/demo' (relative path into folder)
  • 'cd -' (brings you back to directory you were in)
  • 'cd Pr' + TAB (auto completes)
  • 'cd ls -la' (long listing of all files)
  • 'touch README'
  • 'open -a “Sublime Text” README'
  • 'cat README' (read file via terminal)
  • 'history' (shows history)
  • 'cp README README.backup' (copy source destination)
  • 'mv File NewFile' (renames file)
  • 'mv File ..' (moves files to other directory)
  • 'rm' (remove files)
  • 'ls c*' (list files starting with c)
  • 'ls *txt' (list files ending with .txt)
  • /\ (up arrow to se history of commands)
  • 'which ruby' (shows you where that command is)
  • 'ruby —help' (shows options you can pass into ruby)
  • 'man' (manual)

gist.github.com (share one off documents)

  • updated .bash_profile to open Sublime using “sub” and changed the prompt to show directory

Ruby Basics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment