Archive for the Category: Uncategorized

Ubuntu 12.4 Enable SSH Service

To install the openssh-server package run the command below in console. sudo apt-get install openssh-server Once installed, the SSH service should start automatically. If necessary, you can start the service using the command. sudo service ssh start

Leave a comment

Pairing PS3 Controller with Raspberry Pi

We used WIFI to control our 2015 Pi Wars robot. Using WIFI was a big mistake. On the day of the competition, there was too much interference and lag. We have learnt from our mistakes. This time we will be using Bluetooth. We have connected a USB Bluetooth dongle to the Raspberry Pi and using […]

Leave a comment

Oculus

Meares-Irlen Syndrome, (also known as Scotopic Sensitivity Syndrome or Visual Stress) is the term used to describe a number of symptoms which make reading difficult and often unpleasant. The Oculus application helps people, both adults and children, by adjusting the default Window’s white background colour to a colour which is more pleasant for reading. Oculus […]

Leave a comment

Almost Equal C#

Test if two values are almost equal. /// /// Test if two doubles are approximately equal /// /// Test variable one /// Test variable two /// epsilon a measure of equality /// boolean true = values are approximately equal, false = values are not equal public static Boolean almostEqual(double a, double b, double eps) { […]

Also posted in C# Leave a comment