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
export NVM_DIR="/Users/jyi/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
eval "$(rbenv init -)" | |
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' | |
GIT_PS1_SHOWDIRTYSTATE='1' | |
source ~/.git-prompt.sh |
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
public abstract class LivingThing { | |
abstract void methodOfSurvival(); | |
public static void main(String args[]) { | |
Person person = new Person("Person"); | |
System.out.println(person.firstName); | |
// calling FINAL STATIC variables | |
System.out.println(Person.MORALSTANCE); //accessed thru class | |
System.out.println(person.MORALSTANCE); //accessed thru instance |
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
WHAT ARE ENVIRONMENTAL VARIABLES? | |
probably saw them in your challenge directories, under config. | |
such as ENV['BUNDLE_GEMFILE'] in the environment.rb file and | |
Environment variables are variables passed to programs by the command line or the graphical shell. | |
Though there are a number of environment variables that only affect the command line or graphical | |
shell itself (such as PATH or HOME), there are also several that directly affect how Ruby scripts execute. | |
basically, they are variables that capture a certain element in your environment. | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>DOM manipulation with jQuery</title> | |
<!-- Add a link to jQuery CDN here script here --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script type="text/javascript" src="jquery_example.js"></script> | |
</head> | |
<body> |
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
class BoggleBoard | |
def initialize(board) | |
@board = board | |
end | |
def create_word(*coords) | |
coords.map { |coord| @board[coord.first][coord.last]}.join("") | |
end | |
def get_row(row) |