- What is the difference between a local variable, and an instance variable? local to local, and instance to where ever
- What is the datatype of
"DevPoint Labs"
? string - Assign the number
10
to the local variablen
. N = 10 - Assign your name to the local variable
name
. name = "justin" - What is an Array? a collection of data with a 0 based index
This file contains 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
# | |
# bash completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# | |
# *) local and remote branch names |
- What does
MVC
stand for? model. view. controller. - What is the purpose of
MVC
? orgainzation - What is the command you would use to generate a new rails application called "twitter"? rails new twitter
- Which file do you edit to add additional gems to your rails app? gemfile
- What is the purpose of
.gitignore
file? tracked files, but tells git which files to ignore. - What is the
app/assets
folder used for?
This file contains 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
properly trying to merge a branch - | |
ex: I'm currently working on a bracnch called testing. | |
1. git status | |
2. git add file | |
3. git commit -m "throw in a nice message" | |
4. git push origin testing. | |
git checkout (whatever branch) |
This file contains 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
cat ~/.ssh/id_rsa.pub | |
paste into terminal. | |
return given |
This file contains 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
Last login: Wed Sep 24 20:20:53 on ttys000 | |
~$ ls | |
Applications/ Documents/ Dropbox/ Movies/ Pictures/ Sites/ justin/ project/ temp/ | |
Desktop/ Downloads/ Library/ Music/ README.md app/ mystuff/ projects/ testproject/ | |
~$ rvm install 2.1.2 | |
Searching for binary rubies, this might take some time. | |
Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.2.tar.bz2 | |
Checking requirements for osx. | |
Installing requirements for osx. | |
Updating system..... |
This file contains 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 download the swt jar, in this instance to "swt/win32.jar" | |
// then compile like javac -cp swt/win32.jar TextEditor.java | |
// then run like java -cp .;swt/win32.jar TextEditor | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.ResourceBundle; | |
import java.util.Vector; | |
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.custom.ExtendedModifyEvent; |
This file contains 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
this file was taken from a rails application, and what I'm trying to do is test just like below, but in a sinatra application. new to learning how to think, but totally understand what's happening here in the static_pages_controller_test.rb file. is there a particualr gem i can install which will generate the proper files for testing out the sinatra application? | |
here is the sinatra application: https://github.com/cheezedigital/itempiece6 | |
here is the file from a rails application I'm doing via a tutorial on the webs n shit. | |
require 'test_helper' | |
class StaticPagesControllerTest < ActionController::TestCase | |
test "should get home" do |
This file contains 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'm looking to do small testing on a sinatra app I've been building. | |
https://github.com/cheezedigital/itempiece6 | |
I'd like the test to be small, though I'd like to test every page in the application. | |
like, | |
test "should get about" do | |
get :about |
OlderNewer