<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\758211560\46blogName\75Tech+Tips,+Tricks+%26+Trivia\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75BLUE\46layoutType\75CLASSIC\46searchRoot\75http://mvark.blogspot.com/search\46blogLocale\75en\46v\0752\46homepageUrl\75http://mvark.blogspot.com/\46vt\75-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
A seasoned developer's little discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks

This Week I Learned - Week #99

Saturday, February 28, 2015
This Week I Learned:

* The Azure portal now joins the  list of sites that support keyboard shortcuts

Azure’s Key Vault helps customers safeguard and control keys and secrets using Hardware Security Modules (HSMs) in the cloud.

Michele Leroux Bustamante recommends migrating Cloud Services (which may use Worker Roles) to Azure Web Sites. WebJobs can help Azure Web Sites read from a Queue & replace the need for a Worker Role. WebJobs has the advantage that the history of jobs running can be maintained.

The Microsoft Band fitness tracker is platform neutral, Office has been opened up to all Cloud services to fight back against iWork, iCloud, Docs and Drive.

RWD (Responsive Web Design) and performance CAN play well together

* ELSS schemes of mutual fund has given an average return of 66% in last year and 26% in last 3 years, turning the maximum 80c limit of Rs. 1.5 lakh into Rs. 2.49 lakh and Rs. 3.00 lakh rupees respectively

* Peanut allergies—which appear to have quadrupled in the last two decades and now cost billions of dollars to accommodate—seem to be preventable with a simple, counterintuitive measure: eating peanuts - The Atlantic

* American Sniper, based on Chris Kyle's memoir about his four tours of duty in Iraq, has so far earned more than $320 million to become the highest grossing war film in history.


This Week I Learned - Week #98

Saturday, February 21, 2015
This Week I Learned:

Microsoft's Power BI cloud service provides a free option for non technical business users to build dashboards & perform natural language querying against a variety of datasets. Its preview is currently only available to users in the United States.
Batarang is a WebInspector Extension for Chrome which integrates with Chrome developer tools and provides interesting interesting insights into your AngularJS application.

* Viewport units (vh, vw, vmin, vmax) are supported in most modern browsers. They can used for sizing things relative to the viewport size, a brilliant proposition for responsive design.

If you've got example.com/something AND www.example.com/something both serving up the same content, consider "canonicalizing" your URLs. You can do this with rel="canonical" in your META tags, but that only hides the problems and makes the Googlebot happy. Instead, why not PICK ONE and serve a 301 redirect to the other?

Google accounts for three-quarters of the world’s web searches. About 90 percent of Google’s revenue is from ads, most of that on its search engine. It generated $14.4 billion in profits in 2014. In 2014, Google sold about $45 billion in search ads, a slice of the $550 billion global advertising market - NY Times

A BBC documentary series classifies overweight people into 3 categories and suggests a personalized diet plan according to their category. It recommends that Feasters eat a high protein, low GI food ( carbs like beans, cereals that are slowly released  rather than rice, bread), Constant Cravers undergo intermittent fasting (fasting causes ketones in urine indicating that fat is burnt) and Emotional Eaters seek group support for encouragement to overcome stress

* The Ramappa Temple near Warangal is named after its sculptor. It is a medieval temple where Shiva is worshipped.

* "What we learn with pleasure we never forget." - Louis Mercier


HOW TO extract images from a MS Word document all at once

Wednesday, February 18, 2015
MS Word has a Screen Clipping feature that makes it easy to grab only a part of a frame of a video or any content from a window that is open.
I use this feature extensively while watching video tutorials & jotting notes.

If you have to extract only the images, you can right click on each image & select "Save as Picture" but if you want them in bulk all at once, follow these steps:

1. Close Word & convert the extension of the file containing the images from .docx to .zip. One way to convert is by using DOS rename command -
ren somefile.docx somefile.zip 

2. A Word .docx file is in fact a compressed file so if you extract the renamed zip file, you will see a bunch of folders & files. The images in the document are in a folder called media under the folder word

3. All the images under the media folder start with the word "image" followed by a number and have a .tmp extension. You can change the extension of all the files using a command like this at the DOS Command Prompt -
ren image*.tmp *.jpg

You can provide a valid image file extension in the file rename command


Microsoft Azure vs Amazon Web Services - Slides from the MS Webinar

Slides from the informative webinar on "Microsoft Azure v/s Amazon Web Services" presented by Sandeep Alur, Lead Evangelist, Microsoft India

Related: Official Azure website: Azure vs.Amazon Web Services


Bing "Instant Answers" can tell what date a festival falls on

Monday, February 16, 2015
The dates on which Hindu festivals occur may vary each year just like it happens for other celebratory holiday events like Mother's Day (which happens on the second Sunday in May in the US but is celebrated on different days of the year in other countries). A quick way to know the exact date is to ask Bing.
Bing "Instant Answers" can provide a direct answer for certain keywords.
The Bing "Instant Answers" feature which provides direct answers can be utilized programatically through the Bing API