Friday, February 16, 2018

Install Skype in Ubuntu

Open Terminal

Type the command
wget https://repo.skype.com/latest/skypeforlinux-64.deb

Above command will download Skype to your device.

To unzip and install use following commands

sudo dpkg -i skypeforlinux-64.deb
sudo apt install -f

Monday, January 30, 2017

Raspberry Pi - Display Resolution change

Check the supported modes using command tvservice

pi@raspberrypi:~ $ tvservice -m DMT
Group DMT has 1 modes:
           mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive
pi@raspberrypi:~ $ tvservice -m CEA
Group CEA has 2 modes:
           mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
  (prefer) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive

DMT - Monitor mode support only Mode 4

CEA - TV Mode support 4 and 16

Update same in the /boot/config.txt file

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1 ### HDMI_GROUP = 1 means Group CEA for Grop DMT, the value is 2
hdmi_mode=16  




Tweet from Raspberry Pi - Raspbian OS


Install and configure components

sudo apt-get install python-pip
sudo pip install twython
sudo pip install requests requests_oauthlib

Python Code:

from twython import Twython

APP_KEY=' '
APP_SECRET=''
OAUTH_TOKEN=''
OAUTH_TOKEN_SECRET=''

twitter = Twython(APP_KEY,APP_SECRET,OAUTH_TOKEN,OAUTH_TOKEN_SECRET)

strTweet = 'Hi..!!'
twitter.update_status(status=strTweet)

Raspberry Pi - GPIO (Button Down Input, LED Output)

This code will take button press down input from GPIO pin 11 and LED output to pin 15.

BreadBoard Setup
PIN Mapping
Pi 11 = Wedge GP17
Pi 15 = Wedge GP22

Python Code:
import RPi.GPIO as GPIO

GPIO.setmode(GPIO.BOARD)

GPIO.setup(11,GPIO.IN,pull_up_down=GPIO.PUD_DOWN)

GPIO.setup(15,GPIO.OUT)
GPIO.output(15,0)

try:
    while True:
        if(GPIO.input(11) == 1):
            GPIO.output(15,1)
        else:
            GPIO.output(15,0)

except KeyboardInterrupt:
    GPIO.cleanup()

Wednesday, January 25, 2012

Inspirational Steve Jobs Quotes

"Design is not just what it looks like. Design is how it works." -- Steve Jobs




"If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on." -- Steve Jobs

"We don't get a chance to do that many things, and every one should be really excellent. Because this is our life." -- Steve Jobs

"When I was 17,I read a quote that went something like: "If you live each day as if it was your last, someday you'll most certainly be right." It made an impression on me, and since then, for the past 33 years, I have looked in the mirror every morning and asked myself: "if today were the last day of my life, would I want to do what I am about to do today?" And whenever the answer has been "No" for too many days in a row, I know I need to change something." -- Steve Jobs





"You can't connect the dots looking forward; you can only connect them looking backward. So you have to trust that the dots will somehow connect in your future. You have to trust in something - your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life." -- Steve Jobs

"Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose." -- Steve Jobs

"Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma - which is living with the results of other people's thinking. Don't let the noise of other's opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary." -- Steve Jobs

"I'm convinced that about half of what separates the successful entrepreneurs from the non-successful ones is pure perseverance." -- Steve Jobs



"That's been one of my mantras - focus and simplicity. Simple can be harder than complex; you have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains." -- Steve Jobs

"My model for business is The Beatles: They were four guys that kept each other's negative tendencies in check; they balanced each other. And the total was greater then the sum of the parts." -- Steve Jobs

"You can't just ask customers what they want and then try to give that to them. By the time you get it built, they'll want something new." -- Steve Jobs

"Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful, that's what matter to me." -- Steve Jobs

"No one wants to die. Even people who want to go to heaven don't want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because death is very likely the single best invention of life. It is life's change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true." -- Steve Jobs

"I want to put a ding in the universe." -- Steve Jobs

Thursday, October 27, 2011

10 strategic technologies for 2012

A strategic technology is one with the potential for significant impact on the enterprise in the next three years, according to research firm Gartner. Factors that denote significant impact include a high potential for disruption to IT or the business, the need for a major dollar investment, or the risk of being late to adopt.

A strategic technology may be an existing technology that has matured and/or become suitable for a wider range of uses. It may also be an emerging technology that offers an opportunity for strategic business advantage for early adopters or with potential for significant market disruption in the next five years. These technologies impact the organization's long-term plans, programs and initiatives.

Gartner recently named top 10 strategic technologies for 2012.

Media tablets and beyond

Users can choose between various form factors when it comes to mobile computing. No single platform, form factor or technology will dominate and companies should expect to manage a diverse environment with two to four intelligent clients through 2015.

IT leaders need a managed diversity programme to address multiple form factors, as well as employees bringing their own smartphones and tablet devices into the workplace.

Enterprises will have to come up with two mobile strategies - one to address the business to employee (B2E) scenario and one to address the business to consumer (B2C) scenario

Mobile-centric applications and interfaces

The user interface (UI) paradigm in place for more than 20 years is changing. UIs with windows, icons, menus, and pointers will be replaced by mobile-centric interfaces emphasizing touch, gesture, search, voice and video. Applications themselves are likely to shift to more focused and simple apps that can be assembled into more complex solutions. These changes will drive the need for new user interface design skills.

