--- /dev/null
+<html>
+ <head>
+ <title>Install LeJOS on Ubuntu</title>
+ <link href="style.css" rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <h3>INFO</h3>
+ <p><a href="http://lejos.org">LeJOS</a> is an alternative operating system and programming environment for the LEGO NXT robots. LeJOS
+ uses java as main programming languages and makes it thus very easy to program object-oriented and reuse old java code.</p>
+
+ <h3>INSTALLATION</h3>
+ <pre>
+# apt-get update
+# apt-get install libusb-dev gcj libbluetooth-dev ant
+$ wget http://downloads.sourceforge.net/project/lejos/lejos-NXJ/0.9.1beta/leJOS_NXJ_0.9.1beta-3.tar.gz?
+r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flejos%2Ffiles%2Flejos-NXJ%2F0.9.1beta%2F&ts=1356791160&use_mirror=heanet
+$ tar -zxvf leJOS_NXJ_0.9.1beta-3.tar.gz
+$ mv leJOS_NXJ_0.9.1beta-3 ~/software/lejos_nxj (or something)
+$ cd ~/software/lejos_nxj/bin
+$ chmod +x nxj*
+$ cd ~/software/lejos_nxj/build
+$ ant
+$ export PATH=/home/user/software/lejos_nxj/bin:$PATH (or put in /etc/environment)
+# touch /etc/udev/rules.d/70-lego.rules
+# echo "BUS==\"usb\", SYSFS{idVendor}==\"03eb\", GROUP=\"lego\", MODE=\"0660\"" << /etc/udev/rules.d/70-lego.rules
+# echo "BUS==\"usb\", SYSFS{idVendor}==\"0694\", GROUP=\"lego\", MODE=\"0660\"" << /etc/udev/rules.d/70-lego.rules
+$ groupadd lego
+$ useradd -G lego user</pre>
+ <br />
+ <p>Remember to run eclipse as root(don't know why yet)</p>
+ </body>
+</html>
<p>Currently none</p>
<h3>Teaching and talks</h3>
- <p>2015-04-20: <a href="http://www.git-scm.com/">Git</a> Workshop for <a href="http://www.ru.nl/artificialintelligence/">AI</a> students.</p>
- <p>2014-09-29 - 2014-10-02: <a href="https://tla.mpi.nl/tools/tla-tools/elan/">ELAN</a>-<a href="https://www.python.org/">Python</a> mini-course(<a href="https://github.com/dopefishh/pympi">pympi</a>). <a href="http://www.mpi.nl">MPI</a></p>
- <p>2014-09-09: Introduction to the command line and bash session. <a href="http://www.linuxnijmegen.nl/">LUGN</a></p>
- <p>2014-07-08: Advanced usage of ssh. <a href="http://www.linuxnijmegen.nl/">LUGN</a></p>
+ <table width="640" border="1">
+ <tr>
+ <th>Date</th>
+ <th>Source</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td>
+ 2015-04-20
+ </td>
+ <td>
+ <a href="https://github.com/dopefishh/gitflashtalk">src</a>
+ <a href="https://github.com/dopefishh/gitflashtalk/releases/download/1.0/git.pdf">pdf</a>
+ </td>
+ <td>
+ <a href="http://www.git-scm.com/">Git</a> Workshop for <a href="http://www.ru.nl/artificialintelligence/">AI</a> students.
+ </td>
+ </tr>
+ <tr>
+ <td>
+ 2014-{09-29,10-02}
+ </td>
+ <td>
+ <a href="files/pympi_presentation2014.zip">pdf+exercise</a>
+ </td>
+ <td>
+ <a href="https://tla.mpi.nl/tools/tla-tools/elan/">ELAN</a>-<a href="https://www.python.org/">Python</a> mini-course(<a href="https://github.com/dopefishh/pympi">pympi</a>). <a href="http://www.mpi.nl">MPI</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ 2014-09-09
+ </td>
+ <td>
+ <a href="https://github.com/dopefishh/linuxnijmegen-bash">src</a>
+ </td>
+ <td>
+ Introduction to the command line and bash session. <a href="http://www.linuxnijmegen.nl/">LUGN</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ 2014-07-08
+ </td>
+ <td>
+ <a href="https://github.com/dopefishh/ssh-pres">src</a>
+ </td>
+ <td>
+ Advanced usage of ssh. <a href="http://www.linuxnijmegen.nl/">LUGN</a>
+ </td>
+ </tr>
+ </table>
<h3>Software and libraries</h3>
<ul>
<h3>Tutorials or manuals</h3>
<ul>
<li><a href="dvorak.html">Dvorak page</a></li>
- <li><a href="lejos-ubuntu.html">Install LeJoS on any debian based linux</a></li>
</ul>
<h3>Other Interests</h3>
<h3>Suspended projects/archive</h3>
<ul>
+ <li><a href="archive/lejos-ubuntu.html">Install LeJoS on any debian based linux</a></li>
<li><a href="archive/youtube-term.html">Play youtube videos on headless machine</a></li>
<li><a href="archive/nsa-dropbox.html">Use any untrusted linux cloud storage safe</a></li>
<li><a href="archive/wlan-debian.html">Wlan w.o. network manager on debian</a></li>
</ul>
<div style="margin-top">
- Last updated: 14-10-17
+ Last updated: 15-04-22
<img style="margin:0px auto;display:block" alt="footer" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAQAAADYBBcfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAR0lEQVQ4y2P8z4AdMOKQ+M8IoZkYyAT018hCSAHMT+h+H0J+HAkaGRn+k6dxCPkRnlZxpUl08SHox5GgkQUWT4wkptkh5EcAi7gLO+9vTlIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTQtMDQtMjRUMTY6MTI6MzErMDI6MDC13ejnAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTA0LTI0VDE2OjEyOjMxKzAyOjAwxIBQWwAAAABJRU5ErkJggg==" />
+ <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" />
</div>
</body>
</html>
#!/bin/bash
set -e
-files=$(find . -type f -not -iwholename "*.git*")
+files=$(find . -type f -not -iwholename "*.git*" -not -name "README.md" -not -name "put.bash" -not -name "hashes.txt")
user=$(gpg -q --use-agent -d ~/pw/general.asc | grep ftpmartlubbers.net -A3 | head -3 | tail -2 | sed 's/\s\+\(user\|pass\):\s\+//g' | head -c -1 | tr '\n' ':')
-for f in $(find . -type f -not -iwholename "*.git*")
+for f in $files
do
origmd5=$(grep "$f" ./hashes.txt | awk '{print $1}')
currmd5=$(md5sum "$f" | awk '{print $1}')