Piazza https piazza comuchicagosummer 2014mpcs 51 037home Course
- Slides: 29
Piazza: https: //piazza. com/uchicago/summer 2014/mpcs 51 037/home Course website: http: //java-class. cs. uchicago. edu/adv/
Lecture 02 Agenda: 1/ intro 2/ bit. Bucket register 3/ setup dev environment JDK, maven, git, sourcetree, p 4 merge, net. Beans 8, glassfish 4/ intro to maven, netbeans, & git
Registering Bitbucket account Remote source-control: http: //java-class. cs. uchicago. edu/adv/
Pass by value and reference
pass by value pass by reference Action: Tell my accountant how much I intend to spend on a new car. Action: Swipe debit card and enter pin at the Bently dealership. Change in bank account: no change. Change in bank account: -125 k.
If a tree falls in a forest and no one is around to hear it, does it make a sound?
Event-Source (Button) No Event-Listener listening Event (on. Click) No Catcher No Event Listener
Event-Source (Button) Event-Listener listening Event (on. Click) On. Click. Listener Any Object Catcher ready to catch
Wrong Event
Event source not registered
Event-Source (Button) Event-Listener listening Event (on. Click) On. Click. Listener On. Mouse. Listener Any Object Event (on. Mouse) Catcher ready to catch
Fork-and-Clone projects
Clone Labs
GIT architecture
git config --global user. name "Your Name" git config --global user. email "your_email@whatever. com"
add/reset/commit: move files from working-dir to stage-dir(aka index) git add src/lec 01/glab/Digital. To. Binary. java move files from stage-dir(aka index) to working-dir git reset HEAD. git reset head src/lec 01/glab/Digital. To. Binary. java git commit -m “your commit message. ”
Amending: Every commit is associated with a sha-1 hash. That hash is derived from 1/ the file changes in that commit and 2/ the previous commit. You can not change any commit unless that commit is at the head. Since no other commits depend on the head, you may safely change the head. To change the head, use git commit --amend -m “your message” git commit --amend --no-edit
Reverting: You can roll back a commit (reverse it) by identifying it's sha 1 hash like so. git revert --no-edit 71 ac
Branching: To list the branches in a project: git branch -r git branch --all To create a branch: git checkout -b branch. Name c 39 b git checkout -b branch. Name To delete a branch: git branch -D branch. Name To checkout a branch: git checkout 7 afe git checkout master
Pushing to remotes: To see the remotes: git remote -v show To push to a remote: git push origin master: master git push origin master git push --all
Pulling from remotes: To see the remotes: git remote -v show To pull from a remote: git pull --all git pull origin eval
Net. Beans keymap
- Porta magica piazza vittorio
- Piazza del campidoglio
- Moore piazza d'italia
- Charles moore piazza d'italia
- Rnesans
- Consultorio il faro
- Foresteria esercito napoli
- Piazza sfu
- Granata store piazza castello
- Iis alghero
- Piazza d'italia giorgio de chirico analysis
- Piazza navona fontane laterali
- Piazza fios e cabos
- Patrick nicolo
- Course interne course externe
- Course title and course number
- Disadvantages of cavity wall
- Https://kahoot game pin
- "https://www.pinterest.com" https://www.pinterest.com
- "https://za.pinterest.com" https://za.pinterest.com
- "https://br.pinterest.com" https://br.pinterest.com
- Does chemiosmosis cause cramps
- Bargaining styles assessment tool
- Tcole 1014 basic instructor course
- Global insolvency practice course
- Rlss nwsmp
- Agregat kelas s
- Gaa level 1 coaching course
- Fire service course delivery