Contextual and social user experience

Context-aware computing uses information about an end-user or objects environment, activities, connections and preferences to improve the quality of interaction with that end-user or object. A contextually-aware system anticipates the user's needs and proactively serves up the most appropriate and customized content, product or service.

Context can be used to link mobile, social, location, payment and commerce. It can help build skills in augmented reality, model-driven security and ensemble applications. Through 2013, context aware applications will appear in targeted areas such as location-based services, augmented reality on mobile devices, and mobile commerce.

On the social front, the interfaces for applications are taking on the characteristics of social networks. Social information is also becoming a key source of contextual information to enhance delivery of search results or the operation of applications.

Internet of Things

The Internet of Things (IoT) is a concept that describes how the Internet will expand as sensors and intelligence are added to physical items such as consumer devices or physical assets and these objects are connected to the Internet.

The vision and concept have existed for years, however, there has been an acceleration in the number and types of things that are being connected and in the technologies for identifying, sensing and communicating.

These technologies are reaching critical mass and an economic tipping point over the next few years. Key elements of the IoT include: embedded sensors, image recognition and Near Field Communication (NFC) payment.


App stores and marketplaces

Application stores by Apple and Android provide marketplaces where hundreds of thousands of applications are available to mobile users. Gartner forecasts that by 2014, there will be more than 70 billion mobile application downloads from app stores every year.

This will grow from a consumer-only phenomena to an enterprise focus. With enterprise app stores, the role of IT shifts from that of a centralized planner to a market manager providing governance and brokerage services to users and potentially an ecosystem to support entrepreneurs. Enterprises should use a managed diversity approach to focus on app store efforts and segment apps by risk and value.


Next-generation analytics

Analytics is growing along three key dimensions: From traditional offline analytics to in-line embedded analytics. From analyzing historical data to explain what happened to analyzing real-time data from multiple systems.

Over the next three years, analytics will mature along a third dimension, from structured and simple data analyzed by individuals to analysis of complex information of many types (text, video, etc...) from many systems supporting a collaborative decision process that brings multiple people together to analyze, brainstorm and make decisions.

Big data

The size, complexity of formats and speed of delivery exceeds the capabilities of traditional data management technologies; it requires the use of new or exotic technologies simply to manage the volume alone. Many new technologies are emerging, with the potential to be disruptive (eg, in-memory DBMS). Analytics has become a major driving application for datawarehousing, with the use of MapReduce outside and inside the DBMS, and the use of self-service data marts.


In-memory computing

Gartner sees huge use of flash memory in consumer devices, entertainment equipment and other embedded IT systems. In addition, it offers a new layer of the memory hierarchy in servers that has key advantages - space, heat, performance and ruggedness among them.

Besides delivering a new storage tier, the availability of large amounts of memory is driving new application models. In-memory applications platforms include in-memory analytics, event processing platforms, in-memory application servers, in-memory data management and in-memory messaging.


Extreme low-energy servers

The adoption of low-energy servers -- the radical new systems being proposed, announced and marketed by mostly new entrants to the server business -- will take the buyer on a trip backward in time. These systems are built on low-power processors typically used in mobile devices. The potential advantage is delivering 30 times or more processors in a particular server unit with lower power consumption vs. current server approaches. The new approach is well suited for certain non-compute intensive tasks such as map/reduce workloads or delivery of static objects to a website.


Cloud computing

Cloud is a disruptive force and has the potential for broad long-term impact in most industries. While the market remains in its early stages in 2011 and 2012, it will see the full range of large enterprise providers fully engaged in delivering a range of offerings to build cloud environments and deliver cloud services. Oracle, IBM and SAP all have major initiatives to deliver a broader range of cloud services over the next two years.




-- Text courtesy: Time of India

Wednesday, September 28, 2011

Share iOS App without App Store for Testing

The process of sharing iOS App to friends for testing is done using AdHoc build, which your friends can install on their iOS device.

The Process is little complicated, which is as follows.

Step 1: Go to Provisioning portal of Apple Developer Center (ADC) and register the device IDs of your friends. The Device ID can get from iTunes after connecting the device and by clicking on the "Serial Number" field.

Step 2: Generate a distribution certificate for ad hoc distribution in the Provisioning Portal under Provisioning -> Distribution

Step 3: Download that certificate yourself (the .mobileprovision file) and install it into Xcode by dragging it on the Xcode icon.

Step 4: Duplicate your "Release" build setting in Xcode for an Ad Hoc build. Everything should be the same as Release, except in the "Code Signing" section you will want to select the new Ad Hoc profile generated in step 3.

Step 5: Make an Ad Hoc build by going to Build -> Build and Archive

Step 6: When Xcode brings up the organizer window, right click on the archived build and make a .ipa file by saving it to disk

Step 7: Tell your friends to drag the mobile provisioning profile to the iTunes icon (or with File -> Open for windows users) to install it on their phone.

Step 8: Tell your friends to drag the .ipa file you made into iTunes, and sync their phones


At this point, the app should be installed on their phone, but lots of things can go wrong, so you should definitely read Apple's documentation on the subject as well.

Note that this procedure won't work unless your friends are using iTunes to sync applications with their phones. Also, as noted, you will need to be a paying developer in ADC to even access any of the Provisioning Portal stuff.