This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The following topics helped me use Sublime Text 2 similarly to how TextMate is taught in Code Academy’s dev class: | |
| (1) Create a PATH to launch a file in Sublime Text 2 easily from the command prompt (cmd.exe) | |
| • download Sublime Text 2 and run the download | |
| • find Sublime Text 2 (probably sublime_text.exe) on your computer - you should recall wherever you put it, having just run the download | |
| • rename the Sublime Text 2 application something more concise, like Sublime. *Note: you should not have Sublime open while renaming the application (i.e. the .exe file).You can do this in the regular Windows Explorer program. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # I thought this code (a) created a Song class, (b) gave things in the Song class attributes with attr_accessor, | |
| # (3) made things in the Song class hashes, by virtue of attr_accessor, (4) shoveled a thing called inside_the_quiet | |
| # into the Song class, (5) gave inside_the_quiet the keys of :name and :author, and (6) would return a simple "Song" | |
| # when I run ruby file_name. But I don't think too much of that is true. | |
| class Song | |
| attr_accessor :name, :author | |
| Song << inside_the_quiet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First, make sure you have a Repo in Github with a name that matches the name of the directory in which your app is located. If you don't, create the Repo, and follow the instructions (you can ignore the README step). | |
| Once you're ready to commit from the command prompt follow these steps: | |
| 1) ~/...:git add . | |
| 2) ~/...:git commit -m "description of the commit goes here" | |
| 3) ~/...:git push origin master |