Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions code/thursday.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ var days = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday',
// console.log('index 20: ' + days[20]);

// TODO: DRY it up!
// for (var i = 0; i < 7; i++) {
// console.log('index ' + i + ': ' + days[i]);
// }
for (var i = 0; i < days.length; i++) {
dayIndex = Math.floor(Math.random())
console.log('index ' + i + ': ' + days[i]);
}


// TODO: Replace the "7" in "i < 7" with the length of the array
Expand Down
6 changes: 6 additions & 0 deletions notes/monday.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
practice the git process
javascript whoa

var in javascript is the box you put objects in
var mystring=""
var "mysting"= this dose not make sense
1 change: 1 addition & 0 deletions notes/tuesday.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
balls
Empty file added notes/wednesday,md
Empty file.
5 changes: 5 additions & 0 deletions resources/vi_cheat_sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@ cmd | description
:q | quit without saving
:w | write changes without exiting
:wq, :x, ZZ | write changes and quit
:q! | force quit without saving

Note that in many cases, there are a number of commands that do the same thing.

d=delete
dd=delete line
dG=delete contents of file