Skip to content

AmreenS/Homework0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Homework 0

Welcome to COSCS594. In this class, we will be using a variety of tools that will require some initial configuration. To ensure everything goes smoothly moving forward, we will setup the majority of those tools in this homework. Some of this will likely be tedious, but doing it now will help be more productive in the exciting work during the rest of the course. This homework will not be graded, however it is essential that you complete it timely since it will enable us to set up your accounts.

===========

  1. To start, fork repository fdac/Homework0

  2. Connect to your virtual machine

    • if using ssh consider creating the following entry in ~/.ssh/config
    host da
        user cosc
        hostname 192.168.56.2
        LocalForward 8888 127.0.0.1:8888
    

    then simply ssh da

    • If using putty, don't forget to save session information so you can load it and connect next time
  3. Clone the repository to your virtual machine

If you have not set these up, please do (replace USERNAME with your own): git config --global user.name USERNAME git config --global user.email USERNAME@users.noreply.github.com You may also want to set up your credentials to be cashed (in seconds: 3600=1hour) git config credential.helper 'cache --timeout=3600' Set up your default editor (vi is set by default) git config --global core.editor nano git clone https://USERNAME@github.com/USERNAME/Homework0 You will be asked to enter your github username and password

  1. Then run

    ipython notebook --no-browser
    
  2. Point your browser (on your laptop or, optionally, on your virtual machine) to http://localhost:8888

  3. Edit/Run the example in the browser to complete the assignment

  4. On the virtual machine commit changes to complete your solution.

    (you may need to press <ctrl-C> to kill ipython notebook that was running)

    cd ~/Homework0
    git add --all
    git commit
    

    Now you will get from shell into editor:

    • if vi: type: i your commit comment <ESC> ZZ
    • if nano: your commit comment <ctrl-X> Y (to save changes) to confirm the file name

    Now back in the shell

  5. Push/sync the changes to GitHub.

    git push
    
  6. At https://github.com/USERNAME/Homework0 Create a pull request on the original repository fdac/Homework0 to turn in the assignment.

About

Set up environment/accounts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors