Posted inComputers

DisplayTemp

#include // needed in Arduino 0019 or later
#include
#include
// Temp Init
#include
#include

// we need fundamental FILE definitions and printf declarations
#include

// Data wire is plugged into pin 2 on the Arduino
#define ONE_WIRE_BUS 2

// Super nauwkeurig
#define TEMPERATURE_PRECISION 12

// Setup a oneWire instance to communicate with any OneWire devices
// (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);

// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

// Ethernet Shield Settings
byte mac[] = {
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

// If you don’t specify the IP address, DHCP is used(only in Arduino 1.0 or later).
byte ip[] = {
192, 168, 0, 250 };

// Your Token to Tweet (get it from http://arduino-tweet.appspot.com/)
Twitter twitter(“15630100-XRwPZ7YPS8lzkRslfbj0Era6qMlYov6MojZrlFUWU”);

void setup()
{
delay(1000);
Ethernet.begin(mac, ip);
// or you can use DHCP for autoomatic IP address configuration.
// Ethernet.begin(mac);
Serial.begin(9600);
Serial.println(“Dallas Temperature IC Control Library Demo”);

// Start up the library
sensors.begin();
// Convert
Serial.print(“Requesting temperatures…”);
sensors.requestTemperatures(); // Send the command to get temperatures
Serial.println(“DONE”);

float temp = sensors.getTempCByIndex(0);
Serial.println (“Temp as float, measured”);
Serial.println( temp );

// Init msg
char msg[140];

Serial.println(“Msg is: “);
char temps[10];
dtostrf(temp, 2, 2, temps);
Serial.println( sprintf(msg,”Current Temp: %d Celcius”, temps) );
Serial.println();

Serial.println(“connecting to Twitter …”);
if (twitter.post(msg)) {
// Specify &Serial to output received response to Serial.
// If no output is required, you can just omit the argument, e.g.
// int status = twitter.wait();
int status = twitter.wait(&Serial);
if (status == 200) {
Serial.println(“OK.”);
}
else {
Serial.println(); // Lege regel
Serial.println(“failed : code “);
Serial.print(status);
}
}
else {
Serial.println(“connection failed.”);
}

}

void loop()
{

}

Posted inComputers

Ubuntu Linux Kernel 3.18 installation guide

This short walkthrough describes how to install the Ubuntu Linux Kernel 3.18 (server and  client) without compiling.

This guide should work with the latest version of Ubuntu Linux and most Ubuntu-based distributions including Mint. The included kernel files have been compiled using the generic Ubuntu configuration. The general packages are available for 32 bits systems (I386+) and 64 bits (AMD64) and both as low latency.

Installation Guide (GUI)

  1. Download the kernel headers package:

    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18-vivid/linux-headers-3.18.0-031800_3.18.0-031800.201412071935_all.deb
  2. And the appropriate package for your system
  3. And the accompanying compiled kernel image
  4. Install the files in the same order as downloaded above. So first install the headers (2 files) and finally the image (1 file).
  5. In the terminal run:

    sudo update-grub
  6. Reboot and select the kernel from the bootloader menu

I will post the latest version of the 3.16 branch and 3.17 release candidates in comments below.

Posted inComputers

Bye Bye Burning

As expected by many, some years ago, there is no future of burning CDs and DVDs. With the price of a NAS system dropping below $ 150 and harddisks increasing in size (8 TB is the current limit) and price drops, the interest in archiving on removable media shrinks by the day.
Another sign of this phenomena is Ahead Nero 15. This product contains no significant new features in latest release.

Posted inGames

My Favourite World of Warcraft addons – Warlords of Draenor (6.0)

This post is an update on My Favourite World of Warcraft addons (2014)

Below are my favourite World of Warcrafts addons which are Warlords of Draenor (WoD) compatible.

  • Addon Control Panel
  • Auctioneer Suite
  • Bagnon
  • Crap Away!
  • Deadly Boss Mods
  • Emoji
  • GemHelper
  • InFlight Taxi Timer
  • Master Plan
  • Omen Threat Meter
  • Postal
  • RareFinder
  • Recount
  • Titan Panel
  • Titan Panel – Currency
  • Titan Panel – Mail
  • X-Perl UnitFrames