1 / 12 cop 3503 fall 2012 shayan javed programming fundamentals using java 1

12
1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

Upload: barrie-daniels

Post on 14-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

1 / 12

COP 3503 FALL 2012SHAYAN JAVED

Programming Fundamentals using Java

1

Page 2: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

2 / 12

Tools

Page 3: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

3 / 12

Linux Command Line

Know the basics of the Linux command line

Directories/files/compiling/manipulating text files/searching/etc.

Reference: http://files.fosswire.com/2007/08/fwunixref.pdf

Practice, practice, practice

Page 4: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

4 / 12

Linux Command Line

Bash scripting:

Bash is a Unix Shell

Write small scripts to automate common operations

Run script:

./script.sh

Page 5: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

5 / 12

Text Editors

For Linux:

Gedit.

More complex/powerful: emacs/vim (higher learning curve)

Page 6: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

6 / 12

Text Editors

For Windows:

Notepad++

Use an editor which allows syntax highlighting, viewing line numbers, search/replace, etc.

Page 7: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

7 / 12

Text Editors

For Mac OS X:

I don’t know

(though you could probably use Linux-based editors)

Page 8: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

8 / 12

A Note on IDEs…

Eclipse is excellent for writing Java programs

Try to avoid using it – get used to compiling and debugging from the command line/text editor

NetBeans is excellent for creating GUIs

Page 9: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

9 / 12

Connecting remotely to CISE

Windows: Use PuTTy

Linux/Mac: Use “ssh” from the command line:

ssh storm.cise.ufl.edu

OR

ssh [email protected]

Page 10: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

10 / 12

Connecting remotely to CISE

To transfer files:

Windows: WinSCP

Mac: CyberDuck

Linux: SFTP/SCP

More info: http://www.cise.ufl.edu/help/access/remote/

Page 11: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

11 / 12

Back Ups

Very important: Backup your work constantly

Cloud backup:

Dropbox iCloud (Macs) Ubuntu One (Ubuntu)

Page 12: 1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1

12 / 12

Pastebin.com

Whenever you want to email code, use http://pastebin.com

Choose syntax highlighting for Java

Generate link, send to me or TAs. Can edit code/add comments directly.