summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/custom_rdate/howtos/en
diff options
context:
space:
mode:
authorap9176@student.uni-lj.si <ap9176@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-28 08:58:31 +0000
committerap9176@student.uni-lj.si <ap9176@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-28 08:58:31 +0000
commitdca7ba5af36ab2358b55c19f12be1c174134239f (patch)
treef114d32a3badf405f6805644171621947656e981 /kpov_judge/tasks/custom_rdate/howtos/en
parent20876239fdedc54bcc7048bd2e55051b79d08c0a (diff)
Custom Rdate kratki popravki howto si/en verzija
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@244 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/custom_rdate/howtos/en')
-rw-r--r--kpov_judge/tasks/custom_rdate/howtos/en/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpov_judge/tasks/custom_rdate/howtos/en/index.html b/kpov_judge/tasks/custom_rdate/howtos/en/index.html
index 412a853..0ba231a 100644
--- a/kpov_judge/tasks/custom_rdate/howtos/en/index.html
+++ b/kpov_judge/tasks/custom_rdate/howtos/en/index.html
@@ -12,7 +12,7 @@
1. From directory with virtual machine images download Student.vdi (client) and SimpleArbiter.vdi(server) <br>
2. Use VirtualBox (or another program that suits your preferences) create two virtual machines with virtual hard drive files from previous step.<br>
3. Run both virtual machines. <br>
- 4. Use username <strong>root</strong> and password <strong> kaboom </strong> to log into client. For loging into server use username <strong>tester</strong> and password <strong>SedemKrogovPekla</strong></p>
+ 4. Use username <strong>root</strong> and password <strong> kaboom </strong> to log into client. For loging into server use username <strong>tester</strong> and password <strong>tester</strong></p>
<img src="slike/bu15.png"> <img src="slike/bu1.png">
<p><h3><u><strong><em>First part: update time with help of rdate.</em></strong></u></h3><br>
1. Lookup and write down IP address of server. (ifconfig)<br><img src="slike/bu2.png"><br><img src="slike/bu3.png"><br>
@@ -25,19 +25,19 @@
Program can be written in Java language or Pythonu. You can use text editor of your choice.</p>
<p><br>
JAVA------<br>
- 1. Command nano bintodec3.java creates and opens empty text editor.<br>
+ 1. Command nano guliver.java creates and opens empty text editor.<br>
2. Write a program that converts 32bit numbers in two's complement to decimal.<br>
<img src="slike/bu6.png"><br><img src="slike/bu7.png"><br>
3. Press Ctrl+X, then Y and Enter to save our program<br>
4. In case you don't have java installed write <strong>sudo apt-get install openjdk-6-jdk</strong> to install it<br><img src="slike/predvaja_clip_image003.gif"><br>
5. Compile program with command <strong>javac bintodec3.java</strong><br>
- 6. We can test our new program with <strong>java bintodec3</strong>. Now we input some 32bit numbers in hexadecimal format <br><img src="slike/bu9.png"><br></p>
+ 6. We can test our new program with <strong>java guliver</strong>. Now we input some 32bit numbers in hexadecimal format <br><img src="slike/bu9.png"><br></p>
<p>PYTHON------<br>
- 1. Command nano bintodec3.py creates and opens empty text editor.<br>
+ 1. Command nano guliver.py creates and opens empty text editor.<br>
2. Write a program that converts 32bit numbers in two's complement to decimal.<br>
<img src="slike/bu5.png"><br>
3. Press Ctrl+X, then Y and Enter to save our program<br>
- 4. We can test our new program with <strong>python bintodec3.py</strong><br><img src="slike/bu8.png"><br></p><br><br>
+ 4. We can test our new program with <strong>python guliver.py</strong><br><img src="slike/bu8.png"><br></p><br><br>
<p>