|To start off right||
|To access UTCS machines
from a Windows machine
To access UTCS machines from a Windows machine, first you need to obtain a UTCS account.
Then, you can use WinSCP to communicate to a UTCS machine using your UTCS credentials.Install WinSCP, run it and it will ask you for the following:
You may also need to install PuTTyTo start working remotely on the UTCS machine from your Windows machine, go to "commands" on the top left of the WinSCP screen and choose "open in PuTTY". It will ask you again to enter your CS password. If everything is alright, you will receive Linux prompt:
Using username "fares". firstname.lastname@example.org's password: Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-92-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage * UTCS FAQ: http://www.cs.utexas.edu/facilities/faq/ * Report software problems to email@example.com Please note: this system is intended to serve the instructional, research, and administrative needs of the students, faculty, and staff of the UT Austin Department of Computer Sciences. Any other use of this system, including but not limited to using any method to circumvent proper authentication or authorization, constitutes unauthorized access and may subject the user to criminal prosecution under Texas Computer Crime Statutes and other state or federal laws. Last login: Tue Aug 22 10:06:48 2017 from 22.214.171.124 yellowjacket$
At this point, you are ready to type in Unix/Linux commands.
Warning: Transfering files from Windows machines to UTCS machines might cause some unexpected results when trying to execute the files. The reason for this is that Windows uses carriage return and line feed "\r\n" as a line ending but UNIX uses just line feed "\n". If you have the same issue here, try to run
dos2unix file.pyfor your python files after you transfer your files to a UTCS machine. Alternatively, you can push from your Windows machine to Github and pulll from the UTCS machine. Github may automatically handle this issue for you.
for Project #1 and #2
Projects must run in the CS Labs and on Travis CI.
If you decided to work on your Windows machine, just make sure after you finish your project that it can be built on a UTCS machine, which will be used for grading.To setup your Windows machine, you have to do several things.
You can use it as a shell to run the project and to clone your repos from github.
Note that after installation, try to open the shell. python might not be able to run. you need to type while in git bash the following: alias python="winpty python.exe" Then python should run.
After installing MinGW, check in c:\MinGW if you have the "msys" folder.
% pip install autopep8 % pip install pylint