AWS Instances As on 17th April 2014

Raspberry PI and CherryMusic – Web Music Server

CherryMusic is a open source music streaming server that can play your personal music collection on almost any device with a web browser. It is written in python and is very light weight.

image

CherryMusic can be installed on Raspberry PI to create a personal web based music station that can be used on any device of our choice and be central repository of all the music you like.

So, below is the list of what we need to build our own personal music streaming server

1. Raspberry PI

2. PiBang Linux Server (Any Linux distro will do, I prefer Pi Bang based on Raspbian)

3. CherryMusic – Download it from here

Burn PiBang Server to SD card and boot your RPi.

Update Linux on RPI and install prerequisites for CherryMusic Server

apt-get update && apt-get -y upgrade && apt-get install -y imagemagick vorbis-tools lame flac python-mutagen

Use wget and download the latest CherryMusic Master branch from GitHub and unzip the master.zip assuming your RPi has internet access. If not you can download it to your computer and upload it to RPi.

Make a folder on your RPi and upload your music collection. I have it on /music folder

mkdir /music

now cd to unzipped CherryMusic folder and run below command to setup CherryMusic

python cherrymusic –setup –port 8080

image

Now point your browser to http://rpi-ipaddress:8080 and you will be presented with the below setup screen. Key in /music/ (or any other folder that has your music collection) in the Media base directory, leave the rest as defaults and click on Save Configuration and start CherryMusic

image

Wait for the Setup to complete, it would take few seconds

image

Once the setup is complete you will be greeted with the below login screen.

image

I have admin as the default username and password. Login and enjoy your music on all your devices. You can even port forward or NAT your RPi and listen to your collection anywhere as long as you are connected to internet

image

I was able to play music simultaneously on 4 different devices on my home wifi with no issue

1. Windows 8.1

2. Blackberry

3. Android

4. Acer Iconia Tablet

 

Reference

1. http://www.fomori.org/cherrymusic/Setup%20Guide.html

2. https://github.com/devsnd/cherrymusic/tree/master

3. http://raspberrypihelp.net/tutorials/44-raspberry-pi-cherrymusic-music-streaming

Note: Cross posted from Experience – Inspire – Contribute
Permalink

Your(ls) Own Short URL service on Raspberry Pi

Raspberry Pi a $35 credit-card sized computer is an excellent piece of hardware that can be used to run many of small workloads for personal use, learning and sometimes even for use at SMBs and Enterprises.

Yourls (Your Own URL Shortener) is a small PHP application which uses MySQL as DB to run our own URL shortening service similar to well known bit.ly and tinyurl.com

I Have been running Yourls on Ubuntu VM on Hyper-V with Apache HTTPD for an year now.

After getting Raspberry Pi wanted to shift Yourls to Raspberry Pi and due to limited resources available on RPi I chose NGINX webserver instead of Apache webserver to run Yourls.

This post is a walkthrough of working configuration to setup Yourls under 10 minutes on Raspberry Pi running NGINX webserver, PHP and MySQL.

My Setup – Hardware and Software details

1. Raspberry Pi Model B (512 MB RAM) connected to LAN

2. 4 GB Class 4 SD Card

3. PiBang Linux Server Edition

4. Windows 8.1 Laptop with Wifi

5. Putty

6. Win32 Disk Image

7. Cisco E1200 Wifi Router

8. Cable Broadband – 5 Mbps

Continue reading

Successful vs. Unsuccessful – Infographic

Though a year old infographic its worth sharing and referring for positive energy and focus

SuccessfulPersonvsUnsuccessfulPerson

Reference:

http://maryellentribby.com/

http://sayingimages.com/the-success-indicator-by-mary-ellen-tribby/

Note: Cross posted from Experience – Inspire – Contribute.
Permalink

Coding can Change the World – code.org

Code.org the site promoting programming can change the world we live in, found this today on TechNet.

image

A Short 5 minute video

It has quotes from famous people around the world not just entrepreneurs like Bill Gates and Mark but from people like NBA star  Chris Bosh, musician will.i.am and others.

Reference

1. http://blogs.technet.com/b/next/archive/2013/02/26/code-can-change-the-world.aspx#.US2ysBzrZMt

2. http://code.org

Note: Cross posted from Experience – Inspire – Contribute.
Permalink

BYOD and COPE – View of a Corporate Geek

BYOD – Bring Your Own Device as a term has become popular because of mobile device proliferation like tablets and smartphones, complimenting technologies like VDI (Virtual Desktop Infrastructure) and work from home.

Its all about how we deal with it, there should be an appropriate balance between productivity gain on one hand, security risks and support costs on the other.

Think, it is like allowing students to bring their own devices to school.

BYOD = Bring Your Own Distraction and comes with MBTY (Mine is Better than Yours) syndrome and needs MDM (Mobile device Management) to be implemented.

BYOD makes sense, only if VDI (Virtual Desktop Infrastructure) is implemented or custom apps are developed for various mobile platforms as part of BYOD strategy and enterprise mobility in order to secure corporate data and meet compliance

Tablets and smartphones enable top management and personal of a company on the field access, mails, data, reports, approvals to take quick business decisions. It does not help heavy duty workforce.

Ever heard of developing an app for a tablet on another tablet or preparing a proposal for a customer on a mobile ? Though technically possible its just time wasting.

And in corporate world Time = Money

Implementing BYOD also asks for multiple expensive technology upgrades in datacentres, app development, network, security and management of devices and appliances.

The main reason to embrace BYOD is to help reduce corporate expenses. But most of the time companies fully reimburse the price of the device and related service, making BYOD more expensive in long run.

Companies can incur wasted bandwidth costs, with at least 30 to 50 % consumed by personal apps needless to mention massive amounts of data consumed by auto application and game updates.

