Skip to content

Instantly share code, notes, and snippets.

// 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;
  1. What does MVC stand for? model. view. controller.
  2. What is the purpose of MVC? orgainzation
  3. What is the command you would use to generate a new rails application called "twitter"? rails new twitter
  4. Which file do you edit to add additional gems to your rails app? gemfile
  5. What is the purpose of .gitignore file? tracked files, but tells git which files to ignore.
  6. What is the app/assets folder used for?
  1. What is the difference between a local variable, and an instance variable? local to local, and instance to where ever
  2. What is the datatype of "DevPoint Labs"? string
  3. Assign the number 10 to the local variable n. N = 10
  4. Assign your name to the local variable name. name = "justin"
  5. What is an Array? a collection of data with a 0 based index
@cheezedigital
cheezedigital / .git_completion
Created May 21, 2014 23:15
This is a required dot file to have Git auto completes. After downloading this file, you need to make changes to your .bash_profile.
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# 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