Dec 21, 2013

Create a printf logic in arduino uno for debugging - avr-gcc

If you are using arduino uno board with avr-gcc compiler. You can have a printf printing system for better debugging.

Dec 20, 2013

Clear your memory card safely

Deleting a file in Win/Linux is almost like locking in a safe. It can be  retrieved from the drive easily with a recovery program as long as it is not overwritten by some other data.

Dec 15, 2013

Install simulavr from the source

An apt-get install simulavr will install a previous version of simulavr in Debian Wheezy which has no support for 'atmega328'. So it is better to install it from the latest source.

Nov 25, 2013

Add user into sudoers file, to give superuser permissions in debian wheezy

If you are getting an error message like this " is not in the sudoers file. This incident will be reported." when using commands with sudo in debian wheezy.
You can solve this by editing the /etc/sudoers file.

Sep 7, 2013

Download video/audio from youtube

There are different ways to download videos from youtube without any desktop/mobile applications.

Blogger template editing

The look and feel of the blogger template can be changed by editing the HTML and adding extra CSS into the blog template. In this blog I will explain some simple method to accomplish that.

Aug 29, 2013

Screen recorder for ubuntu

Screen recorder is a tool to record a computer screen output. There are several tools to do this. For Ubuntu/Debian there is recordmydesktop tool in the repository.

May 29, 2013

Burn bootloader with arduino as isp

The environment is Windows 7, arduino 1.0.5.
So I have an ATMEGA328 to which I need to upload the arduino bootloader. You can reprogram even if it is already bootloaded.

May 23, 2013

Profil.es - create a profile page

In my previous post I used Google app engine to create a profile page. I used python for development and GQL for datastore. Google app engine is extremely powerful scale able platform. But I wanted to learn from scratch how can I do this. Starting from Apache, php, mysql, installing them manually, and stuff like that..

profileapps - create a profile page with Google ID

I was thinking about designing a web application which can be used as a profile of us. A profile page which describe ourselves. What I had in mind was a single page profile. Not a social networking portal like MySpace.

May 22, 2013

php form with ajax post

You have a form in a page and  if you want to submit that form from the same page itself and display the result there itself without moving from the page then it is the post

May 2, 2013

Connect two PCs or laptops with LAN cable directly and transfer data in Linux/Windows

I connected two ubuntu laptops with an RJ45 cable directly and could login from one system to another  and transferred files. This procedure is for linux systems. It may works in windows also. Basic concept is same. The network settings has to be changed in network properties.

Apr 23, 2013

Why chrome is faster than Firefox or IE ?

Chrome connects and fetches data before you press enter or goto button.
This interesting fact I noticed when I was developing an embedded server with W5100 ethernet chip and Atmega328 microcontroller.

Little endian and Big endian - A real world example.

This post exemplifies how a little endian and a big endian processors are interfaced, What is little endian and what is big endian..

Jan 23, 2013

Redirect all urls to a single page index.php

When you create a web app if unwanted links or bad links you want to redirect to a script page ( for eg: php ). This is the method.

Jan 14, 2013

Install apache, php, mysql in ubuntu 10.04

Follow the steps to install apache2, php5, mysql in ubuntu 10.04. For root user sudo is not required. For other distributions of debian/ubuntu some minor changes may be there. But the procedure is same.

For Web Developer

  open -a "Google Chrome" --args --disable-web-security