How to Code Raspberry Pi to Tweet it’s own Temperature

tweepy

In  this post we will be building up on the code that we had developed in the previous post on Tweepy. We will extend our basic code so as to extract the temp information from Pi & tweet it. We will then go a bit further & set up a scheduled task (Cron Job), which will run our code at regular intervals of time. Say for example , we can schedule it to run the code once in an hour so that we will get an update of the temp every hour. Enough of talk … Let’s do it. Continue reading

How to change the default Mirrors in Koding

koding

The VM’s that are provided by Koding are 64-bit. Almost all the applications work on this. But there are some apps that are available only in 32-bit versions. In order to make them work we need to install the 32-bit libraries separately.

To know the version of Ubuntu you have installed type the below command

It will show you something like this

linux_version

linux_version

See that x86_64 arrow Its 64-bit. Continue reading

How to install Eagle CAD on Ubuntu 13.04 & 14.04

eagle_cad

NOTE: Eagle CAD v7.3 is available now with support for 64-bit OS. Here is a new tutorial on how to go ahead with the installation. Still this tutorial will be useful for those who want to install older versions of Eagle CAD.

This is a straight forward simple tutorial on how to install Eagle CAD on Ubuntu 13.04, 13.10 & 14.04. If you follow the process that is given on the official Eagle CAD website, you will encounter an error. This is because Eagle CAD is 32-bit & Ubuntu is 64-bit. Previous 64-bit versions of Ubuntu had support for 32-bit applications like Eagle. But the support has been discontinued in the newer versions of Ubuntu. That’s why the normal installation process won’t work. Here’s a preview smile

NOTE: For those who are installing this on a Koding VM, follow this guide to change the default Mirror’s in Koding.

 

eagle_arduino

eagle_arduino

Continue reading

How to Tweet from your Raspberry Pi using Tweepy

tweepy

This tutorial is all about making your Raspberry Pi do more cool things than before. We will be using the Twitter API & write a simple python code that will help the Raspberry Pi to Tweet. Simple enough.

Now this kinda seems complicated but its not, because we do have a python library for this known as Tweepy. So we will be using this library to help us code & connect to Twitter using the API.

What is an API ?

An application-programming interface (API) is a set of programming instructions and standards for accessing a Web-based software application or Web tool. A software company releases its API to the public so that other software developers can design products that are powered by its service.
For example, Amazon.com released its API so that Web site developers could more easily access Amazon’s product information. Using the Amazon API, a third party Web site can post direct links to Amazon products with updated prices and an option to “buy now”. An API is a software-to-software interface, not a user interface. With APIs, applications talk to each other without any user knowledge or intervention.

— By Dave Roos

Continue reading

Vintage Style Terminal

Hello Again smile

I am back with something weird……..yet freakingly awesome….

This time I will take you back to the good old computing days … where GUI was a rare occurance. Command line is all that they had. It was kind of geeky. But as days progressed GUI was introduced & since it was easy for all to use, focus was shifted from command line to GUI.

Even though GUI is widely popular, there is a section of people…sorry .. developer .programmers lol who still like it the old awesome way.

Cool_old_computing

Cool_old_computing .. Image Credits : wired.com

Thanks to @trillobite for introducing this image to me. smile Continue reading