Moved some files to archive and added links to presentations
authorMart Lubbers <mart@martlubbers.net>
Wed, 22 Apr 2015 07:25:27 +0000 (09:25 +0200)
committerMart Lubbers <mart@martlubbers.net>
Wed, 22 Apr 2015 07:25:27 +0000 (09:25 +0200)
archive/lejos-ubuntu.html [new file with mode: 0644]
files/pympi_presentation2014.zip [new file with mode: 0644]
index.html
put.bash

diff --git a/archive/lejos-ubuntu.html b/archive/lejos-ubuntu.html
new file mode 100644 (file)
index 0000000..8c1a73c
--- /dev/null
@@ -0,0 +1,32 @@
+<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&amp;ts=1356791160&amp;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&#123;idVendor&#125;==\"03eb\", GROUP=\"lego\", MODE=\"0660\"" &lt;&lt; /etc/udev/rules.d/70-lego.rules
+# echo "BUS==\"usb\", SYSFS&#123;idVendor&#125;==\"0694\", GROUP=\"lego\", MODE=\"0660\"" &lt;&lt; /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>
diff --git a/files/pympi_presentation2014.zip b/files/pympi_presentation2014.zip
new file mode 100644 (file)
index 0000000..f7b563c
Binary files /dev/null and b/files/pympi_presentation2014.zip differ
index 21f191c..1429e81 100644 (file)
                <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>
index 8f3806b..3b6754d 100644 (file)
--- a/put.bash
+++ b/put.bash
@@ -1,9 +1,9 @@
 #!/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}')