Saturday, November 29, 2014

piCaso - a pocket calculator with a Raspberry Pi inside

It can do everything a regular Raspberry Pi running debian can, including Mathematica.

Friday, November 28, 2014

OwnCloud installation on Banana Pi- Personal Cloud and NAS

Pumpkin Pi is an mere idea, a seed, of great potential. It aims to bring to your fingertips a personal cloud experience and a fun Do-It-Yourself project. Powered by an embedded board running on Linux, Pumpkin Pi is all the imagination and work of developers and programmer worldwide. To be loaded with an open source cloud software, Pumpkin Pi stores all of your information on a hard drive in your house.

Linux command "$ sudo !!", to run last command with sudo

To run last command with sudo right, enter:
$ sudo !!

Thursday, November 27, 2014

Code Java on the Raspberry Pi, BlueJ on the Raspberry Pi

BlueJ, start from version 3.14, fully supports the Raspberry Pi. BlueJ is a Java development environment that allows development as well as program execution on the Pi.

BlueJ on the Raspberry Pi provides full access to hardware attached to the Raspberry Pi via the open source Pi4J library, from the the familiar Java SE language, including the new Java 8.


Current issue of Java Magazine, november/december 2014, have a charter of "Code Java on Raspberry Pi" introduce how BlueJ brings Java SE 8 development directly to the Raspberry Pi.

Friday, November 21, 2014

Raspberry Pi Challenge Day @ UKFast

UKFast hosted a challenge day for The Dean Trust Ashton-On-Mersey School to inspire the next generation of software engineers. Guided by our industry experts; the students learned to program the Raspberry Pi to control bedroom lamps with their smartphones and modified Minecraft.

Thursday, November 20, 2014

Banana Pi Camera & LCD

An overview of the LeMaker Banana Pi camera and five inch LCD module, including connection and driver information.

Wednesday, November 12, 2014

How much current does the Raspberry Pi Model A+ need

Raspberry Pi A+ power measurements. How much current does the A+ need to do various things? Comparison with B+ and older model A. Blog article here

Tuesday, November 11, 2014

Raspberry Pi Model A+ announced

Raspberry Pi Model A+ announced, at lower price of $20. Source:

Foundations of Python Network Programming

Foundations of Python Network Programming , Third Edition, covers all of the classic topics found in the second edition of this book, including network protocols, network data and errors, email, server architecture, and HTTP and web applications, plus updates for Python 3.

Some of the new topics in this edition include:
• Extensive coverage of the updated SSL support in Python 3
• How to write your own asynchronous I/O loop.
• An overview of the "asyncio" framework that comes with Python 3.4.
• How the Flask web framework connects URLs to your Python code.
• How cross-site scripting and cross-site request forgery can be used to attack your web site, and how to protect against them.
• How a full-stack web framework like Django can automate the round trip from your database to the screen and back.

If you're a Python programmer who needs a deep understanding of how to use Python for network-related tasks and applications, this is the book for you. From web application developers, to systems integrators, to system administrators—this book has everything that you need to know.

Practical Node.js: Building Real-World Scalable Web Apps

Practical Node.js: Building Real-World Scalable Web Apps is your step-by-step guide to learning how to build a wide range of scalable real-world web applications using a professional development toolkit. Node.js is an innovative and highly efficient platform for creating web services. But Node.js doesn't live in a vacuum! In a modern web development, many different components need to be put together — routing, database driver, ORM, session management, OAuth, HTML template engine, CSS compiler and many more.

If you already know the basics of Node.js, now is the time to discover how to bring it to production level by leveraging its vast ecosystem of packages. As a web developer, you'll work with a varied collection of standards and frameworks - Practical Node.js shows you how all those pieces fit together.

Practical Node.js takes you from installing all the necessary modules to writing full-stack web applications by harnessing the power of the Express.js and Hapi frameworks, the MongoDB database with Mongoskin and Mongoose, Jade and Handlebars template engines, Stylus and LESS CSS languages, OAuth and Everyauth libraries, and the Socket.IO and Derby libraries, and everything in between. The book also covers how to deploy to Heroku and AWS, daemonize apps, and write REST APIs. You'll build full-stack real-world Node.js apps from scratch, and also discover how to write your own Node.js modules and publish them on NPM. You already know what Node.js is; now learn what you can do with it and how far you can take it!

What you’ll learn
  • Manipulate data from the mongo console
  • Use the Mongoskin and Mongoose MongoDB libraries
  • Build REST API servers with Express and Hapi
  • Deploy apps to Heroku and AWS
  • Test services with Mocha, Expect and TravisCI
  • Utilize sessions for authentication
  • Implement a third-party OAuth strategy with Everyauth
  • Apply Redis, domains, WebSockets, and clusters
  • Write your own Node.js module, and publish it on NPM
Who this book is for
Practical Node.js is for web developers who have some familiarity with the basics of Node.js and want to learn how to use it to build apps in a professional environment.

Table of Contents
  • Setting Up Node.js and Other Essentials
  • Using Express.js to Create Rapid Node.js Web Apps
  • TDD and BDD for Node.js with Mocha
  • Template Engines: Jade and Handlebars
  • Persistence with MongoDB and Mongoskin
  • Using Sessions and OAuth to Authorize and Authenticate Users in Node.js Apps
  • Boosting Your Node.js Data with the Mongoose ORM Library
  • Building a Node.js REST API Server App
  • Realtime Apps with WebSockets, Socket.IO, and Derby JS
  • Getting Node.js Apps Production Ready
  • Deploying Node.js Apps
  • Publishing a Node.js Module and Contributing Back to the Project

Tuesday, November 4, 2014

Develop C# program on Raspberry Pi, with mono

Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for development of cross platform applications.

To install mono on Raspberry Pi, run the command:
$ sudo apt-get install mono-complete

Currently, the installed version is 3.2.8.

Create a simple console program of HelloWorld using C# language, HelloWorld.cs.
using System;

public class HelloWorld
    public static void Main()
        Console.WriteLine("Hello Raspberry Pi...using c#");

Compile it with the command:
$ gmcs HelloWorld.cs

And run it:
$ mono HelloWorld.exe

Updated post: Install Mono/MonoDevelop on Raspberry Pi/Raspbian