Skip to content

Instantly share code, notes, and snippets.

View nickfuller's full-sized avatar

Nick Fuller nickfuller

View GitHub Profile
@nickfuller
nickfuller / Git Push
Created August 20, 2012 22:07
description of the steps one takes in the command prompt to push a directory into a git repository
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
# 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
@nickfuller
nickfuller / PC Tips: Sublime Text 2 set up
Created August 5, 2012 22:46
Steps for (1) launching Sublime from cmd, (2) configuring Sublime to auto-save upon toggling
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.