cloud, raspberry-pi

2tb storage cloud storge and media server with pi

2tb storage cloud storge and media server with pi

hi there, 2tb storage cloud storge and media server with pi in cost of
5880 Rs = 2tb-disk
1450 RS = sata to usb 3.0
3000 Rs = pi
700 Rs = power supply
750 Rs = hdmi
700 Rs = 32GB Memory card
550 Rs = Fan & power supply
1800 Rs = Router 300N
90 Rs = Ethernet cable
=14920 Rs

and I can say I saved a lot of money not buying a costly media server for home and made it myself. Just happy its ready to dance. So many ideas I have thought to work on. Will be posting about them soon. And I tried this server with HD movie it just showed a little flicker in one of the 4 little cores. I couldn’t believe it could handle that much load. So I hope for personal use I wont have to face crashing. It is having a nice fan attached for air suction. Guy u can comment if u got any questions.

Common

Reset lost admin password for Raspberry Pi

Reset lost admin password for Raspberry Pi

Reset lost admin password for Raspberry Pi-Raspberry Pis are great, but sometimes their ability to keep running in the background can lead to forgotten root passwords. I’ve had more than one time where I was sure I knew the root password, only to learn that I had forgotten.

Luckily, Raspberry Pi has a “feature” that most Linux machines don’t: very easily removable primary storage. Continue reading

java

Different ways to create objects in Java

Different ways to create objects in Java

This is a trivia. Yeah, it’s a bit tricky question and people often get confused. I had searched a lot to get all my doubts cleared.

There are four different ways (I really don’t know is there a fifth way to do this) to create objects in java:

1. Using new keyword
This is the most common way to create an object in java. I read somewhere that almost 99% of objects are created in this way.

MyObject object = new MyObject();

2. Using Class.forName()
If we know the name of the class & if it has a public default constructor we can create an object in this way. Continue reading