Thursday, October 2, 2014

Ubuntu 14.04 Installed and Mac Theme

After Installing Ubuntu 14.04 LTS I just saw one blog post

http://www.noobslab.com/2014/04/macbuntu-1404-pack-is-released.html

To theme Ubuntu as mac.

After following the steps, I get this.





There was a video tutorial for making this

My Favourite Software to install on fresh Linux distro

 These are the list of software that I use on a Linux distro.

Recently I have migrated from elementary Linux to Ubuntu 14.04 LTS.

I use computer for browsing, programming(web development, micro controller, desktop applications ), watching some videos and sometimes graphics related works.
This list is not complete I will update as an when a new must have software I find.
System Software:
1) Grub customizer:
 This is the first software I install. I use dual boot for Windows 8.1 and Ubuntu. I want some fancy grub menu selector to switch between windows and Ubuntu.
 You may find the link here
 You can find some really good themes from http://kde-look.org/
 This is the theme I am using

Entertainment:
1) VLC: This is the best and my favourite video player. I use it in windows as well.
http://www.videolan.org/vlc/index.html
2)Google Chrome: I use both Chrome and firefox mainly to test the compatibility of the websites that I create.

Multimedia:
1)Blender: Fantastic 3d Software. I was amazed with this software.
2)GIMP: I find this alternate to Photoshop.
3)Inkscape: A beautiful vector graphics creator.

Web development:
1) git: I use gitlab as a version controller and source safe. This is an excellent alternative to github. Github too being used.
https://about.gitlab.com/
2)filezilla: When it comes to FTP this is the software that I prefer.
3) sublimetext: the alternative to notepad++ that I use in windows

Programming:
1) Android studio: This is alternate to eclipse for android development. recently I moved from eclipse to Android studio.
https://developer.android.com/sdk/installing/studio.html
2)JDK: for android studio require JDK to be inplace.
The version I used is here
3)SDCC: This is a compiler I use for Microchip pic micro controller programming.


Monday, June 23, 2014

Using php CURL get PNR status of Indian railways updated

Declaration and Warning: This is done just for example and I declare i do not have any intention to Create DOS, or it is not indented to harm http://indianrail.gov.in. I am ready to remove the post as well as hosted file if this is going to harm indianrail.gov.in in any way. I am not responsible for anyone using this code for any reason. Use this code at your own risk.
Note: The website is fixed no longer this api works This is an update of the post here
About the API details can be found from the older post.
The changed details are given here.

The final code is maintained in github now. You can find the code here.

What is changed:

1. Site now added Captcha hence captcha to be passed as parameter.
2. Code is provided with some comments.

How is is done is detailed below:

Friday, June 20, 2014

Pic Microcontroller Interfacing I2C SSPADD online calculator.


It is a must to set SSPADD value, when interfacing with I2C device with PIC micro controllers. 
The formula to calculate SSPADD is given below 
Where Fosc is the frequency of the crystal used in PIC micro eg: 20MHz. And Bit Rate is the desired  frequency for the I2C device.
The tool below can be used to calculate the SSPADD.

Crystal frequency :
Bit Rate for I2C    :

Result: In HEX = 0x31 , In Decimal = 49

Friday, January 17, 2014

Godaddy IIS Hosting URL redirection using web.config for SEO

For SEO it is very common for redirecting url.
The scenarios are
Redirecting non-www site to www
Redirecting a popular link which is removed to a new link.

The redirection module in IIS 7 in godaddy hosting is already installed. But I couldn't get support for doing these.

Redirection or rewrite rule is done using web.config. which is placed in the root folder of the website.

Lets take an example of site nirays.com

Thursday, January 16, 2014

Create an infinity mirror LED in simple way

Finally, I was able to create Infinity mirror LED effect.
Please see the YouTube video for the final product.




Saturday, December 21, 2013

Near Field Communication using Sony Xperia M

NFC

Recently I came across NFC Technology.

It is a radio communication technique.
This is becoming prominent in Smart phone communication. It is better than Blue tooth communication since this consumes less power.
The range is very limited, so to communicate, the devices shall touch each other.

Contributors