Computer Science 12
- Week 1: Miscellaneous topics (Notepad)
- Week 8: Miscellaneous topics (Windows Command Prompt, SSH to a Unix system)
- Week 9: Unix and WincSCP)
- More later.
Week 1: Miscellaneous topics (Notepad)
Editing HTML files using Windows Notepad:
- About.com: Writing HTML in Notepad
- Northern Virginia Community College: Notes on Using Notepad with HTML
Note: Editing files in Windows Notepad can be done reliably only when filename extensions are visible. See the pages below on how to make filename extensions visible in Windows 7.
Filename extensions in Windows:
- Microsoft: How to show or hide file name extensions in Windows Explorer and File names and file name extensions: frequently asked questions
- Windows 7 Forums: How to Hide or Show Known File Type Extensions in Windows 7
- Safari Books Online: Windows 7: The Missing Manual: Filename Extensions and File Associations
To all information for Week 1 | To all tutorials about miscellaneous topics
Week 8: Miscellaneous topics (Windows Command Prompt, SSH to a Unix system)
Brief introduction to the Windows Command Prompt:
- Beginners Guides: WindowsXP Command Prompt
- Windows Shell Tutorial by Cay S. Horstmann
- Introduction to the Windows Command Prompt by Bleeping Computer
- Getting to Know Windows Command Line Utilities by Dan DiNicolo
- Windows Command Prompt in 15 Minutes (Ignore the stuff about running a Java program)
Logging on to a Unix system via WinSCP:
- On Joe Svitak's CS 12 site: Unix account, including "How to Construct Your UNIX Account's Username and Initial Password," Logging on to your Unix account, and (if you're working at home) Installation of the WinSCP program.
- On Joe Svitak's CS 12 site: Web Page Tutorials. Listed here FYI, but we will NOT be following this exactly. We will not be creating the page remotely, as instructed here. Instead, you will asked to copy and paste your already-existing HTML files into the
public_htmldirectory on the remote site.
Next week, you will be taught how to upload your HTML pages (created earlier in the semester) to a website that will display them.
To all information for Week 8 | To all tutorials about miscellaneous topics
Week 9: Miscellaneous topics (Unix and WinSCP)
Logging on to a Unix system via WinSCP:
- On Joe Svitak's CS 12 site: Unix account, including "How to Construct Your UNIX Account's Username and Initial Password," "Logging on to your Unix account" (via Windows or Macintosh), and (if you're working at home) Installation of the WinSCP program.
To upload a file via WinSCP, once you are logged in: (1) On the left side, navigate to the directory where your files are, on your local machine. (2) On the right side, go into the public_html directory, which is where you must put your files in order for them to be visible on your website. (3) On the left side, select the files you want to copy. After highlighting them, select "Copy" from the "Files" menu. (4) Click on the right side, then select "Paste" from the "Files" menu and respond appropriately to subsequent prompts. (5) Once you've uploaded all your files, view them at a URL like the following, to make sure you've uploaded them correctly:
http://cs12.cs.qc.cuny.edu/~yourusername/
replacing " yourusername " with your actual username. Be sure to include the tilde (" ~ ") just before your username.
Brief introduction to Unix:
- D. Nixon's Computer Science 12 tutorial, Brief introduction to Unix files, directories, and permissions. Located on the same machine where you'll be uploading your website.
- UNIX Tutorial for Beginners by Michael Stonebank
- Unix Tutorial by Kevin Heard
In WinSCP, you can access the Unix command line (shell) by selecting "Open Terminal" from the "Commands" menu, once you are logged in to cs12.cs.qc.cuny.edu . (You will be prompted to log in again.) You do NOT need to do this in order to uploaded your files, which can be done easily via the GUI interface. Nevertheless, once you have successfully uploaded (and viewed) your files, you should take the opportunity to learn a little about Unix.
File permissions and chmod on a Unix/Linux machine:
- D. Nixon's Computer Science 12 tutorial, Brief introduction to Unix files, directories, and permissions. Located on the same machine where you'll be uploading your website.
- A quick and dirty chmod Tutorial...... by Anthony Baratta
- Redbrick Wiki: File Permissions
To all information for Week 9 | To all tutorials about miscellaneous topics