Facilities department need to provision PowerPoint’s, upgrade UPS to charge all those personal devices and pay for the increased power consumption, as all these mobile devices are not complete replacement for desktops and laptops at least in todays world.

Security department will have tough time identifying personal devices and corporate devices.

BYOD places new burdens on IT as it tries to deal with an infinite variety of platforms and profiles. Though in theory BYOD allows end user to bring in his/her choice of device on to corporate network, in practice companies release a set of devices from which employee

has to choose one or more. Basically this is to reduce support costs.

This has made many companies to be with or think of COPE – Corporate Owned, Personally Enabled

BYOD – lets corporate data reside on employees Personal Devices opening doors to many security risks and increased support costs.

COPE – allows employee personal data on Corporate Devices – Its just a new term for what many of us already do🙂 . It also allows corporates enjoy bulk discounts making CFOs happy.

Technically BYOD is a great concept, but as with any technology, productivity gains along with ROI (Return On Investment) and TCO (Total Cost of Ownership) decides the fate of it in any company.

To some extent many companies already implemented both BYOD and COPE. They have provision to allow mails, and other messaging services to be accessed on Employee personal mobile devices like smartphones and tablets. Users install cloud sync tools like Box, SkyDrive, Google drive, Dropbox and others to sync official data to cloud and access them on their personal devices, though with certain restrictions. To some extent they allow personal devices to be connected to office network. Few users with certain privileges may also copy data onto their personal external USB Disks and copy office data onto NAS or personal computer on home network. Users connect their mobile devices and install related software on company provided systems. Few even install software of their own interest, download what they like. They also store their personal data like documents, photos, videos and music on office systems, access internet to check personal mails, visit social networks.

I personally feel, it is Good to take benefits and implement best of BYOD and COPE worlds, bring in suitable corporate policies for both.

What do you think ?

Now Just For FunSmile

BYOD

From cloudtweaks.com

 

Disclaimer: Just to make sure things are clear, this is a personal blog and opinions, thoughts, plans, intentions and strategies expressed here are my own and do not reflect the views of people or any other organization with whom I had worked or working or would work with. As any human being, various thoughts keep running in my head and my opinions vary from time to time solely based on developments and experiences over the period of time, and any such thoughts and opinions published here might change in future. You are free to use comment section below to express if I sound stupid to you, however please note that all comments are moderated. Thank you for your time.

Note: Cross posted from Experience – Inspire – Contribute.
Permalink

Ubuntu for Phone – Future OS to rule them all

imageMark Richard Shuttleworth, entrepreneur, founder of Canonical Ubuntu, the famous Open Source Linux Distribution and second self funded space tourist and first from Africa has recently announced Ubuntu for Phone, with a vision of building ONE OS to run on all devices ranging from Smartphone, PCs, Televisions, Tablets to super computers and cloud.

 

As per the announcement by Mark, phones based on Ubuntu for Phone should be available in the market somewhere during last quarter of 2013 or first quarter of 2014

image

Highlights of Ubuntu for Phone

1. No buttons on the phone

2. Runs the Same proven Ubuntu Linux with familiar User Interface

3. Perform quick actions and navigate using Edges

4. Complete Compatibility with Android Hardware, big plus here for the OEMs.

5. Unified Global Search

6. Clean and Organized UI

7. Evolving Welcome Screen and No Lock Screen (No idea why and how is it secure)

 

Below is the video Keynote by Mark announcing Ubuntu for Phone with the demo

Skip to 5:20 for Ubuntu for Phone Demo

The idea of Ubuntu for Phone is to build an entire ecosystem with Smartphone at the centre which transforms itself into a different device with a different role but with same content and features. Just plugin phone onto a dock in the office to convert it into a pc, or dock it at home to convert it into a TV.

Hardware specs of the Smartphones available today have the potential to make this idea a reality.

Video shows the concept with respect to Ubuntu for Android

Imagine a day in future when the alarm on your smartphone wakes you up, downloads and provides you updated news while you get ready to office, play music on the way or voice records many ideas that float in mind, docks onto a station on your desk to convert into a PC to work on ideas recorded or connect to a virtual desktop or prepare a presentation, undock your phone, turn on GPS and maps for directions to the client’s office, get into a meeting room, connect phone to a dock to project the presentation, undock it, drive home, connect to a dock near the TV and select your favourite program to play, when time to bed pull out the phone insert it to a tablet to read your favourite ebook and slip into sleep and best of all no need to close or save any application in this journey all day.

Video shows the concept with respect to Ubuntu for Android

Based on proven free and open source Linux Kernel, which powers every kind of device ranging from embedded systems to top of the list supercomputers and clouds, Ubuntu for Phone has the potential to make this dream a reality.

If done right, Ubuntu for Phone would definitely be a big hit in enterprise segment where BYOD is picking up and where IT department has to deal with devices growing in numbers every day

PS: Pair with Lenovo’s 4 screen strategy and there would be nothing much to ask for

So what do you think ? Please do share your view in the comments Smile

Reference:

More about Ubuntu for Phone design and features here

Know more about Mark Richard Shuttleworth here

Disclaimer: Just to make sure things are clear, this is a personal blog and opinions, thoughts, plans, intentions and strategies expressed here are my own and do not reflect the views of people or any other organization with whom I had worked or working or would work with. As any human being, various thoughts keep running in my head and my opinions vary from time to time solely based on developments and experiences over the period of time, and any such thoughts and opinions published here might change in future. You are free to use comment section below to express if I sound stupid to you, however please note that all comments are moderated. Thank you for your time.

Note: Cross posted from Experience – Inspire – Contribute.
Permalink