This tool can be used to build “course handout books” using multiple LaTeX beamer slides sets.
I have been using a Bash script with almost the same functionality for a long time. Some background information on this old script can be found in this blog post.
- Title page, introduction, table of contents
- One chapter per slide set (three printer-friendly versions: no slides transitions & less colors)
How it works:
- Just run one program: “python build.py”
- The program starts building all the LaTeX beamer slides.
- The output is converted to the printer-friendly formats.
- All documents are merged in the master handouts book.
- Create a ZIP archive with all the documents
Code and examples available at GitHub.
After merging with Plantijn University College, my employer decided to design a new “house style” for slides and official documents.
Since I have been using LaTeX beamer based slides in my classes for a while, this meant I needed a new LaTeX beamer template for my lecture slides.
The following style is based on the official PowerPoint template.
Source code and examples available at GitHub.
I recently found a small software project while cleaning up some old folders on my PC. The program uses the concept of evolution from biology to solve simple “problems”.
I wrote this code while reading the book The Selfish Gene by Richard Dawkins. Somewhere in that book, the author ask the reader to write their own simulator and I was crazy enough to actually do that…
It was after programming this application and reading several of his books that I decided to start my studies in environmental sciences at the open university in the Netherlands.
- Enter a ‘secret key’
- Generate a random string (parent)
- Generate 1000 strings based on the parent (with minor mutations)
- Select the child that is closest to the ‘secret key’ (lowest ‘Deltasum’ or the ‘fittest’)
- This child becomes the parent for the next generation
- Go back to step 3 until the secret key is found
Code available on GitHub.
This project is a free initiative to create an Arduino library for the Parallax (Futaba) Continuous Rotation Servo.
The main goal is to provide a library that simplifies the usage of this particular servo in Arduino projects.
- rotateLeft(speed) & rotateRight(speed)
- rotateLeft(speed, time) & rotateRight(int speed, int time)
- noMovement() & noMovement(time)
- Download the source
- Place the ContinuousRotationServo? folder in your Arduino1.0+ “libraries” folder
- Open example sketch: “file”, “Examples”, “ContinuousRotationServo”, “Rotate” (or “RotateTime”)
- Connect the signal pin to port 2 (and connect Vcc and GND, ensure Vcc is able to source approx. 200 mA)
- Compile & upload code
- The servo should be moving as requested
This small scripts allows me fix the indentation of C++ source files with very little effort.
- Drop one or more C++ source files in the “toindent” folder
- Run the script “./indenter.sh toindent” (this calls the bcpp indenter to indent all files in the ‘toindent’ folder)
There are some options for step 2:
- Select one file to indent: “indent.sh file.cpp”
- Select all files in the ‘toindent’ folder: ”./indent.sh toindent/”
- Select only files with a certain extension in a folder (e.g. “.h”): ”./indent.sh toindent h”
Indentations options can be changed in the “bcpp_indenter.cfg” file.
Last week, I presented an article on the development of an Arduino-based wireless sensor network implementation at the AMBIENT 2012 conference in Barcelona. The conference was organised by IARIA, a non-for-profit, non-government organization that aims to promote scientific and industrial interchanges between scientific, academic and industrial researchers.
Abstract—The paper presents an Arduino-based wireless sensor network to monitor parking lots using a non-standard low-power energy-balanced system. The event-driven routing protocol follows the hierarchical clustering philosophy. Energy is saved by minimising the number of transmissions needed to forward information to the base station. The smart sensor platform is build using the popular Arduino development platform, Sharp IR distance sensors and nRF24 low-power radio modules. Our practical results show that this platform is easy to use, but not the most appropriate platform to develop low-power wireless sensor network applications.
Keywords: Wireless Sensor Network (WSN); Smart Parking Application; Clustering; Arduino; nRF24.
The source code will be available on Google Code in the near future.